Thread (25 messages) 25 messages, 6 authors, 2008-09-29

Re: [PATCH] mm: fix ENTRIES_PER_PAGEPAGE overflow with 256KB pages

flat view

From: David Gibson <hidden>
Date: 2008-09-12 03:50:06

On Thu, Sep 11, 2008 at 01:53:07AM +0400, Ilya Yanok wrote:
ENTRIES_PER_PAGEPAGE define in mm/shmem.c becomes zero if page size is
256KB. This patch fixes this.
This looks.. dubious.  You're making a change to generic code for a
powerpc feature.  Plus it's not entirely clear that simply increasing
the variable size is a good fix here.  Again, I think since this is a
256k page special case it will simplify things to get the <=64k stuff
first, then handle this in another patch.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help