From: kernel test robot <lkp@intel.com>
To: Joshua Hahn <joshua.hahnjy@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 2/6] mm/page_counter: Introduce tiered memory awareness to page_counter
Date: Tue, 24 Feb 2026 17:25:16 +0800 [thread overview]
Message-ID: <202602241757.iMuSSiTC-lkp@intel.com> (raw)
In-Reply-To: <20260223223830.586018-3-joshua.hahnjy@gmail.com>
Hi Joshua,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on akpm-mm/mm-everything]
url: https://github.com/intel-lab-lkp/linux/commits/Joshua-Hahn/mm-memory-tiers-Introduce-tier-aware-memcg-limit-sysfs/20260224-122156
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20260223223830.586018-3-joshua.hahnjy%40gmail.com
patch subject: [RFC PATCH 2/6] mm/page_counter: Introduce tiered memory awareness to page_counter
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20260224/202602241757.iMuSSiTC-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260224/202602241757.iMuSSiTC-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602241757.iMuSSiTC-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/hugetlb_cgroup.c:739:18: warning: implicit conversion from 'unsigned long' to 'unsigned int' changes value from 4579131496 to 284164200 [-Wconstant-conversion]
736 | {
| ~
737 | .name = "events.local",
738 | .seq_show = hugetlb_events_local_show,
739 | .file_offset = MEMFILE_OFFSET(struct hugetlb_cgroup, events_local_file[0]),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mm/hugetlb_cgroup.c:24:57: note: expanded from macro 'MEMFILE_OFFSET'
24 | #define MEMFILE_OFFSET(t, m0) (((offsetof(t, m0) << 16) | sizeof_field(t, m0)))
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
mm/hugetlb_cgroup.c:733:18: warning: implicit conversion from 'unsigned long' to 'unsigned int' changes value from 4565500008 to 270532712 [-Wconstant-conversion]
730 | {
| ~
731 | .name = "events",
732 | .seq_show = hugetlb_events_show,
733 | .file_offset = MEMFILE_OFFSET(struct hugetlb_cgroup, events_file[0]),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mm/hugetlb_cgroup.c:24:57: note: expanded from macro 'MEMFILE_OFFSET'
24 | #define MEMFILE_OFFSET(t, m0) (((offsetof(t, m0) << 16) | sizeof_field(t, m0)))
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
vim +739 mm/hugetlb_cgroup.c
faced7e0806cf4 Giuseppe Scrivano 2019-12-16 702
47179fe03588ca Xiu Jianfeng 2024-06-12 703 static struct cftype hugetlb_dfl_tmpl[] = {
47179fe03588ca Xiu Jianfeng 2024-06-12 704 {
47179fe03588ca Xiu Jianfeng 2024-06-12 705 .name = "max",
47179fe03588ca Xiu Jianfeng 2024-06-12 706 .private = RES_LIMIT,
47179fe03588ca Xiu Jianfeng 2024-06-12 707 .seq_show = hugetlb_cgroup_read_u64_max,
47179fe03588ca Xiu Jianfeng 2024-06-12 708 .write = hugetlb_cgroup_write_dfl,
47179fe03588ca Xiu Jianfeng 2024-06-12 709 .flags = CFTYPE_NOT_ON_ROOT,
47179fe03588ca Xiu Jianfeng 2024-06-12 710 },
47179fe03588ca Xiu Jianfeng 2024-06-12 711 {
47179fe03588ca Xiu Jianfeng 2024-06-12 712 .name = "rsvd.max",
47179fe03588ca Xiu Jianfeng 2024-06-12 713 .private = RES_RSVD_LIMIT,
47179fe03588ca Xiu Jianfeng 2024-06-12 714 .seq_show = hugetlb_cgroup_read_u64_max,
47179fe03588ca Xiu Jianfeng 2024-06-12 715 .write = hugetlb_cgroup_write_dfl,
47179fe03588ca Xiu Jianfeng 2024-06-12 716 .flags = CFTYPE_NOT_ON_ROOT,
47179fe03588ca Xiu Jianfeng 2024-06-12 717 },
47179fe03588ca Xiu Jianfeng 2024-06-12 718 {
47179fe03588ca Xiu Jianfeng 2024-06-12 719 .name = "current",
47179fe03588ca Xiu Jianfeng 2024-06-12 720 .private = RES_USAGE,
47179fe03588ca Xiu Jianfeng 2024-06-12 721 .seq_show = hugetlb_cgroup_read_u64_max,
47179fe03588ca Xiu Jianfeng 2024-06-12 722 .flags = CFTYPE_NOT_ON_ROOT,
47179fe03588ca Xiu Jianfeng 2024-06-12 723 },
47179fe03588ca Xiu Jianfeng 2024-06-12 724 {
47179fe03588ca Xiu Jianfeng 2024-06-12 725 .name = "rsvd.current",
47179fe03588ca Xiu Jianfeng 2024-06-12 726 .private = RES_RSVD_USAGE,
47179fe03588ca Xiu Jianfeng 2024-06-12 727 .seq_show = hugetlb_cgroup_read_u64_max,
47179fe03588ca Xiu Jianfeng 2024-06-12 728 .flags = CFTYPE_NOT_ON_ROOT,
47179fe03588ca Xiu Jianfeng 2024-06-12 729 },
47179fe03588ca Xiu Jianfeng 2024-06-12 730 {
47179fe03588ca Xiu Jianfeng 2024-06-12 731 .name = "events",
47179fe03588ca Xiu Jianfeng 2024-06-12 732 .seq_show = hugetlb_events_show,
47179fe03588ca Xiu Jianfeng 2024-06-12 733 .file_offset = MEMFILE_OFFSET(struct hugetlb_cgroup, events_file[0]),
47179fe03588ca Xiu Jianfeng 2024-06-12 734 .flags = CFTYPE_NOT_ON_ROOT,
47179fe03588ca Xiu Jianfeng 2024-06-12 735 },
47179fe03588ca Xiu Jianfeng 2024-06-12 736 {
47179fe03588ca Xiu Jianfeng 2024-06-12 737 .name = "events.local",
47179fe03588ca Xiu Jianfeng 2024-06-12 738 .seq_show = hugetlb_events_local_show,
47179fe03588ca Xiu Jianfeng 2024-06-12 @739 .file_offset = MEMFILE_OFFSET(struct hugetlb_cgroup, events_local_file[0]),
47179fe03588ca Xiu Jianfeng 2024-06-12 740 .flags = CFTYPE_NOT_ON_ROOT,
47179fe03588ca Xiu Jianfeng 2024-06-12 741 },
47179fe03588ca Xiu Jianfeng 2024-06-12 742 {
47179fe03588ca Xiu Jianfeng 2024-06-12 743 .name = "numa_stat",
47179fe03588ca Xiu Jianfeng 2024-06-12 744 .seq_show = hugetlb_cgroup_read_numa_stat,
47179fe03588ca Xiu Jianfeng 2024-06-12 745 .flags = CFTYPE_NOT_ON_ROOT,
47179fe03588ca Xiu Jianfeng 2024-06-12 746 },
47179fe03588ca Xiu Jianfeng 2024-06-12 747 /* don't need terminator here */
47179fe03588ca Xiu Jianfeng 2024-06-12 748 };
47179fe03588ca Xiu Jianfeng 2024-06-12 749
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-02-24 9:26 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-23 22:38 [RFC PATCH 0/6] mm/memcontrol: Make memcg limits tier-aware Joshua Hahn
2026-02-23 22:38 ` [RFC PATCH 1/6] mm/memory-tiers: Introduce tier-aware memcg limit sysfs Joshua Hahn
2026-02-23 22:38 ` [RFC PATCH 2/6] mm/page_counter: Introduce tiered memory awareness to page_counter Joshua Hahn
2026-02-24 9:25 ` kernel test robot [this message]
2026-02-23 22:38 ` [RFC PATCH 3/6] mm/memory-tiers, memcontrol: Introduce toptier capacity updates Joshua Hahn
2026-02-23 22:38 ` [RFC PATCH 4/6] mm/memcontrol: Charge and uncharge from toptier Joshua Hahn
2026-02-23 22:38 ` [RFC PATCH 5/6] mm/memcontrol, page_counter: Make memory.low tier-aware Joshua Hahn
2026-02-24 3:33 ` kernel test robot
2026-02-24 5:36 ` kernel test robot
2026-02-23 22:38 ` [RFC PATCH 6/6] mm/memcontrol: Make memory.high tier-aware Joshua Hahn
2026-02-24 6:47 ` kernel test robot
2026-03-11 22:05 ` Bing Jiao
2026-03-12 19:44 ` Joshua Hahn
2026-03-24 10:51 ` Donet Tom
2026-03-24 15:23 ` Gregory Price
2026-03-24 15:46 ` Donet Tom
2026-03-24 15:44 ` Joshua Hahn
2026-03-24 16:06 ` Donet Tom
2026-02-24 11:27 ` [RFC PATCH 0/6] mm/memcontrol: Make memcg limits tier-aware Michal Hocko
2026-02-24 16:13 ` Joshua Hahn
2026-02-24 18:49 ` Gregory Price
2026-02-24 20:03 ` Kaiyang Zhao
2026-02-26 8:04 ` Michal Hocko
2026-02-26 16:08 ` Joshua Hahn
2026-03-24 10:30 ` Donet Tom
2026-03-24 14:58 ` Joshua Hahn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202602241757.iMuSSiTC-lkp@intel.com \
--to=lkp@intel.com \
--cc=joshua.hahnjy@gmail.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.