Unverified Commit 8393e1c3 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!5052 v3 Remove WQ_FLAG_BOOKMARK flag

Merge Pull Request from: @ci-robot 
 
PR sync from: Zizhi Wo <wozizhi@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/PIAHME2AGTOAM763EM7DSHMW42BMSNMA/ 
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:
9a1ea439 ("mm: put_and_wait_on_page_locked() while page is migrated").

But actually the problem was solved by another commit: 3510ca20
("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


-- 
2.39.2
 
https://gitee.com/openeuler/kernel/issues/I93S7P 
 
Link:https://gitee.com/openeuler/kernel/pulls/5052

 

Reviewed-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Reviewed-by: default avatarLiu YongQiang <liuyongqiang13@huawei.com>
Signed-off-by: default avatarZhang Changzhong <zhangchangzhong@huawei.com>
parents d06007dc 75626b88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment