From: kbuild test robot <lkp@intel.com>
To: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Cc: kbuild-all@01.org, linux-mm@kvack.org, hughd@google.com,
riel@redhat.com, akpm@linux-foundation.org,
kirill.shutemov@linux.intel.com, n-horiguchi@ah.jp.nec.com,
aarcange@redhat.com, iamjoonsoo.kim@lge.com, gorcunov@openvz.org,
linux-kernel@vger.kernel.org, mgorman@suse.de,
rientjes@google.com, vbabka@suse.cz,
aneesh.kumar@linux.vnet.ibm.com, hannes@cmpxchg.org,
mhocko@suse.cz, boaz@plexistor.com,
Ebru Akagunduz <ebru.akagunduz@gmail.com>
Subject: Re: [PATCH v5 2/2] mm, thp: avoid unnecessary swapin in khugepaged
Date: Fri, 8 Apr 2016 01:48:45 +0800 [thread overview]
Message-ID: <201604080155.9NHtyZH5%fengguang.wu@intel.com> (raw)
In-Reply-To: <1460050081-10765-1-git-send-email-ebru.akagunduz@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2816 bytes --]
Hi Ebru,
[auto build test ERROR on next-20160407]
[cannot apply to v4.6-rc2 v4.6-rc1 v4.5-rc7 v4.6-rc2]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Ebru-Akagunduz/mm-thp-Fix-unnecessarry-resource-consuming-in-swapin/20160408-013104
config: i386-randconfig-x016-201614 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
In file included from include/asm-generic/bug.h:4:0,
from arch/x86/include/asm/bug.h:35,
from include/linux/bug.h:4,
from include/linux/mmdebug.h:4,
from include/linux/mm.h:8,
from mm/huge_memory.c:10:
mm/huge_memory.c: In function 'collapse_huge_page':
>> include/linux/compiler.h:149:57: error: expected expression before ')' token
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
include/linux/compiler.h:151:30: note: in definition of macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^
>> mm/huge_memory.c:2516:2: note: in expansion of macro 'if'
if (allocstall == curr_allocstall && swap !=)
^
>> include/linux/compiler.h:149:57: error: expected expression before ')' token
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
include/linux/compiler.h:162:16: note: in definition of macro '__trace_if'
______r = !!(cond); \
^
>> mm/huge_memory.c:2516:2: note: in expansion of macro 'if'
if (allocstall == curr_allocstall && swap !=)
^
vim +/if +2516 mm/huge_memory.c
2500 if (!hugepage_vma_check(vma)) {
2501 result = SCAN_VMA_CHECK;
2502 goto out;
2503 }
2504 pmd = mm_find_pmd(mm, address);
2505 if (!pmd) {
2506 result = SCAN_PMD_NULL;
2507 goto out;
2508 }
2509
2510 swap = get_mm_counter(mm, MM_SWAPENTS);
2511 curr_allocstall = sum_vm_event(ALLOCSTALL);
2512 /*
2513 * When system under pressure, don't swapin readahead.
2514 * So that avoid unnecessary resource consuming.
2515 */
> 2516 if (allocstall == curr_allocstall && swap !=)
2517 __collapse_huge_page_swapin(mm, vma, address, pmd);
2518
2519 anon_vma_lock_write(vma->anon_vma);
2520
2521 pte = pte_offset_map(pmd, address);
2522 pte_ptl = pte_lockptr(mm, pmd);
2523
2524 mmun_start = address;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 28842 bytes --]
next prev parent reply other threads:[~2016-04-07 17:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-07 17:24 [PATCH v5 0/2] mm, thp: Fix unnecessarry resource consuming in swapin Ebru Akagunduz
2016-04-07 17:26 ` [PATCH v5 1/2] mm, vmstat: calculate particular vm event Ebru Akagunduz
2016-04-07 20:15 ` Christoph Lameter
2016-04-07 17:28 ` [PATCH v5 2/2] mm, thp: avoid unnecessary swapin in khugepaged Ebru Akagunduz
2016-04-07 17:34 ` Rik van Riel
2016-04-07 17:39 ` kbuild test robot
2016-04-07 17:48 ` kbuild test robot [this message]
2016-04-07 18:58 ` Cyrill Gorcunov
2016-04-07 19:39 ` Rik van Riel
2016-04-07 19:47 ` Cyrill Gorcunov
2016-04-07 20:11 ` Ebru Akagunduz
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=201604080155.9NHtyZH5%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=aarcange@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=boaz@plexistor.com \
--cc=ebru.akagunduz@gmail.com \
--cc=gorcunov@openvz.org \
--cc=hannes@cmpxchg.org \
--cc=hughd@google.com \
--cc=iamjoonsoo.kim@lge.com \
--cc=kbuild-all@01.org \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mgorman@suse.de \
--cc=mhocko@suse.cz \
--cc=n-horiguchi@ah.jp.nec.com \
--cc=riel@redhat.com \
--cc=rientjes@google.com \
--cc=vbabka@suse.cz \
/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
all inboxes | Powered by JetHome®