arena: let the kernel call kmemstat()
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 24 Sep 2019 14:48:57 +0000 (10:48 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Oct 2019 21:11:11 +0000 (17:11 -0400)
commitb1c32770858844766af8fee1d32a6c92f57a2041
tree4b7ea3e57f4e804d52000473465442564385a85c
parente535186e6003225e8d9a12b4d81616f2cf900886
arena: let the kernel call kmemstat()

For debugging.  The user's interface is #mem/kmemstat.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/mem.c
kern/include/arena.h