diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-04-11 22:56:59 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-11 22:56:59 -0700 |
| commit | af70f7673155616ffd004d551e1b612002a58bf0 (patch) | |
| tree | fab54aaed9271a33433062bb9295be7fe1fa9ed4 /kernel | |
| parent | 7860b37198b0650f51bfafebac820386b552a071 (diff) | |
[PATCH] Fix page allocator lower zone protection for NUMA
From: Martin Hicks <mort@wildopensource.com>
This changes __alloc_pages() so it uses precalculated values for the "min".
This should prevent the problem of min incrementing from zone to zone across
many nodes on a NUMA machine. The result of falling back to other nodes with
the old incremental min calculations was that the min value became very
large.
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index f5f3123b0522..f2c8c8ce4926 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -722,7 +722,7 @@ static ctl_table vm_table[] = { .data = &sysctl_lower_zone_protection, .maxlen = sizeof(sysctl_lower_zone_protection), .mode = 0644, - .proc_handler = &proc_dointvec_minmax, + .proc_handler = &lower_zone_protection_sysctl_handler, .strategy = &sysctl_intvec, .extra1 = &zero, }, |
