[PATCH 0/4] pagecache scanning with /proc/kpagecache
From: Naoya Horiguchi
Date: Tue May 20 2014 - 22:28:37 EST
This patchset adds a new procfs interface to extrace information about
pagecache status. In-kernel tool tools/vm/page-types.c has already some
code for pagecache scanning without kernel's help, but it's not free
from measurement-disturbance, so here I'm suggesting another approach.
Patch 1/4 changes radix tree API to support ranged iteration as a preparation
for patch 2/4 which adds /proc/kpagecache. Patch 3/4 changes page-types to
use the interface in file scanning mode. Patch 4/4 is documentation update.
This patchset were previously posted as a part of memory error reporting
patchset (http://lwn.net/Articles/590690/), so changelogs in individual
patches are changes from that version.
Thanks,
Naoya Horiguchi
---
Summary:
Naoya Horiguchi (4):
radix-tree: add end_index to support ranged iteration
fs/proc/page.c: introduce /proc/kpagecache interface
tools/vm/page-types.c: rework on file cache scanning mode
Documentation: update Documentation/vm/pagemap.txt
Documentation/vm/pagemap.txt | 29 +++++
drivers/gpu/drm/qxl/qxl_ttm.c | 2 +-
fs/proc/page.c | 105 ++++++++++++++++
include/linux/fs.h | 9 +-
include/linux/radix-tree.h | 27 +++--
kernel/irq/irqdomain.c | 2 +-
lib/radix-tree.c | 8 +-
mm/filemap.c | 8 +-
tools/vm/page-types.c | 276 +++++++++++++++++-------------------------
9 files changed, 284 insertions(+), 182 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/