On Thu, 6 Dec 2007 12:04:14 -0800
Daniel Phillips <[email protected]> wrote:
> Any idea
> how to extend the accounting idea to all tasks involved in a particular
> block device stack?
SMOP, I'd have thought. As long as each piece of code which handles data
for this stack knows that it's handling data for that stack it should be
able to account its memory allocations.
The tricky part will be networking allocations because a NIC can of course
handle data for all sorts of consumers. But I expect this can be greatly
simplified with a few heuristics - work out how much memory your typical
networking stack will allocate for a frame and tack that onto the total.
Couple of pages worst case..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]