A couple more slob patches brought to you by the CELF project:
"Kernel dynamic memory allocation tracking and reduction" [1].
The first replaces put_page by __free_pages and it's analogous
to a recent change made at slub.
The other sets zone state to obtain slab information at /proc/meminfo.
If you feel this changes is against the minimalistic spirit of SLOB,
let me know. Any other feedback or flames, are as always welcome.
These patches apply cleanly to Pekka's slab/next or slab/for-linus.
Ezequiel Garcia (2):
mm/slob: Use free_page instead of put_page for page-size kmalloc allocations
mm/slob: Mark zone page state to get slab usage at /proc/meminfo
mm/slob.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
Thanks!
Ezequiel
[1] http://elinux.org/Kernel_dynamic_memory_allocation_tracking_and_reduction