diff options
author | Andrew Morton <akpm@osdl.org> | 2006-05-15 09:43:59 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-15 11:20:55 -0700 |
commit | ac924c6034d9095f95ee889f7e31bbb9145da0c2 (patch) | |
tree | 2db4fc64a008ff2b81a0faf381d8c21ccc5006b2 /drivers | |
parent | 5afdbd6e84c7fbdaa7cfde4cbee0d3a5f4f56da2 (diff) | |
download | op-kernel-dev-ac924c6034d9095f95ee889f7e31bbb9145da0c2.zip op-kernel-dev-ac924c6034d9095f95ee889f7e31bbb9145da0c2.tar.gz |
[PATCH] setup_per_zone_pages_min() overflow fix
As pointed out in http://bugzilla.kernel.org/show_bug.cgi?id=6490, this
function can experience overflows on 32-bit machines, causing our response to
changed values of min_free_kbytes to go whacky.
Fixing it efficiently is all too hard, so fix it with 64-bit math instead.
Cc: Ake Sandgren <ake.sandgren@hpc2n.umu.se>
Cc: Martin Bligh <mbligh@google.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions