]> git.hungrycats.org Git - linux/commit
[PATCH] permit page unmapping if !CONFIG_SWAP
authorAndrew Morton <akpm@digeo.com>
Fri, 28 Mar 2003 11:18:47 +0000 (03:18 -0800)
committerDave Jones <davej@tetrachloride.(none)>
Fri, 28 Mar 2003 11:18:47 +0000 (03:18 -0800)
commit09efe93ddcd52808ace23ceaea7477097fb4b6e6
tree09c4fab9755dbc316999ea931ba144425ee990c3
parent255373b8a43ae64b8c1cae97059ab63884a669a8
[PATCH] permit page unmapping if !CONFIG_SWAP

From: Hugh Dickins <hugh@veritas.com>

Raised #endif CONFIG_SWAP in shrink_list, it was excluding
try_to_unmap of file pages.  Suspect !CONFIG_MMU relied on
that to suppress try_to_unmap, added SWAP_FAIL stub for it.
include/linux/swap.h
mm/vmscan.c