Skip to content

Zero page->private when freeing pages#584

Closed
blktests-ci[bot] wants to merge 11 commits intolinus-master_basefrom
series/1056249=>linus-master
Closed

Zero page->private when freeing pages#584
blktests-ci[bot] wants to merge 11 commits intolinus-master_basefrom
series/1056249=>linus-master

Conversation

@blktests-ci
Copy link
Copy Markdown

@blktests-ci blktests-ci Bot commented Feb 23, 2026

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

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 23, 2026

Upstream branch: 32a92f8
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 23, 2026

Upstream branch: 6de23f8
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1056249=>linus-master branch from 2696d00 to 167146a Compare February 23, 2026 10:17
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 23, 2026

Upstream branch: 6de23f8
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1056249=>linus-master branch from 167146a to 6bfae31 Compare February 23, 2026 10:56
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from c90f83b to c475e20 Compare February 25, 2026 11:14
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 25, 2026

Upstream branch: 7dff99b
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1056249=>linus-master branch from 6bfae31 to 0d28735 Compare February 25, 2026 11:20
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from c475e20 to 14f6b99 Compare February 27, 2026 16:24
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 27, 2026

Upstream branch: a75cb86
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1056249=>linus-master branch from 0d28735 to 12121c3 Compare February 27, 2026 16:37
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 14f6b99 to 856dc37 Compare February 27, 2026 22:07
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 27, 2026

Upstream branch: 4d349ee
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1056249=>linus-master branch from 12121c3 to 29fd160 Compare February 27, 2026 22:17
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 856dc37 to 40967f0 Compare March 2, 2026 09:22
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 2, 2026

Upstream branch: 11439c4
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1056249=>linus-master branch from 29fd160 to 5020cdd Compare March 2, 2026 09:31
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 40967f0 to d4e9bad Compare March 2, 2026 23:54
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 3, 2026

Upstream branch: af4e9ef
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1056249=>linus-master branch from 5020cdd to 8bd4415 Compare March 3, 2026 00:04
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from d4e9bad to ecd10e2 Compare March 4, 2026 07:44
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 18, 2026

Upstream branch: a989fde
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1056249=>linus-master branch from e570529 to 17ed205 Compare March 18, 2026 03:20
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 868d59a to 1f531be Compare March 18, 2026 11:51
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 18, 2026

Upstream branch: a989fde
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1056249=>linus-master branch from 17ed205 to d843ee7 Compare March 18, 2026 12:08
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 1f531be to 3f39b19 Compare March 22, 2026 09:19
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 22, 2026

Upstream branch: 113ae7b
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1056249=>linus-master branch from d843ee7 to 8f178d4 Compare March 22, 2026 09:37
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 3f39b19 to 0d26589 Compare March 23, 2026 09:35
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 23, 2026

Upstream branch: c369299
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1056249=>linus-master branch from 8f178d4 to bd49e7e Compare March 23, 2026 09:53
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 0d26589 to 359a150 Compare March 24, 2026 20:10
x-y-z added 10 commits March 25, 2026 05:48
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]
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 24, 2026

Upstream branch: e3c33bc
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056249
version: 1

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]
@blktests-ci blktests-ci Bot force-pushed the series/1056249=>linus-master branch from bd49e7e to 1b4151f Compare March 24, 2026 20:48
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 25, 2026

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

@blktests-ci blktests-ci Bot closed this Mar 25, 2026
@blktests-ci blktests-ci Bot deleted the series/1056249=>linus-master branch March 26, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant