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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Friday, May 30, 2008 - 1: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, 9:58 am)
Re: [PATCH 1/2] huge page private reservation review cleanups, Andrew Morton, (Fri May 30, 1:29 pm)