commit | 2a1dc509747fdcfdf3a2df818a14908aed86c3d4 | [log] [tgz] |
---|---|---|
author | Johannes Weiner <hannes@saeurebad.de> | Mon Dec 01 03:00:35 2008 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Dec 01 07:58:06 2008 -0800 |
tree | 4dd97b3090d314b42f793a48251497f34835a5e8 | |
parent | 33b07db9f38fe73b3895f8d4db8fdee03e3afec3 [diff] |
vmscan: protect zone rotation stats by lru lock The zone's rotation statistics must not be accessed without the corresponding LRU lock held. Fix an unprotected write in shrink_active_list(). Acked-by: Rik van Riel <riel@redhat.com> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Johannes Weiner <hannes@saeurebad.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>