All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, mhocko@suse.com, vbabka@suse.cz,
	mgorman@suse.de, minchan@kernel.org,
	aneesh.kumar@linux.vnet.ibm.com, bsingharora@gmail.com,
	srikar@linux.vnet.ibm.com, haren@linux.vnet.ibm.com,
	jglisse@redhat.com, dave.hansen@intel.com,
	dan.j.williams@intel.com, zi.yan@cs.rutgers.edu
Subject: Re: [PATCH 3/6] mm/migrate: Add copy_pages_mthread function
Date: Fri, 17 Feb 2017 20:27:43 +0800	[thread overview]
Message-ID: <201702172013.pEgvczPM%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170217112453.307-4-khandual@linux.vnet.ibm.com>

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

Hi Zi,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.10-rc8 next-20170216]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Anshuman-Khandual/Enable-parallel-page-migration/20170217-200523
config: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   mm/copy_pages_mthread.c: In function 'copy_pages_mthread':
>> mm/copy_pages_mthread.c:49:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     cpumask = cpumask_of_node(node);
             ^

vim +/const +49 mm/copy_pages_mthread.c

    33	static void copythread(struct work_struct *work)
    34	{
    35		struct copy_info *info = (struct copy_info *) work;
    36	
    37		copy_pages(info->to, info->from, info->chunk_size);
    38	}
    39	
    40	int copy_pages_mthread(struct page *to, struct page *from, int nr_pages)
    41	{
    42		struct cpumask *cpumask;
    43		struct copy_info *work_items;
    44		char *vto, *vfrom;
    45		unsigned long i, cthreads, cpu, node, chunk_size;
    46		int cpu_id_list[32] = {0};
    47	
    48		node = page_to_nid(to);
  > 49		cpumask = cpumask_of_node(node);
    50		cthreads = nr_copythreads;
    51		cthreads = min_t(unsigned int, cthreads, cpumask_weight(cpumask));
    52		cthreads = (cthreads / 2) * 2;
    53		work_items = kcalloc(cthreads, sizeof(struct copy_info), GFP_KERNEL);
    54		if (!work_items)
    55			return -ENOMEM;
    56	
    57		i = 0;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 6397 bytes --]

  reply	other threads:[~2017-02-17 12:28 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17 11:24 [PATCH 0/6] Enable parallel page migration Anshuman Khandual
2017-02-17 11:24 ` Anshuman Khandual
2017-02-17 11:24 ` [PATCH 1/6] mm/migrate: Add new mode parameter to migrate_page_copy() function Anshuman Khandual
2017-02-17 11:24   ` Anshuman Khandual
2017-03-09  6:24   ` Anshuman Khandual
2017-03-09  6:24     ` Anshuman Khandual
2017-02-17 11:24 ` [PATCH 2/6] mm/migrate: Make migrate_mode types non-exclusive Anshuman Khandual
2017-02-17 11:24   ` Anshuman Khandual
2017-02-17 11:24 ` [PATCH 3/6] mm/migrate: Add copy_pages_mthread function Anshuman Khandual
2017-02-17 11:24   ` Anshuman Khandual
2017-02-17 12:27   ` kbuild test robot [this message]
2017-03-08 15:40     ` Anshuman Khandual
2017-03-08 15:40       ` Anshuman Khandual
2017-03-09  6:25   ` Anshuman Khandual
2017-03-09  6:25     ` Anshuman Khandual
2017-02-17 11:24 ` [PATCH 4/6] mm/migrate: Add new migrate mode MIGRATE_MT Anshuman Khandual
2017-02-17 11:24   ` Anshuman Khandual
2017-02-17 11:24 ` [PATCH 5/6] mm/migrate: Add new migration flag MPOL_MF_MOVE_MT for syscalls Anshuman Khandual
2017-02-17 11:24   ` Anshuman Khandual
2017-03-09  6:26   ` Anshuman Khandual
2017-03-09  6:26     ` Anshuman Khandual
2017-02-17 11:24 ` [PATCH 6/6] sysctl: Add global tunable mt_page_copy Anshuman Khandual
2017-02-17 11:24   ` Anshuman Khandual
2017-02-17 15:30   ` kbuild test robot
2017-03-08 15:37     ` Anshuman Khandual
2017-03-08 15:37       ` Anshuman Khandual
2017-03-10  1:12       ` [kbuild-all] " Ye Xiaolong
2017-03-10  1:12         ` Ye Xiaolong
2017-03-10 12:11         ` Anshuman Khandual
2017-03-10 12:11           ` Anshuman Khandual
2017-02-22  5:04 ` [PATCH 0/6] Enable parallel page migration Balbir Singh
2017-02-22  5:04   ` Balbir Singh
2017-02-22  5:55   ` Anshuman Khandual
2017-02-22  5:55     ` Anshuman Khandual
2017-02-22 10:52     ` Balbir Singh
2017-02-22 10:52       ` Balbir Singh
2017-03-08 16:04 ` Anshuman Khandual
2017-03-08 16:04   ` Anshuman Khandual
2017-03-09 15:09   ` Mel Gorman
2017-03-09 15:09     ` Mel Gorman
2017-03-09 17:38     ` David Nellans
2017-03-09 17:38       ` David Nellans
2017-03-09 22:15       ` Mel Gorman
2017-03-09 22:15         ` Mel Gorman
2017-03-09 23:46         ` Zi Yan
2017-03-09 23:46           ` Zi Yan
2017-03-10 14:07           ` Mel Gorman
2017-03-10 14:07             ` Mel Gorman
2017-03-10 14:45             ` Michal Hocko
2017-03-10 14:45               ` Michal Hocko
2017-03-10 13:05     ` Michal Hocko
2017-03-10 13:05       ` Michal Hocko

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=201702172013.pEgvczPM%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=bsingharora@gmail.com \
    --cc=dan.j.williams@intel.com \
    --cc=dave.hansen@intel.com \
    --cc=haren@linux.vnet.ibm.com \
    --cc=jglisse@redhat.com \
    --cc=kbuild-all@01.org \
    --cc=khandual@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@suse.de \
    --cc=mhocko@suse.com \
    --cc=minchan@kernel.org \
    --cc=srikar@linux.vnet.ibm.com \
    --cc=vbabka@suse.cz \
    --cc=zi.yan@cs.rutgers.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 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.