All of lore.kernel.org
 help / color / mirror / Atom feed
From: SeongJae Park <sj38.park@gmail.com>
To: kernel test robot <lkp@intel.com>
Cc: SeongJae Park <sjpark@amazon.de>,
	kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Mark Brown <broonie@kernel.org>,
	Shakeel Butt <shakeelb@google.com>,
	Fernand Sieber <sieberf@amazon.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [linux-next:master 5973/6030] include/linux/page_idle.h:55:18: error: 'PAGE_EXT_YOUNG' undeclared
Date: Mon,  9 Aug 2021 08:39:11 +0000	[thread overview]
Message-ID: <20210809083911.16321-1-sjpark@amazon.de> (raw)
In-Reply-To: <202108091126.WYvIVB82-lkp@intel.com>

From: SeongJae Park <sjpark@amazon.de>

Hello Robot,

On Mon, 9 Aug 2021 11:11:33 +0800 kernel test robot <lkp@intel.com> wrote:

> 
> [-- Attachment #1: Type: text/plain, Size: 14246 bytes --]
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   7999516e20bd9bb5d1f7351cbd05ca529a3a8d60
> commit: 73b831d4a3c725ed2b4ee15ef9f789b97f5679eb [5973/6030] mm/idle_page_tracking: Make PG_idle reusable
> config: nds32-randconfig-p001-20210809 (attached as .config)
> compiler: nds32le-linux-gcc (GCC) 10.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=73b831d4a3c725ed2b4ee15ef9f789b97f5679eb
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout 73b831d4a3c725ed2b4ee15ef9f789b97f5679eb
>         # save the attached .config to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from mm/migrate.c:47:
>    include/linux/page_idle.h: In function 'page_is_young':
> >> include/linux/page_idle.h:55:18: error: 'PAGE_EXT_YOUNG' undeclared (first use in this function)
>       55 |  return test_bit(PAGE_EXT_YOUNG, &page_ext->flags);
>          |                  ^~~~~~~~~~~~~~

Thank you for the report!

Similar issue was reported a few days ago and I made a fix:
https://lore.kernel.org/linux-fsdevel/20210806095153.6444-1-sj38.park@gmail.com/

With your reproducer, I also confirmed the patch fixes the issue.


Thanks,
SeongJae Park

[...]


WARNING: multiple messages have this Message-ID (diff)
From: SeongJae Park <sj38.park@gmail.com>
To: kbuild-all@lists.01.org
Subject: Re: [linux-next:master 5973/6030] include/linux/page_idle.h:55:18: error: 'PAGE_EXT_YOUNG' undeclared
Date: Mon, 09 Aug 2021 08:39:11 +0000	[thread overview]
Message-ID: <20210809083911.16321-1-sjpark@amazon.de> (raw)
In-Reply-To: <202108091126.WYvIVB82-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 2065 bytes --]

From: SeongJae Park <sjpark@amazon.de>

Hello Robot,

On Mon, 9 Aug 2021 11:11:33 +0800 kernel test robot <lkp@intel.com> wrote:

> 
> [-- Attachment #1: Type: text/plain, Size: 14246 bytes --]
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   7999516e20bd9bb5d1f7351cbd05ca529a3a8d60
> commit: 73b831d4a3c725ed2b4ee15ef9f789b97f5679eb [5973/6030] mm/idle_page_tracking: Make PG_idle reusable
> config: nds32-randconfig-p001-20210809 (attached as .config)
> compiler: nds32le-linux-gcc (GCC) 10.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=73b831d4a3c725ed2b4ee15ef9f789b97f5679eb
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout 73b831d4a3c725ed2b4ee15ef9f789b97f5679eb
>         # save the attached .config to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from mm/migrate.c:47:
>    include/linux/page_idle.h: In function 'page_is_young':
> >> include/linux/page_idle.h:55:18: error: 'PAGE_EXT_YOUNG' undeclared (first use in this function)
>       55 |  return test_bit(PAGE_EXT_YOUNG, &page_ext->flags);
>          |                  ^~~~~~~~~~~~~~

Thank you for the report!

Similar issue was reported a few days ago and I made a fix:
https://lore.kernel.org/linux-fsdevel/20210806095153.6444-1-sj38.park(a)gmail.com/

With your reproducer, I also confirmed the patch fixes the issue.


Thanks,
SeongJae Park

[...]

  reply	other threads:[~2021-08-09  8:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-09  3:11 [linux-next:master 5973/6030] include/linux/page_idle.h:55:18: error: 'PAGE_EXT_YOUNG' undeclared kernel test robot
2021-08-09  3:11 ` kernel test robot
2021-08-09  8:39 ` SeongJae Park [this message]
2021-08-09  8:39   ` SeongJae Park

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=20210809083911.16321-1-sjpark@amazon.de \
    --to=sj38.park@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=broonie@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=shakeelb@google.com \
    --cc=sieberf@amazon.com \
    --cc=sjpark@amazon.de \
    /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.