Re: [rfc][patch 1/2] mm: dont account ZERO_PAGE

Nick Piggin
2007-03-30T02:40:48Z

On Thu, Mar 29, 2007 at 02:10:55PM +0100, Hugh Dickins wrote:
>
> But this patch is not complete, is it? For example, fremap.c's
> zap_pte? I haven't checked further. I was going to suggest you

Ah yes, nonlinear... thanks I missed that.

Well it would make life easier if we got rid of ZERO_PAGE completely,
which I definitely wouldn't complain about ;) It is much more likely
to cause noticable performance loss in other areas though, so it is
not really a candidate for SLES at the moment.

But I would like to get something for mainline that everyone likes
whether that is vm_refcounted_page (which I just implemented and it
doesn't make things much cleaner, but I'll go with it); per-node
ZERO_PAGE; or whatever.