mm.git: a small error in mm-stable
Subsystems (2)
In looking through a "git log -p --reverse v6.10-rc6..HEAD"
of mm-everything, I just noticed a small anomaly in mm-stable:ac90c56bbd73 "mm/ksm: refactor out try_to_merge_with_zero_page()" modifies mm/hugetlb.c! undoing a oneliner which had been folded-merged into 003af997c8a9 "hugetlb: force allocating surplus hugepages on mempolicy allowed nodes" which comes just before it.
Hugh
Quoted 6 lines · Hugh Dickins
In looking through a "git log -p --reverse v6.10-rc6..HEAD"
of mm-everything, I just noticed a small anomaly in mm-stable:ac90c56bbd73"mm/ksm: refactor outtry_to_merge_with_zero_page()" modifiesmm/hugetlb.c! undoing a oneliner which had been folded-merged into003af997c8a9"hugetlb: force allocating surplus hugepages on mempolicy allowed nodes" which comes just before it.
Yeah, it's strange, that commit I sent should just change ksm.c
https://lore.kernel.org/lkml/[email protected]/
--- mm/ksm.c | 70 ++++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 40 insertions(+), 30 deletions(-)
Andrew Morton
maintainerQuoted 7 lines · On Thu, 11 Jul 2024 20:30:07 -0700 (PDT) Hugh Dickins <[email protected]> wrote:
In looking through a "git log -p --reverse v6.10-rc6..HEAD"
of mm-everything, I just noticed a small anomaly in mm-stable:ac90c56bbd73"mm/ksm: refactor outtry_to_merge_with_zero_page()" modifiesmm/hugetlb.c! undoing a oneliner which had been folded-merged into003af997c8a9"hugetlb: force allocating surplus hugepages on mempolicy allowed nodes" which comes just before it.
Huh thanks. This cycle has been pretty bad with new hotfixes coming in and messing up mm-stable.
mm/hugetlb.c renamed from mm/hugetlb.c~mm-hugetlbc-undo-errant-change +1 -0
@@ -2634,6 +2634,7 @@ static int gather_surplus_pages(struct h retry:spin_unlock_irq (&hugetlb_lock);for (i =0 ; i < needed; i++) { + folio =NULL ;for_each_node_mask (node, cpuset_current_mems_allowed) {if (!mbind_nodemask ||node_isset (node, *mbind_nodemask)) { folio = alloc_surplus_hugetlb_folio(h, htlb_alloc_mask(h),
_