linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: ultrachin@163.com, akpm@linux-foundation.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, brookxu.cn@gmail.com,
	chen xiaoguang <xiaoggchen@tencent.com>,
	zeng jingxiang <linuszeng@tencent.com>,
	lu yihui <yihuilu@tencent.com>
Subject: Re: [PATCH] mm: Free per cpu pages async to shorten program exit time
Date: Fri, 8 Oct 2021 19:27:14 +0800	[thread overview]
Message-ID: <202110081951.Dh3skhE4-lkp@intel.com> (raw)
In-Reply-To: <20211008063933.331989-1-ultrachin@163.com>

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

Hi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linux/master]
[also build test ERROR on linus/master v5.15-rc4]
[cannot apply to hnaz-mm/master next-20210922]
[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]

url:    https://github.com/0day-ci/linux/commits/ultrachin-163-com/mm-Free-per-cpu-pages-async-to-shorten-program-exit-time/20211008-145835
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 5816b3e6577eaa676ceb00a848f0fd65fe2adc29
config: nios2-randconfig-r004-20211008 (attached as .config)
compiler: nios2-linux-gcc (GCC) 11.2.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/3e55b36596eb3a798c6f649e5e1c0f5eac8522b3
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review ultrachin-163-com/mm-Free-per-cpu-pages-async-to-shorten-program-exit-time/20211008-145835
        git checkout 3e55b36596eb3a798c6f649e5e1c0f5eac8522b3
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 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 >>):

   kernel/exit.c: In function 'delayed_put_task_struct':
>> kernel/exit.c:170:31: error: 'struct task_struct' has no member named 'cpu'
     170 |         unsigned int cpu = tsk->cpu;
         |                               ^~
   kernel/exit.c: At top level:
   kernel/exit.c:1812:13: warning: no previous prototype for 'abort' [-Wmissing-prototypes]
    1812 | __weak void abort(void)
         |             ^~~~~


vim +170 kernel/exit.c

   166	
   167	static void delayed_put_task_struct(struct rcu_head *rhp)
   168	{
   169		struct task_struct *tsk = container_of(rhp, struct task_struct, rcu);
 > 170		unsigned int cpu = tsk->cpu;
   171	
   172		perf_event_delayed_put(tsk);
   173		trace_sched_process_free(tsk);
   174		put_task_struct(tsk);
   175		kfreepcp_set_run(cpu);
   176	}
   177	

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

  parent reply	other threads:[~2021-10-08 11:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211008063933.331989-1-ultrachin@163.com>
2021-10-08  8:17 ` [PATCH] mm: Free per cpu pages async to shorten program exit time David Hildenbrand
2021-10-08  8:52   ` Claudio Imbrenda
2021-10-08  9:15     ` David Hildenbrand
2021-10-08  9:22       ` Claudio Imbrenda
2021-10-08  9:24         ` David Hildenbrand
2021-10-08 12:38   ` Vlastimil Babka
2021-10-08 12:54     ` Claudio Imbrenda
2021-10-08 12:55     ` David Hildenbrand
2021-10-10 22:42     ` Andrew Morton
2021-10-11  9:28   ` Michal Hocko
2021-10-11  9:40     ` David Hildenbrand
2021-10-11 11:23       ` Michal Hocko
2021-10-13 17:38     ` Daniel Jordan
2021-10-08 11:27 ` kernel test robot [this message]
2021-10-08 12:29 ` kernel test robot
2021-10-11  8:20 ` [mm] 3e55b36596: kernel_BUG_at_mm/page_alloc.c kernel test robot

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=202110081951.Dh3skhE4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=brookxu.cn@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linuszeng@tencent.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=ultrachin@163.com \
    --cc=xiaoggchen@tencent.com \
    --cc=yihuilu@tencent.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;
as well as URLs for NNTP newsgroup(s).