diff options
author | Martin Hicks <mort@bork.org> | 2005-09-03 18:54:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 03:05:44 -0400 |
commit | 53e9a6159fdc6419874ce4d86d3577dbedc77b62 (patch) | |
tree | 7c7f15325569cf5e02dafc1974fb080154616058 /mm/page_alloc.c | |
parent | bce5f6ba340b09d8b29902add204bb95a6d3d88b (diff) |
[PATCH] VM: zone reclaim atomic ops cleanup
Christoph Lameter and Marcelo Tosatti asked to get rid of the
atomic_inc_and_test() to cleanup the atomic ops in the zone reclaim code.
Signed-off-by: Martin Hicks <mort@sgi.com>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 620aa11b24eb..d157dae8c9f3 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1909,7 +1909,7 @@ static void __init free_area_init_core(struct pglist_data *pgdat, | |||
1909 | zone->nr_scan_inactive = 0; | 1909 | zone->nr_scan_inactive = 0; |
1910 | zone->nr_active = 0; | 1910 | zone->nr_active = 0; |
1911 | zone->nr_inactive = 0; | 1911 | zone->nr_inactive = 0; |
1912 | atomic_set(&zone->reclaim_in_progress, -1); | 1912 | atomic_set(&zone->reclaim_in_progress, 0); |
1913 | if (!size) | 1913 | if (!size) |
1914 | continue; | 1914 | continue; |
1915 | 1915 | ||