For readability, move NAME column in "kmem -s" output to the last of line.
---
help.c | 136 +++
memory.c | 44 +
2 files changed, 78 insertions(+), 102 deletions(-)
diff --git a/help.c b/help.c
index
In preparation for moving NAME column in "kmem -s" line, unify the three
functions printing it into one function.
---
memory.c | 124 ---
1 file changed, 39 insertions(+), 85 deletions(-)
diff --git a/memory.c b/memory.c
index
Nowadays, "kmem -s" output can have long lines due to cache name with
memcg name, and I don't think that it's human-readable as it is.
crash> kmem -s
CACHENAME OBJSIZE ALLOCATED TOTAL SLABS SSIZE
8a1522c15380 kmalloc-128(12536:session-11.scope) 128 111
Hi Kazu,
I'll be back from vacation next week, and I'll take a look at the patch then.
Sounds like a reasonable idea, and I have plenty of "old" sample vmcores.
Thanks, Dave
Sent from my Verizon, Samsung Galaxy smartphone
Original message From: Kazuhito Hagio
Date:
Usually, structure fd_set only has 1024 bits size, when a process
using large amount of file descriptors that exceed the size of fd_set,
then the display of files and net sockets would mistake caused by the
out of bounds reading in loop.
Signed-off-by: Tan Hu
---
filesys.c | 24