Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11320
b: refs/heads/master
c: e46a5e2
h: refs/heads/master
v: v3
  • Loading branch information
Seth, Rohit authored and Linus Torvalds committed Oct 30, 2005
1 parent ff38810 commit 32d993c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: ba56e91c940146e99ac694c4c7cd7f2b4aaa565d
refs/heads/master: e46a5e28c201f703c18b47b108bfddec44f897c4
4 changes: 2 additions & 2 deletions trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,7 @@ inline void setup_pageset(struct per_cpu_pageset *p, unsigned long batch)

pcp = &p->pcp[0]; /* hot */
pcp->count = 0;
pcp->low = 2 * batch;
pcp->low = 0;
pcp->high = 6 * batch;
pcp->batch = max(1UL, 1 * batch);
INIT_LIST_HEAD(&pcp->list);
Expand All @@ -1764,7 +1764,7 @@ inline void setup_pageset(struct per_cpu_pageset *p, unsigned long batch)
pcp->count = 0;
pcp->low = 0;
pcp->high = 2 * batch;
pcp->batch = max(1UL, 1 * batch);
pcp->batch = max(1UL, batch/2);
INIT_LIST_HEAD(&pcp->list);
}

Expand Down

0 comments on commit 32d993c

Please sign in to comment.