From: kbuild test robot <lkp@intel.com>
To: "Jérôme Glisse" <jglisse@redhat.com>
Cc: kbuild-all@01.org, akpm@linux-foundation.org,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
John Hubbard <jhubbard@nvidia.com>,
Dan Williams <dan.j.williams@intel.com>,
David Nellans <dnellans@nvidia.com>,
Ross Zwisler <ross.zwisler@linux.intel.com>
Subject: Re: [PATCH 07/15] mm/ZONE_DEVICE: new type of ZONE_DEVICE for unaddressable memory v4
Date: Sat, 1 Jul 2017 08:16:37 +0800 [thread overview]
Message-ID: <201707010848.0yvHryCT%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170628180047.5386-8-jglisse@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 3002 bytes --]
Hi Jerome,
[auto build test WARNING on mmotm/master]
[also build test WARNING on next-20170630]
[cannot apply to linus/master v4.12-rc7]
[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/J-r-me-Glisse/HMM-Heterogeneous-Memory-Management-v24/20170629-232809
base: git://git.cmpxchg.org/linux-mmotm.git master
config: x86_64-randconfig-a0-07010546 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
mm/shmem.c: In function 'shmem_free_swap':
>> mm/shmem.c:647: warning: value computed is not used
--
mm/madvise.c: In function 'madvise_free_pte_range':
>> mm/madvise.c:341: warning: value computed is not used
vim +647 mm/shmem.c
6922c0c7 Hugh Dickins 2011-08-03 631 BUG_ON(error);
6922c0c7 Hugh Dickins 2011-08-03 632 }
6922c0c7 Hugh Dickins 2011-08-03 633
6922c0c7 Hugh Dickins 2011-08-03 634 /*
7a5d0fbb Hugh Dickins 2011-08-03 635 * Remove swap entry from radix tree, free the swap and its page cache.
7a5d0fbb Hugh Dickins 2011-08-03 636 */
7a5d0fbb Hugh Dickins 2011-08-03 637 static int shmem_free_swap(struct address_space *mapping,
7a5d0fbb Hugh Dickins 2011-08-03 638 pgoff_t index, void *radswap)
7a5d0fbb Hugh Dickins 2011-08-03 639 {
6dbaf22c Johannes Weiner 2014-04-03 640 void *old;
7a5d0fbb Hugh Dickins 2011-08-03 641
7a5d0fbb Hugh Dickins 2011-08-03 642 spin_lock_irq(&mapping->tree_lock);
6dbaf22c Johannes Weiner 2014-04-03 643 old = radix_tree_delete_item(&mapping->page_tree, index, radswap);
7a5d0fbb Hugh Dickins 2011-08-03 644 spin_unlock_irq(&mapping->tree_lock);
6dbaf22c Johannes Weiner 2014-04-03 645 if (old != radswap)
6dbaf22c Johannes Weiner 2014-04-03 646 return -ENOENT;
7a5d0fbb Hugh Dickins 2011-08-03 @647 free_swap_and_cache(radix_to_swp_entry(radswap));
6dbaf22c Johannes Weiner 2014-04-03 648 return 0;
7a5d0fbb Hugh Dickins 2011-08-03 649 }
7a5d0fbb Hugh Dickins 2011-08-03 650
7a5d0fbb Hugh Dickins 2011-08-03 651 /*
6a15a370 Vlastimil Babka 2016-01-14 652 * Determine (in bytes) how many of the shmem object's pages mapped by the
48131e03 Vlastimil Babka 2016-01-14 653 * given offsets are swapped out.
6a15a370 Vlastimil Babka 2016-01-14 654 *
6a15a370 Vlastimil Babka 2016-01-14 655 * This is safe to call without i_mutex or mapping->tree_lock thanks to RCU,
:::::: The code at line 647 was first introduced by commit
:::::: 7a5d0fbb29936fad7f17b1cb001b0c33a5f13328 tmpfs: convert shmem_truncate_range to radix-swap
:::::: TO: Hugh Dickins <hughd@google.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
---
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: 24078 bytes --]
next prev parent reply other threads:[~2017-07-01 0:17 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-28 18:00 [PATCH 00/15] HMM (Heterogeneous Memory Management) v24 Jérôme Glisse
2017-06-28 18:00 ` [PATCH 01/15] hmm: heterogeneous memory management documentation v2 Jérôme Glisse
2017-06-28 18:00 ` [PATCH 02/15] mm/hmm: heterogeneous memory management (HMM for short) v4 Jérôme Glisse
2017-06-28 18:00 ` [PATCH 03/15] mm/hmm/mirror: mirror process address space on device with HMM helpers v3 Jérôme Glisse
2017-06-28 18:00 ` [PATCH 04/15] mm/hmm/mirror: helper to snapshot CPU page table v3 Jérôme Glisse
2017-06-28 18:00 ` [PATCH 05/15] mm/hmm/mirror: device page fault handler Jérôme Glisse
2017-06-28 18:00 ` [PATCH 06/15] mm/memory_hotplug: introduce add_pages Jérôme Glisse
2017-06-28 18:00 ` [PATCH 07/15] mm/ZONE_DEVICE: new type of ZONE_DEVICE for unaddressable memory v4 Jérôme Glisse
2017-07-01 0:16 ` kbuild test robot [this message]
2017-06-28 18:00 ` [PATCH 08/15] mm/ZONE_DEVICE: special case put_page() for device private pages v2 Jérôme Glisse
2017-06-28 18:00 ` [PATCH 09/15] mm/hmm/devmem: device memory hotplug using ZONE_DEVICE v6 Jérôme Glisse
2017-07-18 21:41 ` Evgeny Baskakov
2017-07-28 11:10 ` Michal Hocko
2017-07-31 17:21 ` Jerome Glisse
2017-08-01 12:17 ` Michal Hocko
2017-06-28 18:00 ` [PATCH 10/15] mm/hmm/devmem: dummy HMM device for ZONE_DEVICE memory v3 Jérôme Glisse
2017-06-28 18:00 ` [PATCH 11/15] mm/migrate: new migrate mode MIGRATE_SYNC_NO_COPY Jérôme Glisse
2017-06-28 18:00 ` [PATCH 12/15] mm/migrate: new memory migration helper for use with device memory v4 Jérôme Glisse
2017-06-28 18:00 ` [PATCH 13/15] mm/migrate: migrate_vma() unmap page from vma while collecting pages Jérôme Glisse
2017-06-28 18:00 ` [PATCH 14/15] mm/migrate: support un-addressable ZONE_DEVICE page in migration v2 Jérôme Glisse
2017-06-28 18:00 ` [PATCH 15/15] mm/migrate: allow migrate_vma() to alloc new page on empty entry v3 Jérôme Glisse
2017-06-30 5:32 ` [PATCH 00/15] HMM (Heterogeneous Memory Management) v24 John Hubbard
2017-06-30 19:49 ` Jerome Glisse
2017-07-19 11:48 ` Yisheng Xie
2017-07-20 17:18 ` Jerome Glisse
2017-07-21 9:03 ` Yisheng Xie
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=201707010848.0yvHryCT%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=dan.j.williams@intel.com \
--cc=dnellans@nvidia.com \
--cc=jglisse@redhat.com \
--cc=jhubbard@nvidia.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=ross.zwisler@linux.intel.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