From: kernel test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org,
mhocko-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
roman.gushchin-fxUVXftIFDnyG1zEObXtfA@public.gmane.org,
shakeelb-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org,
akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org
Cc: oe-kbuild-all-cunTk1MwBs/YUNznpcFYbw@public.gmane.org,
muchun.song-fxUVXftIFDnyG1zEObXtfA@public.gmane.org,
cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linmiaohe-hv44wF8Li93QT0dZR+AlfA@public.gmane.org
Subject: Re: [PATCH] memcg: remove unneeded header files
Date: Sat, 17 Jun 2023 17:12:40 +0800 [thread overview]
Message-ID: <202306171649.O90yt13M-lkp@intel.com> (raw)
In-Reply-To: <20230617072658.1826560-1-linmiaohe-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
Hi Miaohe,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on linus/master v6.4-rc6 next-20230616]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Miaohe-Lin/memcg-remove-unneeded-header-files/20230617-152922
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20230617072658.1826560-1-linmiaohe%40huawei.com
patch subject: [PATCH] memcg: remove unneeded header files
config: nios2-randconfig-r004-20230617 (https://download.01.org/0day-ci/archive/20230617/202306171649.O90yt13M-lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org/config)
compiler: nios2-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230617/202306171649.O90yt13M-lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org/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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306171649.O90yt13M-lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org/
All errors (new ones prefixed by >>):
mm/memcontrol.c: In function 'mem_cgroup_css_offline':
>> mm/memcontrol.c:5447:9: error: implicit declaration of function 'wb_memcg_offline' [-Werror=implicit-function-declaration]
5447 | wb_memcg_offline(memcg);
| ^~~~~~~~~~~~~~~~
mm/memcontrol.c: In function 'mem_cgroup_move_account':
>> mm/memcontrol.c:5788:29: error: implicit declaration of function 'mapping_can_writeback'; did you mean 'mapping_map_writable'? [-Werror=implicit-function-declaration]
5788 | if (mapping_can_writeback(mapping)) {
| ^~~~~~~~~~~~~~~~~~~~~
| mapping_map_writable
cc1: some warnings being treated as errors
vim +/wb_memcg_offline +5447 mm/memcontrol.c
8cdea7c0545426 Balbir Singh 2008-02-07 5424
eb95419b023aba Tejun Heo 2013-08-08 5425 static void mem_cgroup_css_offline(struct cgroup_subsys_state *css)
df878fb04dea04 KAMEZAWA Hiroyuki 2008-02-07 5426 {
eb95419b023aba Tejun Heo 2013-08-08 5427 struct mem_cgroup *memcg = mem_cgroup_from_css(css);
3bc942f372af38 Tejun Heo 2013-11-22 5428 struct mem_cgroup_event *event, *tmp;
79bd9814e5ec9a Tejun Heo 2013-11-22 5429
79bd9814e5ec9a Tejun Heo 2013-11-22 5430 /*
79bd9814e5ec9a Tejun Heo 2013-11-22 5431 * Unregister events and notify userspace.
79bd9814e5ec9a Tejun Heo 2013-11-22 5432 * Notify userspace about cgroup removing only after rmdir of cgroup
79bd9814e5ec9a Tejun Heo 2013-11-22 5433 * directory to avoid race between userspace and kernelspace.
79bd9814e5ec9a Tejun Heo 2013-11-22 5434 */
4ba9515d32bac1 Shakeel Butt 2021-09-02 5435 spin_lock_irq(&memcg->event_list_lock);
fba94807837850 Tejun Heo 2013-11-22 5436 list_for_each_entry_safe(event, tmp, &memcg->event_list, list) {
79bd9814e5ec9a Tejun Heo 2013-11-22 5437 list_del_init(&event->list);
79bd9814e5ec9a Tejun Heo 2013-11-22 5438 schedule_work(&event->remove);
79bd9814e5ec9a Tejun Heo 2013-11-22 5439 }
4ba9515d32bac1 Shakeel Butt 2021-09-02 5440 spin_unlock_irq(&memcg->event_list_lock);
ec64f51545fffb KAMEZAWA Hiroyuki 2009-04-02 5441
bf8d5d52ffe89a Roman Gushchin 2018-06-07 5442 page_counter_set_min(&memcg->memory, 0);
230671533d6463 Roman Gushchin 2018-06-07 5443 page_counter_set_low(&memcg->memory, 0);
63677c745d63ba Roman Gushchin 2017-09-06 5444
567e9ab2e614e5 Johannes Weiner 2016-01-20 5445 memcg_offline_kmem(memcg);
a178015cde6998 Yang Shi 2021-05-04 5446 reparent_shrinker_deferred(memcg);
52ebea749aaed1 Tejun Heo 2015-05-22 @5447 wb_memcg_offline(memcg);
e4dde56cd20867 Yu Zhao 2022-12-21 5448 lru_gen_offline_memcg(memcg);
73f576c04b9410 Johannes Weiner 2016-07-20 5449
591edfb10a949d Roman Gushchin 2018-10-26 5450 drain_all_stock(memcg);
591edfb10a949d Roman Gushchin 2018-10-26 5451
73f576c04b9410 Johannes Weiner 2016-07-20 5452 mem_cgroup_id_put(memcg);
df878fb04dea04 KAMEZAWA Hiroyuki 2008-02-07 5453 }
df878fb04dea04 KAMEZAWA Hiroyuki 2008-02-07 5454
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Miaohe Lin <linmiaohe@huawei.com>,
hannes@cmpxchg.org, mhocko@kernel.org, roman.gushchin@linux.dev,
shakeelb@google.com, akpm@linux-foundation.org
Cc: oe-kbuild-all@lists.linux.dev, muchun.song@linux.dev,
cgroups@vger.kernel.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org, linmiaohe@huawei.com
Subject: Re: [PATCH] memcg: remove unneeded header files
Date: Sat, 17 Jun 2023 17:12:40 +0800 [thread overview]
Message-ID: <202306171649.O90yt13M-lkp@intel.com> (raw)
In-Reply-To: <20230617072658.1826560-1-linmiaohe@huawei.com>
Hi Miaohe,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on linus/master v6.4-rc6 next-20230616]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Miaohe-Lin/memcg-remove-unneeded-header-files/20230617-152922
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20230617072658.1826560-1-linmiaohe%40huawei.com
patch subject: [PATCH] memcg: remove unneeded header files
config: nios2-randconfig-r004-20230617 (https://download.01.org/0day-ci/archive/20230617/202306171649.O90yt13M-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230617/202306171649.O90yt13M-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/202306171649.O90yt13M-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/memcontrol.c: In function 'mem_cgroup_css_offline':
>> mm/memcontrol.c:5447:9: error: implicit declaration of function 'wb_memcg_offline' [-Werror=implicit-function-declaration]
5447 | wb_memcg_offline(memcg);
| ^~~~~~~~~~~~~~~~
mm/memcontrol.c: In function 'mem_cgroup_move_account':
>> mm/memcontrol.c:5788:29: error: implicit declaration of function 'mapping_can_writeback'; did you mean 'mapping_map_writable'? [-Werror=implicit-function-declaration]
5788 | if (mapping_can_writeback(mapping)) {
| ^~~~~~~~~~~~~~~~~~~~~
| mapping_map_writable
cc1: some warnings being treated as errors
vim +/wb_memcg_offline +5447 mm/memcontrol.c
8cdea7c0545426 Balbir Singh 2008-02-07 5424
eb95419b023aba Tejun Heo 2013-08-08 5425 static void mem_cgroup_css_offline(struct cgroup_subsys_state *css)
df878fb04dea04 KAMEZAWA Hiroyuki 2008-02-07 5426 {
eb95419b023aba Tejun Heo 2013-08-08 5427 struct mem_cgroup *memcg = mem_cgroup_from_css(css);
3bc942f372af38 Tejun Heo 2013-11-22 5428 struct mem_cgroup_event *event, *tmp;
79bd9814e5ec9a Tejun Heo 2013-11-22 5429
79bd9814e5ec9a Tejun Heo 2013-11-22 5430 /*
79bd9814e5ec9a Tejun Heo 2013-11-22 5431 * Unregister events and notify userspace.
79bd9814e5ec9a Tejun Heo 2013-11-22 5432 * Notify userspace about cgroup removing only after rmdir of cgroup
79bd9814e5ec9a Tejun Heo 2013-11-22 5433 * directory to avoid race between userspace and kernelspace.
79bd9814e5ec9a Tejun Heo 2013-11-22 5434 */
4ba9515d32bac1 Shakeel Butt 2021-09-02 5435 spin_lock_irq(&memcg->event_list_lock);
fba94807837850 Tejun Heo 2013-11-22 5436 list_for_each_entry_safe(event, tmp, &memcg->event_list, list) {
79bd9814e5ec9a Tejun Heo 2013-11-22 5437 list_del_init(&event->list);
79bd9814e5ec9a Tejun Heo 2013-11-22 5438 schedule_work(&event->remove);
79bd9814e5ec9a Tejun Heo 2013-11-22 5439 }
4ba9515d32bac1 Shakeel Butt 2021-09-02 5440 spin_unlock_irq(&memcg->event_list_lock);
ec64f51545fffb KAMEZAWA Hiroyuki 2009-04-02 5441
bf8d5d52ffe89a Roman Gushchin 2018-06-07 5442 page_counter_set_min(&memcg->memory, 0);
230671533d6463 Roman Gushchin 2018-06-07 5443 page_counter_set_low(&memcg->memory, 0);
63677c745d63ba Roman Gushchin 2017-09-06 5444
567e9ab2e614e5 Johannes Weiner 2016-01-20 5445 memcg_offline_kmem(memcg);
a178015cde6998 Yang Shi 2021-05-04 5446 reparent_shrinker_deferred(memcg);
52ebea749aaed1 Tejun Heo 2015-05-22 @5447 wb_memcg_offline(memcg);
e4dde56cd20867 Yu Zhao 2022-12-21 5448 lru_gen_offline_memcg(memcg);
73f576c04b9410 Johannes Weiner 2016-07-20 5449
591edfb10a949d Roman Gushchin 2018-10-26 5450 drain_all_stock(memcg);
591edfb10a949d Roman Gushchin 2018-10-26 5451
73f576c04b9410 Johannes Weiner 2016-07-20 5452 mem_cgroup_id_put(memcg);
df878fb04dea04 KAMEZAWA Hiroyuki 2008-02-07 5453 }
df878fb04dea04 KAMEZAWA Hiroyuki 2008-02-07 5454
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-06-17 9:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-17 7:26 [PATCH] memcg: remove unneeded header files Miaohe Lin
2023-06-17 7:26 ` Miaohe Lin
2023-06-17 10:58 ` kernel test robot
2023-06-17 10:58 ` kernel test robot
[not found] ` <20230617072658.1826560-1-linmiaohe-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2023-06-17 9:12 ` kernel test robot [this message]
2023-06-17 9:12 ` kernel test robot
[not found] ` <202306171649.O90yt13M-lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2023-06-19 1:38 ` Miaohe Lin
2023-06-19 1:38 ` Miaohe Lin
2023-06-17 9:24 ` kernel test robot
2023-06-17 9:24 ` kernel test robot
2023-06-19 7:19 ` Michal Hocko
2023-06-19 7:19 ` Michal Hocko
[not found] ` <ZJABkaSdZP+K6dOh-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2023-06-19 7:42 ` Miaohe Lin
2023-06-19 7:42 ` Miaohe Lin
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=202306171649.O90yt13M-lkp@intel.com \
--to=lkp-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
--cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org \
--cc=linmiaohe-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org \
--cc=mhocko-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=muchun.song-fxUVXftIFDnyG1zEObXtfA@public.gmane.org \
--cc=oe-kbuild-all-cunTk1MwBs/YUNznpcFYbw@public.gmane.org \
--cc=roman.gushchin-fxUVXftIFDnyG1zEObXtfA@public.gmane.org \
--cc=shakeelb-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
/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.