Well Rusty's point about just using the percpu API seemed
reasonable - that's basically equivalent to statically defining
the data. In what situation is dynamic allocation needed?
Well, in modules for one. Unless we work out a way to make the
percpu API work with storage which is defined within modules.
> Are you looking at something on the lines as the diff below?
Looks nice.
> What about /proc/stat ? Is it a good idea to have separate /proc files
> for disk stats and cpu usage stats? (It'll be good for statctrs that way,
> applications monitoring disk_stats only don't cause statctr_reads on
> cpu_usage stats then)
Stick with the existing format, I'd say. Numerous applications
would break otherwise.
-
-
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/