> Rik van Riel wrote:
> >
> > (it'd be so cool if we could just start using a statistic variable
> > through some macro and it'd be automatically declared and visible
> > in /proc ;))
> >
>
> Marcelo and I worked out a thing which did that a while back.
>
> http://www.zipworld.com.au/~akpm/linux/2.4/2.4.7/
Oops, guess I should have read this thread first (still catching up on mail).
Please see my per-cpu patch (just posted under [PATCH] 2.5.1-pre5: per-cpu
areas), and my previous /proc patch. Combining the two into convenient form
is left as an exercise for the reader...
Cheers!
Rusty.
-- Anyone who quotes me is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/