lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240612092409.2027592-1-xiujianfeng@huawei.com>
Date: Wed, 12 Jun 2024 09:24:06 +0000
From: Xiu Jianfeng <xiujianfeng@...wei.com>
To: <akpm@...ux-foundation.org>, <muchun.song@...ux.dev>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>, <osalvador@...e.de>
Subject: [PATCH v3 -next 0/3] mm/hugetlb_cgroup: rework on cftypes

Hi,

This patchset provides an intuitive view of the control files through
static templates of cftypes, improve the readability of the code.

Changes from v2:
 - Add Reviewed-by tag of Oscar (the 1st patch)
 - Rebuild cft->private unconditionally

Changes from v1:
 - Fix smatch warnings of 'tmpl->name'

Xiu Jianfeng (3):
  mm/hugetlb_cgroup: identify the legacy using cgroup_subsys_on_dfl()
  mm/hugetlb_cgroup: prepare cftypes based on template
  mm/hugetlb_cgroup: switch to the new cftypes

 include/linux/hugetlb.h |   5 -
 mm/hugetlb_cgroup.c     | 302 ++++++++++++++++++++++------------------
 2 files changed, 164 insertions(+), 143 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ