]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - mm/page_alloc.c
[PATCH] VM: fix zone list restart in page allocatate
authorJens Axboe <axboe@suse.de>
Thu, 17 Nov 2005 20:35:02 +0000 (21:35 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 17 Nov 2005 20:43:01 +0000 (12:43 -0800)
commit6b1de9161e973bac8c4675db608fe4f38d2689bd
tree3ab6aaad7d22dcb7a00a339b8b49c2f5b2ecc12d
parentbb833986674ce1fc1b237b3d81459511ad2df393
[PATCH] VM: fix zone list restart in page allocatate

We must reassign z before looping through the zones kicking kswapd,
since it will be NULL if we hit an OOM condition and jump back to the
beginning again. 'z' is initially assigned before the restart: label. So
move the restart label up a little.

Signed-off-by: Jens Axboe <axboe@suse.de>
mm/page_alloc.c