Re: [PATCH] powerpc: is_hugepage_only_range() must account for both 4kB and 64kB slices

2009-01-14 Thread Benjamin Herrenschmidt
On Wed, 2009-01-14 at 13:09 -0600, Dave Kleikamp wrote: > powerpc: is_hugepage_only_range() must account for both 4kB and 64kB slices > > The subpage_prot syscall fails on second and subsequent calls for a given > region, because is_hugepage_only_range() is mis-identifying the 4 kB > slices when t

[PATCH] powerpc: is_hugepage_only_range() must account for both 4kB and 64kB slices

2009-01-14 Thread Dave Kleikamp
powerpc: is_hugepage_only_range() must account for both 4kB and 64kB slices The subpage_prot syscall fails on second and subsequent calls for a given region, because is_hugepage_only_range() is mis-identifying the 4 kB slices when the process has a 64 kB page size. Signed-off-by: Dave Kleikamp C