Re: [PATCH] use local_t for page statistics

Christoph Lameter
2006-01-09T20:53:08Z

On Mon, 9 Jan 2006, Benjamin LaHaise wrote:

> On Fri, Jan 06, 2006 at 04:33:13PM -0800, Andrew Morton wrote:
> > Bah. I think this is a better approach than the just-merged
> > mm-page_state-opt.patch, so I should revert that patch first?
>
> After going over things, I think that I'll redo my patch on top of that
> one, as it means that architectures that can optimize away the save/restore
> of irq flags will be able to benefit from that. Maybe after all this is
> said and done we can clean things up sufficiently to be able to inline the
> inc/dec where it is simple enough to do so.

Could you also have a look at my zone counters and event counter
patchsets? This will split up the page statistics into important
counters that we use (which are then per zone) and the ones that are
only displayed via proc). It would really help to implement numa
awareness in the VM if we could have per zone vm counters. The zone
reclaim patchset would already benefit from it.