diff options
Diffstat (limited to 'mm/swap.c')
-rw-r--r-- | mm/swap.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -34,9 +34,9 @@ | |||
34 | /* How many pages do we try to swap or page in/out together? */ | 34 | /* How many pages do we try to swap or page in/out together? */ |
35 | int page_cluster; | 35 | int page_cluster; |
36 | 36 | ||
37 | static DEFINE_PER_CPU(struct pagevec, lru_add_pvecs) = { 0, }; | 37 | static DEFINE_PER_CPU(struct pagevec, lru_add_pvecs); |
38 | static DEFINE_PER_CPU(struct pagevec, lru_add_active_pvecs) = { 0, }; | 38 | static DEFINE_PER_CPU(struct pagevec, lru_add_active_pvecs); |
39 | static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs) = { 0, }; | 39 | static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs); |
40 | 40 | ||
41 | /* | 41 | /* |
42 | * This path almost never happens for VM activity - pages are normally | 42 | * This path almost never happens for VM activity - pages are normally |
@@ -493,7 +493,7 @@ EXPORT_SYMBOL(pagevec_lookup_tag); | |||
493 | */ | 493 | */ |
494 | #define ACCT_THRESHOLD max(16, NR_CPUS * 2) | 494 | #define ACCT_THRESHOLD max(16, NR_CPUS * 2) |
495 | 495 | ||
496 | static DEFINE_PER_CPU(long, committed_space) = 0; | 496 | static DEFINE_PER_CPU(long, committed_space); |
497 | 497 | ||
498 | void vm_acct_memory(long pages) | 498 | void vm_acct_memory(long pages) |
499 | { | 499 | { |