Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105340
b: refs/heads/master
c: f84f950
h: refs/heads/master
v: v3
  • Loading branch information
Vegard Nossum authored and Linus Torvalds committed Jul 24, 2008
1 parent be8c6d2 commit 0dc176a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 27ac792ca0b0a1e7e65f20342260650516c95864
refs/heads/master: f84f9504bddeec33a72d64ebe95143d3aaeb3f9b
8 changes: 4 additions & 4 deletions trunk/mm/swap.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
/* How many pages do we try to swap or page in/out together? */
int page_cluster;

static DEFINE_PER_CPU(struct pagevec, lru_add_pvecs) = { 0, };
static DEFINE_PER_CPU(struct pagevec, lru_add_active_pvecs) = { 0, };
static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs) = { 0, };
static DEFINE_PER_CPU(struct pagevec, lru_add_pvecs);
static DEFINE_PER_CPU(struct pagevec, lru_add_active_pvecs);
static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);

/*
* This path almost never happens for VM activity - pages are normally
Expand Down Expand Up @@ -493,7 +493,7 @@ EXPORT_SYMBOL(pagevec_lookup_tag);
*/
#define ACCT_THRESHOLD max(16, NR_CPUS * 2)

static DEFINE_PER_CPU(long, committed_space) = 0;
static DEFINE_PER_CPU(long, committed_space);

void vm_acct_memory(long pages)
{
Expand Down

0 comments on commit 0dc176a

Please sign in to comment.