lkml.org 
[lkml]   [2014]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] pagecache scanning with /proc/kpagecache
Date
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(-)


\
 
 \ /
  Last update: 2014-05-21 04:41    [W:0.142 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site