Fix softlockup by removing the wait_queue flag: WQ_FLAG_BOOKMARK.
The commit b0b598ee08f9 (filemap: remove use of wait bookmarks) said the
overly long list of waiters on a locked page was solved by commit:
9a1ea439b16b ("mm: put_and_wait_on_page_locked() while page is migrated").
But actually the problem was solved by another commit: 3510ca20ece0
("Minor page waitqueue cleanups"), so we can remove the bookmark flag now
to solve the softlockup problem.
Changes in V3:
- fixed incorrect mainline patch adaptation: wake_fags -> wake_flags.
- Readapt __wake_up_common_lock()
Changes in V2:
- modified the commit message.
Matthew Wilcox (Oracle) (2):
filemap: remove use of wait bookmarks
sched: remove wait bookmarks
include/linux/wait.h | 3 ---
kernel/sched/wait.c | 57 ++++++--------------------------------------
mm/filemap.c | 21 +---------------
3 files changed, 8 insertions(+), 73 deletions(-)
--
2.39.2