From: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> To: Andrea Arcangeli <aarcange@redhat.com> Cc: linux-mm@kvack.org, Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org, Marcelo Tosatti <mtosatti@redhat.com>, Adam Litke <agl@us.ibm.com>, Avi Kivity <avi@redhat.com>, Izik Eidus <ieidus@redhat.com>, Hugh Dickins <hugh.dickins@tiscali.co.uk>, Nick Piggin <npiggin@suse.de>, Rik van Riel <riel@redhat.com>, Mel Gorman <mel@csn.ul.ie>, Dave Hansen <dave@linux.vnet.ibm.com>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Ingo Molnar <mingo@elte.hu>, Mike Travis <travis@sgi.com>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>, Christoph Lameter <cl@linux-foundation.org>, Chris Wright <chrisw@sous-sol.org>, bpicco@redhat.com, KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>, Balbir Singh <balbir@linux.vnet.ibm.com>, "Michael S. Tsirkin" <mst@redhat.com>, Peter Zijlstra <peterz@infradead.org>, Johannes Weiner <hannes@cmpxchg.org>, Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>, Chris Mason <chris.mason@oracle.com>, Borislav Petkov <bp@alien8.de> Subject: Re: Transparent Hugepage Support #30 Date: Mon, 4 Oct 2010 12:24:51 +0900 [thread overview] Message-ID: <20101004032451.GA11622@spritzera.linux.bs1.fc.nec.co.jp> (raw) In-Reply-To: <20100901190859.GA20316@random.random> Hi, I experienced build error of "calling pte_alloc_map() with 3 parameters, while it's defined to have 4 parameters" in arch/x86/kernel/tboot.c etc. Is the following chunk in patch "pte alloc trans splitting" necessary? @@ -1167,16 +1168,18 @@ static inline void pgtable_page_dtor(struct page *page) pte_unmap(pte); \ } while (0) -#define pte_alloc_map(mm, pmd, address) \ - ((unlikely(!pmd_present(*(pmd))) && __pte_alloc(mm, pmd, address))? \ - NULL: pte_offset_map(pmd, address)) +#define pte_alloc_map(mm, vma, pmd, address) \ + ((unlikely(pmd_none(*(pmd))) && __pte_alloc(mm, vma, \ + pmd, address))? \ + NULL: pte_offset_map(pmd, address)) Thanks, Naoya Horiguchi
WARNING: multiple messages have this Message-ID (diff)
From: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> To: Andrea Arcangeli <aarcange@redhat.com> Cc: linux-mm@kvack.org, Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org, Marcelo Tosatti <mtosatti@redhat.com>, Adam Litke <agl@us.ibm.com>, Avi Kivity <avi@redhat.com>, Izik Eidus <ieidus@redhat.com>, Hugh Dickins <hugh.dickins@tiscali.co.uk>, Nick Piggin <npiggin@suse.de>, Rik van Riel <riel@redhat.com>, Mel Gorman <mel@csn.ul.ie>, Dave Hansen <dave@linux.vnet.ibm.com>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Ingo Molnar <mingo@elte.hu>, Mike Travis <travis@sgi.com>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>, Christoph Lameter <cl@linux-foundation.org>, Chris Wright <chrisw@sous-sol.org>, bpicco@redhat.com, KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>, Balbir Singh <balbir@linux.vnet.ibm.com>, "Michael S. Tsirkin" <mst@redhat.com>, Peter Zijlstra <peterz@infradead.org>, Johannes Weiner <hannes@cmpxchg.org>, Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>, Chris Mason <chris.mason@oracle.com>, Borislav Petkov <bp@alien8.de> Subject: Re: Transparent Hugepage Support #30 Date: Mon, 4 Oct 2010 12:24:51 +0900 [thread overview] Message-ID: <20101004032451.GA11622@spritzera.linux.bs1.fc.nec.co.jp> (raw) In-Reply-To: <20100901190859.GA20316@random.random> Hi, I experienced build error of "calling pte_alloc_map() with 3 parameters, while it's defined to have 4 parameters" in arch/x86/kernel/tboot.c etc. Is the following chunk in patch "pte alloc trans splitting" necessary? @@ -1167,16 +1168,18 @@ static inline void pgtable_page_dtor(struct page *page) pte_unmap(pte); \ } while (0) -#define pte_alloc_map(mm, pmd, address) \ - ((unlikely(!pmd_present(*(pmd))) && __pte_alloc(mm, pmd, address))? \ - NULL: pte_offset_map(pmd, address)) +#define pte_alloc_map(mm, vma, pmd, address) \ + ((unlikely(pmd_none(*(pmd))) && __pte_alloc(mm, vma, \ + pmd, address))? \ + NULL: pte_offset_map(pmd, address)) Thanks, Naoya Horiguchi -- 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>
next prev parent reply other threads:[~2010-10-04 3:25 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-09-01 19:08 Transparent Hugepage Support #30 Andrea Arcangeli 2010-09-01 19:08 ` Andrea Arcangeli 2010-09-01 19:44 ` [patch] transparent hugepage sysfs meminfo David Rientjes 2010-09-01 19:44 ` David Rientjes 2010-09-01 19:50 ` Andrea Arcangeli 2010-09-01 19:50 ` Andrea Arcangeli 2010-09-09 10:46 ` Transparent Hugepage Support #30 Balbir Singh 2010-09-09 10:46 ` Balbir Singh 2010-09-09 23:40 ` Andrea Arcangeli 2010-09-09 23:40 ` Andrea Arcangeli 2010-09-13 9:34 ` Balbir Singh 2010-09-13 9:34 ` Balbir Singh 2010-09-15 13:42 ` Andrea Arcangeli 2010-09-15 13:42 ` Andrea Arcangeli 2010-10-04 3:24 ` Naoya Horiguchi [this message] 2010-10-04 3:24 ` Naoya Horiguchi 2010-10-05 19:18 ` Andrea Arcangeli 2010-10-05 19:18 ` Andrea Arcangeli
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=20101004032451.GA11622@spritzera.linux.bs1.fc.nec.co.jp \ --to=n-horiguchi@ah.jp.nec.com \ --cc=aarcange@redhat.com \ --cc=agl@us.ibm.com \ --cc=akpm@linux-foundation.org \ --cc=avi@redhat.com \ --cc=balbir@linux.vnet.ibm.com \ --cc=benh@kernel.crashing.org \ --cc=bp@alien8.de \ --cc=bpicco@redhat.com \ --cc=chris.mason@oracle.com \ --cc=chrisw@sous-sol.org \ --cc=cl@linux-foundation.org \ --cc=dave@linux.vnet.ibm.com \ --cc=hannes@cmpxchg.org \ --cc=hugh.dickins@tiscali.co.uk \ --cc=ieidus@redhat.com \ --cc=kamezawa.hiroyu@jp.fujitsu.com \ --cc=kosaki.motohiro@jp.fujitsu.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mm@kvack.org \ --cc=mel@csn.ul.ie \ --cc=mingo@elte.hu \ --cc=mst@redhat.com \ --cc=mtosatti@redhat.com \ --cc=nishimura@mxp.nes.nec.co.jp \ --cc=npiggin@suse.de \ --cc=peterz@infradead.org \ --cc=riel@redhat.com \ --cc=travis@sgi.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: linkBe 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.