lkml.org 
[lkml]   [2010]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] pagemap: add #ifdefs CONFIG_HUGETLB_PAGE on code walking hugetlb vma
On Fri, Mar 19, 2010 at 03:29:34PM +0900, KAMEZAWA Hiroyuki wrote:
> On Fri, 19 Mar 2010 15:26:35 +0900
> Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> wrote:
>
> > If !CONFIG_HUGETLB_PAGE, pagemap_hugetlb_range() is never called.
> > So put it (and its calling function) into #ifdef block.
> >
> > Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
>
> Hmm? What is benefit ? Is this broken now ?
>

Not broken, but this is needed to avoid build error with patch 2/2 applied,
where I move huge_pte_offset() (not defined when !HUGETLB_PAGE)
into pagemap_hugetlb_range().

Thanks,
Naoya Horiguchi


\
 
 \ /
  Last update: 2010-03-19 07:57    [W:0.097 / U:37.936 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site