v1
2026-08-28
修复 deferred split 隔离误判 · v1
修复 deferred_split_isolate 对冻结 folio 误判释放竞态,清除 PG_partially_mapped 并出队的问题。
原始补丁链接
子 Patch(5)
1/5
mm/huge_memory: do not touch frozen folios in deferred_split_isolate()
On Wed Aug 26, 2026 at 12:20 PM EDT, Kiryl Shutsemau wrote: > From: “Kiryl Shutsemau (Meta)” kas@kernel.org > > deferred_split_isolate() probes each queued folio with folio_try_get(). > folio_try_ge
2/5
mm/huge_memory: dequeue the deferred split after the split freeze
On Wed Aug 26, 2026 at 12:20 PM EDT, Kiryl Shutsemau wrote: > From: “Kiryl Shutsemau (Meta)” kas@kernel.org > > __folio_freeze_and_split_unmapped() takes the deferred split list_lru lock > across th
3/5
mm/huge_memory: reduce indent level in __folio_freeze_and_split_unmapped()
[Re: [PATCH 3/5] mm/huge_memory: reduce indent level in __folio_freeze_and_split_unmapped()] On Wed Aug 26, 2026 at 12:20 PM EDT, Kiryl Shutsemau wrote: > From: “Kiryl Shutsemau (Meta)” <kas@kernel.or
4/5
mm/huge_memory: fold nested ifs in __folio_freeze_and_split_unmapped()
From: “Kiryl Shutsemau (Meta)” kas@kernel.org The two nested conditions guard a single statistics update. Fold them into one condition and drop the braces from the single-statement/single-line bod
5/5
mm/huge_memory: turn the swapcache-with-mapping error case into an assert
From: “Kiryl Shutsemau (Meta)” kas@kernel.org A folio in the swapcache has no mapping. __folio_freeze_and_split_unmapped() tests the combination after the freeze and returns -EINVAL. It leaves the