From: Punit Agrawal <punit.agrawal@arm.com>
To: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, akpm@linux-foundation.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com,
will.deacon@arm.com, n-horiguchi@ah.jp.nec.com,
kirill.shutemov@linux.intel.com, mike.kravetz@oracle.com,
steve.capper@arm.com, mark.rutland@arm.com,
linux-arch@vger.kernel.org, aneesh.kumar@linux.vnet.ibm.com
Subject: Re: [PATCH v4 8/8] mm: rmap: Use correct helper when poisoning hugepages
Date: Thu, 25 May 2017 18:22:04 +0100 [thread overview]
Message-ID: <878tlkets3.fsf@e105922-lin.cambridge.arm.com> (raw)
In-Reply-To: <201705250342.fHpDVCsZ%fengguang.wu@intel.com> (kbuild test robot's message of "Thu, 25 May 2017 03:20:35 +0800")
kbuild test robot <lkp@intel.com> writes:
> Hi Punit,
>
> [auto build test ERROR on linus/master]
> [also build test ERROR on v4.12-rc2 next-20170524]
> [cannot apply to mmotm/master]
> [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/Punit-Agrawal/Support-for-contiguous-pte-hugepages/20170524-221905
> config: x86_64-kexec (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=x86_64
>
> All errors (new ones prefixed by >>):
>
> mm/rmap.c: In function 'try_to_unmap_one':
>>> mm/rmap.c:1386:5: error: implicit declaration of function 'set_huge_swap_pte_at' [-Werror=implicit-function-declaration]
> set_huge_swap_pte_at(mm, address,
> ^~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
>
> vim +/set_huge_swap_pte_at +1386 mm/rmap.c
>
> 1380
> 1381 if (PageHWPoison(page) && !(flags & TTU_IGNORE_HWPOISON)) {
> 1382 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage));
> 1383 if (PageHuge(page)) {
> 1384 int nr = 1 << compound_order(page);
> 1385 hugetlb_count_sub(nr, mm);
>> 1386 set_huge_swap_pte_at(mm, address,
> 1387 pvmw.pte, pteval,
> 1388 vma_mmu_pagesize(vma));
> 1389 } else {
>
Thanks for the report. The build failure is caused due to missing
function definition for set_huge_swap_pte_at() when CONFIG_HUGETLB_PAGE
is disabled. I've posted an update to Patch 7 where the function is
introduced to fix this issue.
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2017-05-25 17:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-24 11:54 [PATCH v4 0/8] Support for contiguous pte hugepages Punit Agrawal
2017-05-24 11:54 ` [PATCH v4 1/8] arm64: hugetlb: Refactor find_num_contig Punit Agrawal
2017-05-24 11:54 ` [PATCH v4 2/8] arm64: hugetlb: Remove spurious calls to huge_ptep_offset Punit Agrawal
2017-05-24 11:54 ` [PATCH v4 3/8] mm, gup: Remove broken VM_BUG_ON_PAGE compound check for hugepages Punit Agrawal
2017-05-24 11:54 ` [PATCH v4 4/8] mm, gup: Ensure real head page is ref-counted when using hugepages Punit Agrawal
2017-06-05 12:51 ` [PATCH v4.1 " Punit Agrawal
2017-06-12 14:36 ` Punit Agrawal
2017-05-24 11:54 ` [PATCH v4 5/8] mm/hugetlb: add size parameter to huge_pte_offset() Punit Agrawal
2017-05-24 11:54 ` [PATCH v4 6/8] mm/hugetlb: Allow architectures to override huge_pte_clear() Punit Agrawal
2017-05-24 11:54 ` [PATCH v4 7/8] mm/hugetlb: Introduce set_huge_swap_pte_at() helper Punit Agrawal
2017-05-25 17:13 ` [PATCH v4.1 " Punit Agrawal
2017-05-24 11:54 ` [PATCH v4 8/8] mm: rmap: Use correct helper when poisoning hugepages Punit Agrawal
2017-05-24 19:20 ` kbuild test robot
2017-05-25 17:22 ` Punit Agrawal [this message]
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=878tlkets3.fsf@e105922-lin.cambridge.arm.com \
--to=punit.agrawal@arm.com \
--cc=akpm@linux-foundation.org \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=catalin.marinas@arm.com \
--cc=kbuild-all@01.org \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=mark.rutland@arm.com \
--cc=mike.kravetz@oracle.com \
--cc=n-horiguchi@ah.jp.nec.com \
--cc=steve.capper@arm.com \
--cc=will.deacon@arm.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