• Mel Gorman's avatar
    mm: vmscan: stall page reclaim after a list of pages have been processed · b1a6f21e
    Mel Gorman authored
    Commit "mm: vmscan: Block kswapd if it is encountering pages under
    writeback" blocks page reclaim if it encounters pages under writeback
    marked for immediate reclaim.  It blocks while pages are still isolated
    from the LRU which is unnecessary.  This patch defers the blocking until
    after the isolated pages have been processed and tidies up some of the
    comments.
    Signed-off-by: default avatarMel Gorman <mgorman@suse.de>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Cc: Michal Hocko <mhocko@suse.cz>
    Cc: Rik van Riel <riel@redhat.com>
    Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    Cc: Jiri Slaby <jslaby@suse.cz>
    Cc: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
    Cc: Zlatko Calusic <zcalusic@bitsync.net>
    Cc: dormando <dormando@rydia.net>
    Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    b1a6f21e
vmscan.c 106 KB