]> git.neil.brown.name Git - history.git/commit
[PATCH] Fix a BUG in try_to_unmap()
authorAndrew Morton <akpm@zip.com.au>
Mon, 19 Aug 2002 13:04:55 +0000 (06:04 -0700)
committerOleg Drokin <green@angband.namesys.com>
Mon, 19 Aug 2002 13:04:55 +0000 (06:04 -0700)
commit0ee29e6010df87ffb563f2f9bfdf019e0976c6cb
tree1496aa264f4f4d02091e5949b43ff0abe6fd5841
parent891975a10ed395bf2997c75e2a6776523404a0ef
[PATCH] Fix a BUG in try_to_unmap()

try_to_unmap() dies if the to-be-unmapped page has a non-NULL ->mapping.

But the preceding logic in shrink_cache() forgot about the
rarely-occurring pages which have buffers and no ->mapping.
mm/vmscan.c