On Mon, Dec 24, 2007 at 11:21:14AM -0800, Christoph Lameter wrote: > > That is why there is a slabinfo tool that does all the nice formatting. > > Do a > > gcc -o slabinfo Documentation/vm/slabinfo.c > > Then run slabinfo instead of doing cat /proc/slabinfo So two questions: why isn't -f the default? And is /sys/slab guaranteed to be a stable and permanent interface if the SLAB implementation ever gets ripped out? If so, maybe this should go into util-linux-ng? I am aa bit concerned about the lack of atomicity of /sys/slab, but this is a heck of a lot better of many kernel drivers or subsystems which use /sys and the completely punt on any kind of userspace utility, forcing users to type crazy things like echo 5 > /sys/bus/pci/drivers/iwl4965/*/power_level - Ted -- 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/
- Follow-Ups:
- Re: Major regression on hackbench with SLUB (more numbers)
- From: Christoph Lameter <[email protected]>
- Re: Major regression on hackbench with SLUB (more numbers)
- From: Andi Kleen <[email protected]>
- Re: Major regression on hackbench with SLUB (more numbers)
- References:
- Re: Major regression on hackbench with SLUB (more numbers)
- From: Ingo Molnar <[email protected]>
- Re: Major regression on hackbench with SLUB (more numbers)
- From: Linus Torvalds <[email protected]>
- Re: Major regression on hackbench with SLUB (more numbers)
- From: Theodore Tso <[email protected]>
- Re: Major regression on hackbench with SLUB (more numbers)
- From: Linus Torvalds <[email protected]>
- Re: Major regression on hackbench with SLUB (more numbers)
- From: Willy Tarreau <[email protected]>
- Re: Major regression on hackbench with SLUB (more numbers)
- From: Steven Rostedt <[email protected]>
- Re: Major regression on hackbench with SLUB (more numbers)
- From: Willy Tarreau <[email protected]>
- Re: Major regression on hackbench with SLUB (more numbers)
- From: Andi Kleen <[email protected]>
- Re: Major regression on hackbench with SLUB (more numbers)
- From: Theodore Tso <[email protected]>
- Re: Major regression on hackbench with SLUB (more numbers)
- From: Christoph Lameter <[email protected]>
- Re: Major regression on hackbench with SLUB (more numbers)
- Prev by Date: lockdep warning with LTP dio test (v2.6.24-rc6-125-g5356f66)
- Next by Date: Re: x86: Increase PCIBIOS_MIN_IO to 0x1500 to fix nForce 4 suspend-to-RAM
- Previous by thread: Re: Major regression on hackbench with SLUB (more numbers)
- Next by thread: Re: Major regression on hackbench with SLUB (more numbers)
- Index(es):