From: kbuild test robot <lkp@intel.com>
To: "Kirill A. Shutemov" <kirill@shutemov.name>
Cc: kbuild-all@01.org, Hugh Dickins <hughd@google.com>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
Andrea Arcangeli <aarcange@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>,
Andi Kleen <ak@linux.intel.com>,
Dave Chinner <david@fromorbit.com>,
Michal Hocko <mhocko@kernel.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] shmem: avoid huge pages for small files
Date: Fri, 11 Nov 2016 01:42:47 +0800 [thread overview]
Message-ID: <201611110147.n5fpiarv%fengguang.wu@intel.com> (raw)
In-Reply-To: <20161110162540.GA12743@node.shutemov.name>
[-- Attachment #1: Type: text/plain, Size: 2966 bytes --]
Hi Kirill,
[auto build test WARNING on linus/master]
[also build test WARNING on v4.9-rc4 next-20161110]
[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/Kirill-A-Shutemov/shmem-avoid-huge-pages-for-small-files/20161111-005428
config: i386-randconfig-s0-201645 (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/shmem.c: In function 'shmem_getpage_gfp':
>> mm/shmem.c:1680:12: warning: unused variable 'off' [-Wunused-variable]
pgoff_t off;
^~~
vim +/off +1680 mm/shmem.c
66d2f4d2 Hugh Dickins 2014-07-02 1664 mark_page_accessed(page);
66d2f4d2 Hugh Dickins 2014-07-02 1665
54af6042 Hugh Dickins 2011-08-03 1666 delete_from_swap_cache(page);
27ab7006 Hugh Dickins 2011-07-25 1667 set_page_dirty(page);
27ab7006 Hugh Dickins 2011-07-25 1668 swap_free(swap);
27ab7006 Hugh Dickins 2011-07-25 1669
54af6042 Hugh Dickins 2011-08-03 1670 } else {
800d8c63 Kirill A. Shutemov 2016-07-26 1671 /* shmem_symlink() */
800d8c63 Kirill A. Shutemov 2016-07-26 1672 if (mapping->a_ops != &shmem_aops)
800d8c63 Kirill A. Shutemov 2016-07-26 1673 goto alloc_nohuge;
657e3038 Kirill A. Shutemov 2016-07-26 1674 if (shmem_huge == SHMEM_HUGE_DENY || sgp_huge == SGP_NOHUGE)
800d8c63 Kirill A. Shutemov 2016-07-26 1675 goto alloc_nohuge;
800d8c63 Kirill A. Shutemov 2016-07-26 1676 if (shmem_huge == SHMEM_HUGE_FORCE)
800d8c63 Kirill A. Shutemov 2016-07-26 1677 goto alloc_huge;
800d8c63 Kirill A. Shutemov 2016-07-26 1678 switch (sbinfo->huge) {
800d8c63 Kirill A. Shutemov 2016-07-26 1679 loff_t i_size;
800d8c63 Kirill A. Shutemov 2016-07-26 @1680 pgoff_t off;
800d8c63 Kirill A. Shutemov 2016-07-26 1681 case SHMEM_HUGE_NEVER:
800d8c63 Kirill A. Shutemov 2016-07-26 1682 goto alloc_nohuge;
800d8c63 Kirill A. Shutemov 2016-07-26 1683 case SHMEM_HUGE_WITHIN_SIZE:
bb89f249 Kirill A. Shutemov 2016-11-10 1684 i_size = i_size_read(inode);
bb89f249 Kirill A. Shutemov 2016-11-10 1685 if (index >= HPAGE_PMD_NR || i_size >= HPAGE_PMD_SIZE)
800d8c63 Kirill A. Shutemov 2016-07-26 1686 goto alloc_huge;
800d8c63 Kirill A. Shutemov 2016-07-26 1687 /* fallthrough */
800d8c63 Kirill A. Shutemov 2016-07-26 1688 case SHMEM_HUGE_ADVISE:
:::::: The code at line 1680 was first introduced by commit
:::::: 800d8c63b2e989c2e349632d1648119bf5862f01 shmem: add huge pages support
:::::: TO: Kirill A. Shutemov <kirill.shutemov@linux.intel.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: 21473 bytes --]
next prev parent reply other threads:[~2016-11-10 17:43 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-21 18:51 [PATCHv4] shmem: avoid huge pages for small files Kirill A. Shutemov
2016-10-21 22:46 ` Kirill A. Shutemov
2016-10-24 12:43 ` Michal Hocko
2016-11-07 23:17 ` Hugh Dickins
2016-11-10 16:25 ` Kirill A. Shutemov
2016-11-10 17:42 ` kbuild test robot [this message]
2016-11-10 17:51 ` [PATCH] " Kirill A. Shutemov
2016-11-11 21:41 ` [PATCHv4] " Hugh Dickins
2016-11-14 14:09 ` Kirill A. Shutemov
2016-11-29 3:56 ` Hugh Dickins
2016-11-29 11:11 ` Kirill A. Shutemov
-- strict thread matches above, loose matches on Subject: below --
2016-10-17 12:18 [PATCH] " Kirill A. Shutemov
2016-10-17 12:30 ` Kirill A. Shutemov
2016-10-17 14:12 ` Michal Hocko
2016-10-17 14:55 ` Kirill A. Shutemov
2016-10-18 14:20 ` Michal Hocko
2016-10-18 14:32 ` Kirill A. Shutemov
2016-10-18 18:30 ` Michal Hocko
2016-10-19 18:13 ` Hugh Dickins
2016-10-20 10:39 ` Kirill A. Shutemov
2016-10-20 22:46 ` Dave Chinner
2016-10-21 2:01 ` Andi Kleen
2016-10-21 5:01 ` Dave Chinner
2016-10-21 15:00 ` Kirill A. Shutemov
2016-10-21 15:12 ` Michal Hocko
2016-10-21 22:50 ` Dave Chinner
2016-10-21 23:32 ` Kirill A. Shutemov
2016-10-24 20:34 ` Dave Hansen
2016-10-25 5:28 ` Dave Chinner
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=201611110147.n5fpiarv%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=aarcange@redhat.com \
--cc=ak@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=david@fromorbit.com \
--cc=hughd@google.com \
--cc=kbuild-all@01.org \
--cc=kirill.shutemov@linux.intel.com \
--cc=kirill@shutemov.name \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@kernel.org \
/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).