linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Yang Shi <shy828301@gmail.com>, akpm@linux-foundation.org
Cc: kbuild-all@lists.01.org, shy828301@gmail.com, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: gup: remove FOLL_SPLIT
Date: Tue, 30 Mar 2021 14:24:41 +0800	[thread overview]
Message-ID: <202103301403.u00aVRF6-lkp@intel.com> (raw)
In-Reply-To: <20210329193828.179993-1-shy828301@gmail.com>

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

Hi Yang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on hnaz-linux-mm/master]

url:    https://github.com/0day-ci/linux/commits/Yang-Shi/mm-gup-remove-FOLL_SPLIT/20210330-034042
base:   https://github.com/hnaz/linux-mm master
config: s390-randconfig-r032-20210330 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.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://github.com/0day-ci/linux/commit/c8563a636718f98af86a3965d94e25b8f2cf2354
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Yang-Shi/mm-gup-remove-FOLL_SPLIT/20210330-034042
        git checkout c8563a636718f98af86a3965d94e25b8f2cf2354
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390 

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 >>):

   arch/s390/mm/gmap.c: In function 'thp_split_mm':
>> arch/s390/mm/gmap.c:2498:27: error: 'FOLL_SPLIT' undeclared (first use in this function); did you mean 'FOLL_PIN'?
    2498 |    follow_page(vma, addr, FOLL_SPLIT);
         |                           ^~~~~~~~~~
         |                           FOLL_PIN
   arch/s390/mm/gmap.c:2498:27: note: each undeclared identifier is reported only once for each function it appears in


vim +2498 arch/s390/mm/gmap.c

0959e168678d2d Janosch Frank      2018-07-17  2487  
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2488  static inline void thp_split_mm(struct mm_struct *mm)
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2489  {
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2490  #ifdef CONFIG_TRANSPARENT_HUGEPAGE
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2491  	struct vm_area_struct *vma;
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2492  	unsigned long addr;
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2493  
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2494  	for (vma = mm->mmap; vma != NULL; vma = vma->vm_next) {
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2495  		for (addr = vma->vm_start;
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2496  		     addr < vma->vm_end;
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2497  		     addr += PAGE_SIZE)
1e133ab296f3ff Martin Schwidefsky 2016-03-08 @2498  			follow_page(vma, addr, FOLL_SPLIT);
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2499  		vma->vm_flags &= ~VM_HUGEPAGE;
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2500  		vma->vm_flags |= VM_NOHUGEPAGE;
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2501  	}
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2502  	mm->def_flags |= VM_NOHUGEPAGE;
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2503  #endif
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2504  }
1e133ab296f3ff Martin Schwidefsky 2016-03-08  2505  

---
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: 26484 bytes --]

  reply	other threads:[~2021-03-30  6:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29 19:38 Yang Shi
2021-03-30  6:24 ` kernel test robot [this message]
2021-03-30  7:08   ` John Hubbard
2021-04-09  8:44     ` [kbuild-all] " Rong Chen
2021-03-30  7:08 ` John Hubbard
2021-03-30 16:34   ` Yang Shi

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=202103301403.u00aVRF6-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=shy828301@gmail.com \
    /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