diff options
author | 2011-01-13 15:46:29 -0800 | |
---|---|---|
committer | 2011-01-13 17:32:38 -0800 | |
commit | 4e9f64c42d0ba5eb0c78569435ada4c224332ce4 (patch) | |
tree | 71df9e94a7f400755bd9ae02ed0c183e429f91cf /mm/pgtable-generic.c | |
parent | thp: ksm: free swap when swapcache page is replaced (diff) | |
download | wireguard-linux-4e9f64c42d0ba5eb0c78569435ada4c224332ce4.tar.xz wireguard-linux-4e9f64c42d0ba5eb0c78569435ada4c224332ce4.zip |
thp: fix bad_page to show the real reason the page is bad
page_count shows the count of the head page, but the actual check is done
on the tail page, so show what is really being checked.
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/pgtable-generic.c')
0 files changed, 0 insertions, 0 deletions