[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJd=RBAOu9b5FRmYxbY7dKRp5G8VmOxvtgHLE7jwin1ZgqMmLw@mail.gmail.com>
Date: Fri, 10 Aug 2012 21:39:21 +0800
From: Hillf Danton <dhillf@...il.com>
To: Michal Hocko <mhocko@...e.cz>
Cc: Mel Gorman <mgorman@...e.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux-MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
David Rientjes <rientjes@...gle.com>
Subject: Re: [patch] hugetlb: correct page offset index for sharing pmd
On Fri, Aug 10, 2012 at 9:21 PM, Hillf Danton <dhillf@...il.com> wrote:
> On Fri, Aug 10, 2012 at 9:16 PM, Michal Hocko <mhocko@...e.cz> wrote:
>> Subject: [PATCH] hugetlb: do not use vma_hugecache_offset for
>> vma_prio_tree_foreach
>>
>> 0c176d5 (mm: hugetlb: fix pgoff computation when unmapping page
>> from vma) fixed pgoff calculation but it has replaced it by
>> vma_hugecache_offset which is not approapriate for offsets used for
>> vma_prio_tree_foreach because that one expects index in page units
>> rather than in huge_page_shift.
>> Using vma_hugecache_offset is not incorrect because the pgoff will fit
>> into the same vmas but it is confusing.
>>
>
> Well, how is the patch tested?
You see, Michal, it is weekend and I have to be offline now.
See you next week ;)
Hillf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists