Zero page->private when freeing pages#584
Zero page->private when freeing pages#584blktests-ci[bot] wants to merge 11 commits intolinus-master_basefrom
Conversation
|
Upstream branch: 32a92f8 |
50e7070 to
c90f83b
Compare
|
Upstream branch: 6de23f8 |
2696d00 to
167146a
Compare
|
Upstream branch: 6de23f8 |
167146a to
6bfae31
Compare
c90f83b to
c475e20
Compare
|
Upstream branch: 7dff99b |
6bfae31 to
0d28735
Compare
c475e20 to
14f6b99
Compare
|
Upstream branch: a75cb86 |
0d28735 to
12121c3
Compare
14f6b99 to
856dc37
Compare
|
Upstream branch: 4d349ee |
12121c3 to
29fd160
Compare
856dc37 to
40967f0
Compare
|
Upstream branch: 11439c4 |
29fd160 to
5020cdd
Compare
40967f0 to
d4e9bad
Compare
|
Upstream branch: af4e9ef |
5020cdd to
8bd4415
Compare
d4e9bad to
ecd10e2
Compare
|
Upstream branch: a989fde |
e570529 to
17ed205
Compare
868d59a to
1f531be
Compare
|
Upstream branch: a989fde |
17ed205 to
d843ee7
Compare
1f531be to
3f39b19
Compare
|
Upstream branch: 113ae7b |
d843ee7 to
8f178d4
Compare
3f39b19 to
0d26589
Compare
|
Upstream branch: c369299 |
8f178d4 to
bd49e7e
Compare
0d26589 to
359a150
Compare
This prepares for upcoming page->private checks in page freeing path. Signed-off-by: Zi Yan <[email protected]> Cc: Jason Xing <[email protected]> Cc: Yushan Zhou <[email protected]> Cc: "Masami Hiramatsu (Google)" <[email protected]>
This prepares for upcoming checks in page freeing path. Signed-off-by: Zi Yan <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: David Rientjes <[email protected]> Cc: Roman Gushchin <[email protected]> Cc: Harry Yoo <[email protected]> Cc: [email protected]
This prepares upcoming checks in page freeing path. Signed-off-by: Zi Yan <[email protected]> Cc: Christian Koenig <[email protected]> Cc: Huang Rui <[email protected]> Cc: Matthew Auld <[email protected]> Cc: Matthew Brost <[email protected]> Cc: Maarten Lankhorst <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Thomas Zimmermann <[email protected]> Cc: David Airlie <[email protected]> Cc: Simona Vetter <[email protected]> Cc: [email protected] Acked-by: Christian König <[email protected]>
This prepares for upcoming checks in page freeing path. Signed-off-by: Zi Yan <[email protected]> Cc: Jens Axboe <[email protected]> Cc: [email protected]
This prepares for upcoming checks in page freeing path. Signed-off-by: Zi Yan <[email protected]> Cc: Christian Brauner <[email protected]> Cc: K Prateek Nayak <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Eric Sandeen <[email protected]>
This prepares for upcoming checks in page freeing path. Signed-off-by: Zi Yan <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: "Arve Hjønnevåg" <[email protected]> Cc: Todd Kjos <[email protected]> Cc: Christian Brauner <[email protected]> Cc: Carlos Llamas <[email protected]> Cc: Alice Ryhl <[email protected]>
This prepares for upcoming checks in page freeing path. Signed-off-by: Zi Yan <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Damien Le Moal <[email protected]> Cc: Johannes Thumshirn <[email protected]> Cc: [email protected]
This prepares for upcoming checks in page freeing path. Signed-off-by: Zi Yan <[email protected]> Cc: Dennis Zhou <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: [email protected]
This prepares for upcoming checks in page freeing path. Signed-off-by: Zi Yan <[email protected]> Cc: Gao Xiang <[email protected]> Cc: Yue Hu <[email protected]> Cc: Jeffle Xu <[email protected]> Cc: Sandeep Dhavale <[email protected]> Cc: Hongbo Li <[email protected]> Cc: Chunhai Guo <[email protected]> Cc: [email protected]
page->private should not be set in tail pages. Commit 4265d67 ("mm/migrate_device: add THP splitting during migration") removed it without a proper reason. Add it back. Signed-off-by: Zi Yan <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Lorenzo Stoakes <[email protected]> Cc: Baolin Wang <[email protected]> Cc: "Liam R. Howlett" <[email protected]> Cc: Nico Pache <[email protected]> Cc: Ryan Roberts <[email protected]> Cc: Dev Jain <[email protected]> Cc: Barry Song <[email protected]> Cc: Lance Yang <[email protected]> Cc: [email protected]
|
Upstream branch: e3c33bc |
Any user is supposed to zero their allocated page->private at free time, including both head and tail pages if the freed page is compound. Add VM_WARN_ON_ONCE to check page->private. Whoever encountering warnings from this commit needs to fix code that does not zero ->private when freeing a page/folio. Signed-off-by: Zi Yan <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Suren Baghdasaryan <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Brendan Jackman <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: [email protected]
bd49e7e to
1b4151f
Compare
|
At least one diff in series https://patchwork.kernel.org/project/linux-block/list/?series=1056249 irrelevant now for [{'archived': False, 'project': 241}] search patterns |
Pull request for series with
subject: Zero page->private when freeing pages
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1056249