From: kernel test robot <lkp@intel.com>
To: Mina Almasry <almasrymina@google.com>
Cc: kbuild-all@lists.01.org, Mina Almasry <almasrymina@google.com>,
Michal Hocko <mhocko@suse.com>, Theodore Ts'o <tytso@mit.edu>,
Greg Thelen <gthelen@google.com>,
Shakeel Butt <shakeelb@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Hugh Dickins <hughd@google.com>, Roman Gushchin <guro@fb.com>,
Johannes Weiner <hannes@cmpxchg.org>
Subject: Re: [PATCH v3 1/4] mm/shmem: support deterministic charging of tmpfs
Date: Fri, 12 Nov 2021 10:41:50 +0800 [thread overview]
Message-ID: <202111121024.a0c0sWVc-lkp@intel.com> (raw)
In-Reply-To: <20211111234203.1824138-2-almasrymina@google.com>
[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]
Hi Mina,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on hnaz-mm/master]
url: https://github.com/0day-ci/linux/commits/Mina-Almasry/mm-shmem-support-deterministic-charging-of-tmpfs/20211112-084506
base: https://github.com/hnaz/linux-mm master
config: um-i386_defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/51d8c281f9e96cc0269902e4597a972c7e2510f0
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Mina-Almasry/mm-shmem-support-deterministic-charging-of-tmpfs/20211112-084506
git checkout 51d8c281f9e96cc0269902e4597a972c7e2510f0
# save the attached .config to linux build tree
make W=1 ARCH=um SUBARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
fs/super.c: In function 'destroy_unused_super':
>> fs/super.c:184:5: warning: "CONFIG_MEMCG" is not defined, evaluates to 0 [-Wundef]
184 | #if CONFIG_MEMCG
| ^~~~~~~~~~~~
fs/super.c: In function '__put_super':
fs/super.c:299:5: warning: "CONFIG_MEMCG" is not defined, evaluates to 0 [-Wundef]
299 | #if CONFIG_MEMCG
| ^~~~~~~~~~~~
vim +/CONFIG_MEMCG +184 fs/super.c
175
176 /* Free a superblock that has never been seen by anyone */
177 static void destroy_unused_super(struct super_block *s)
178 {
179 if (!s)
180 return;
181 up_write(&s->s_umount);
182 list_lru_destroy(&s->s_dentry_lru);
183 list_lru_destroy(&s->s_inode_lru);
> 184 #if CONFIG_MEMCG
185 mem_cgroup_set_charge_target(&s->s_memcg_to_charge, NULL);
186 #endif
187 security_sb_free(s);
188 put_user_ns(s->s_user_ns);
189 kfree(s->s_subtype);
190 free_prealloced_shrinker(&s->s_shrink);
191 /* no delays needed */
192 destroy_super_work(&s->destroy_work);
193 }
194
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 9939 bytes --]
next prev parent reply other threads:[~2021-11-12 2:42 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20211111234203.1824138-1-almasrymina@google.com>
2021-11-11 23:42 ` Mina Almasry
2021-11-12 2:41 ` kernel test robot [this message]
2021-11-11 23:42 ` [PATCH v3 2/4] mm/oom: handle remote ooms Mina Almasry
2021-11-12 7:51 ` Michal Hocko
2021-11-12 8:12 ` Mina Almasry
2021-11-12 8:36 ` Michal Hocko
2021-11-12 17:59 ` Mina Almasry
2021-11-15 10:58 ` Michal Hocko
2021-11-15 17:32 ` Shakeel Butt
2021-11-16 0:58 ` Mina Almasry
2021-11-16 9:28 ` Michal Hocko
2021-11-16 9:39 ` Michal Hocko
2021-11-16 10:17 ` Mina Almasry
2021-11-16 11:29 ` Michal Hocko
2021-11-16 21:27 ` Mina Almasry
2021-11-16 21:55 ` Shakeel Butt
2021-11-18 8:48 ` Michal Hocko
2021-11-19 22:32 ` Mina Almasry
2021-11-18 8:47 ` Michal Hocko
2021-11-11 23:42 ` [PATCH v3 3/4] mm, shmem: add tmpfs memcg= option documentation Mina Almasry
2021-11-11 23:42 ` [PATCH v3 4/4] mm, shmem, selftests: add tmpfs memcg= mount option tests Mina Almasry
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=202111121024.a0c0sWVc-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=almasrymina@google.com \
--cc=gthelen@google.com \
--cc=guro@fb.com \
--cc=hannes@cmpxchg.org \
--cc=hughd@google.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.com \
--cc=shakeelb@google.com \
--cc=tytso@mit.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox