hugetlb_cgroup-fix-wrong-hugetlb-cgroup-numa-stat.patch removed from -mm tree
The quilt patch titled
Subject: hugetlb_cgroup: fix wrong hugetlb cgroup numa stat
has been removed from the -mm tree. Its filename was
hugetlb_cgroup-fix-wrong-hugetlb-cgroup-numa-stat.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Miaohe Lin <[email protected]>
Subject: hugetlb_cgroup: fix wrong hugetlb cgroup numa stat
Date: Sat, 23 Jul 2022 15:38:04 +0800
We forget to set cft->private for numa stat file. As a result, numa stat of hstates[0] is always showed for all hstates. Encode the hstates index into cft->private to fix this issue.
---
mm/hugetlb_cgroup.c | 1 + 1 file changed, 1 insertion(+)
mm/hugetlb_cgroup.c renamed from mm/hugetlb_cgroup.c~hugetlb_cgroup-fix-wrong-hugetlb-cgroup-numa-stat +1 -0
@@ -772,6 +772,7 @@ static void __init __hugetlb_cgroup_file/* Add the numa stat file */ cft = &h->cgroup_files_dfl[6 ];snprintf (cft->name,MAX_CFTYPE_NAME ,"%s.numa_stat" , buf); + cft->private =MEMFILE_PRIVATE (idx,0 ); cft->seq_show = hugetlb_cgroup_read_numa_stat; cft->flags =CFTYPE_NOT_ON_ROOT ;
_
Patches currently in -mm which might be from [email protected] are
mm-hugetlb-avoid-corrupting-page-mapping-in-hugetlb_mcopy_atomic_pte.patch mm-page_alloc-minor-clean-up-for-memmap_init_compound.patch