diff options
author | Andrea Arcangeli <aarcange@redhat.com> | 2011-03-18 00:16:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-27 11:35:58 -0700 |
commit | 582d8b9e2879512507b8a9409f85fb1394e1c53e (patch) | |
tree | 54c34e9e80ba524daff7ae6a44673eb55bff6ba9 /Documentation/isdn/README.HiSax | |
parent | b62a6839fdf5cb733559164da4f5242ab6de8e06 (diff) |
mm: PageBuddy and mapcount robustness
commit ef2b4b95a63a1d23958dcb99eb2c6898eddc87d0 upstream.
Change the _mapcount value indicating PageBuddy from -2 to -128 for
more robusteness against page_mapcount() undeflows.
Use reset_page_mapcount instead of __ClearPageBuddy in bad_page to
ignore the previous retval of PageBuddy().
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Reported-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/isdn/README.HiSax')
0 files changed, 0 insertions, 0 deletions