diff options
author | Minchan Kim <minchan.kim@gmail.com> | 2011-05-11 15:13:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-11 18:50:44 -0700 |
commit | bad49d9c89d8755a1289d68e6d0127a6ee79e119 (patch) | |
tree | cae49afedfa97a2ba02dd4e7987e469a60fa2b65 /include/linux/bootmem.h | |
parent | 52cd4e5c620af9e21b5298bf01844b98573505a7 (diff) | |
download | linux-bad49d9c89d8755a1289d68e6d0127a6ee79e119.tar.gz linux-bad49d9c89d8755a1289d68e6d0127a6ee79e119.tar.bz2 linux-bad49d9c89d8755a1289d68e6d0127a6ee79e119.zip |
mm: check PageUnevictable in lru_deactivate_fn()
The lru_deactivate_fn should not move page which in on unevictable lru
into inactive list. Otherwise, we can meet BUG when we use
isolate_lru_pages as __isolate_lru_page could return -EINVAL.
Reported-by: Ying Han <yinghan@google.com>
Tested-by: Ying Han <yinghan@google.com>
Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Rik van Riel<riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/bootmem.h')
0 files changed, 0 insertions, 0 deletions