Re: [PATCH] use local_t for page statistics

From: Christoph Lameter
Date: Mon Jan 09 2006 - 15:51:58 EST


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.

Zoned counters:

http://marc.theaimsgroup.com/?l=linux-kernel&m=113511649910826&w=2

Fast event counters:

http://marc.theaimsgroup.com/?l=linux-mm&m=113512324804851&w=2
-
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/