mm/page_alloc.c: fix indentation
zlc_setup(): handle jiffies wraparound
(10ed273f50
) changes tab with spaces
Signed-off-by: S.Caglar Onur <caglar@pardus.org.tr>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Cc: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7edf85aa3c
commit
f05111f501
|
@ -1284,7 +1284,7 @@ static nodemask_t *zlc_setup(struct zonelist *zonelist, int alloc_flags)
|
||||||
if (!zlc)
|
if (!zlc)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (time_after(jiffies, zlc->last_full_zap + HZ)) {
|
if (time_after(jiffies, zlc->last_full_zap + HZ)) {
|
||||||
bitmap_zero(zlc->fullzones, MAX_ZONES_PER_ZONELIST);
|
bitmap_zero(zlc->fullzones, MAX_ZONES_PER_ZONELIST);
|
||||||
zlc->last_full_zap = jiffies;
|
zlc->last_full_zap = jiffies;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue