Re: [PATCH 1/2] huge page private reservation review cleanups

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andy Whitcroft <apw@...>
Cc: <linux-mm@...>, <linux-kernel@...>, <agl@...>, <wli@...>, <kenchen@...>, <dwg@...>, <andi@...>, <mel@...>, <dean@...>, <abh@...>, <apw@...>
Date: Friday, May 30, 2008 - 4:29 pm

On Fri, 30 May 2008 17:58:24 +0100
Andy Whitcroft <apw@shadowen.org> wrote:


I'll stage this after Mel's
hugetlb-guarantee-that-cow-faults-for-a-process-that-called-mmapmap_private-on-hugetlbfs-will-succeed.patch


I'll make these static.


Better.


But I wonder if helpers which manipulate a vma's HPAGE_RESV_MASK
flag(s) rather than the whole vm_provate_data would have been better.


Oh.  We already kinda have it.  Perhaps vma_resv_huge_pages() should
have called set_vma_resv_flags().  I guess the assertions would have
busted that.

Oh well, whatever.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] huge page private reservation review cleanups, Andy Whitcroft, (Fri May 30, 12:58 pm)
Re: [PATCH 1/2] huge page private reservation review cleanups, Andrew Morton, (Fri May 30, 4:29 pm)