Re: [PATCH 10/15] mm: atomic64 page counts

From: Hugh Dickins
Date: Wed Nov 09 2005 - 21:39:31 EST


On Wed, 9 Nov 2005, Andrew Morton wrote:
>
> hm. I thought we were going to address this by
>
> a) checking for an insane number of mappings of the same page in the
> pagefault handler(s) and
>
> b) special-casing ZERO_PAGEs on the page unallocator path.
>
> That'll generate faster and smaller code than adding an extra shift and
> possibly larger constants in lots of places.

I think we all had different ideas of how to deal with it.

When I outlined this method to you, you remarked "Hmm" or something
like that, which I agree didn't indicate great enthusiasm!

I'm quite pleased with the way it's worked out, but you were intending
that the 64-bit arches should get along with 32-bit counts? Maybe.

Hugh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/