Re: [patch] swapin rlimit

From: Paul Jackson
Date: Fri Nov 04 2005 - 05:07:07 EST


Ingo wrote:
> Seriously, while nr_swapped_in_pages ought to be OK, i think there is a
> generic problem with /proc based stats.
>
> System instrumentation people are already complaining about how costly
> /proc parsing is. If you have to get some nontrivial stat from all
> threads in the system, and if Linux doesnt offer that counter or summary
> by default, it gets pretty expensive.

Agreed.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.925.600.0401
-
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/