diff options
| author | 2006-09-29 02:01:26 -0700 | |
|---|---|---|
| committer | 2006-09-29 09:18:23 -0700 | |
| commit | 3f9e7949f86dfe2bd9a1ad0604f78e7683c059de (patch) | |
| tree | af710aa375e0f641ceec1bf7d4002ef33beeb571 /include/linux/module.h | |
| parent | [PATCH] call mm/page-writeback.c:set_ratelimit() when new pages are hot-added (diff) | |
| download | linux-dev-3f9e7949f86dfe2bd9a1ad0604f78e7683c059de.tar.xz linux-dev-3f9e7949f86dfe2bd9a1ad0604f78e7683c059de.zip | |
[PATCH] valid_swaphandles() fix
akpm draws my attention to the fact that sysctl(VM_PAGE_CLUSTER) might
conceivably change page_cluster to 0 while valid_swaphandles() is in the
middle of using it, leading to an embarrassingly long loop: take a local
snapshot of page_cluster and work with that.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/module.h')
0 files changed, 0 insertions, 0 deletions
