• Matthew Wilcox (Oracle)'s avatar
    filemap: remove use of wait bookmarks · b0b598ee
    Matthew Wilcox (Oracle) authored
    The original problem of the overly long list of waiters on a locked page
    was solved properly by commit 9a1ea439 ("mm:
    put_and_wait_on_page_locked() while page is migrated").  In the meantime,
    using bookmarks for the writeback bit can cause livelocks, so we need to
    stop using them.
    
    Link: https://lkml.kernel.org/r/20231010035829.544242-1-willy@infradead.org
    
    Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Bin Lai <sclaibin@gmail.com>
    Cc: Benjamin Segall <bsegall@google.com>
    Cc: Daniel Bristot de Oliveira <bristot@redhat.com>
    Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Juri Lelli <juri.lelli@redhat.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Mel Gorman <mgorman@suse.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Steven Rostedt (Google) <rostedt@goodmis.org>
    Cc: Valentin Schneider <vschneid@redhat.com>
    Cc: Vincent Guittot <vincent.guittot@linaro.org>
    
    Cc: Ingo Molnar <mingo@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    b0b598ee
filemap.c 120 KB