Files
linux-stable-mirror/include/linux
Andrew Morton 9d0243bca3 [PATCH] drop-pagecache
Add /proc/sys/vm/drop_caches.  When written to, this will cause the kernel to
discard as much pagecache and/or reclaimable slab objects as it can.  THis
operation requires root permissions.

It won't drop dirty data, so the user should run `sync' first.

Caveats:

a) Holds inode_lock for exorbitant amounts of time.

b) Needs to be taught about NUMA nodes: propagate these all the way through
   so the discarding can be controlled on a per-node basis.

This is a debugging feature: useful for getting consistent results between
filesystem benchmarks.  We could possibly put it under a config option, but
it's less than 300 bytes.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-08 20:12:40 -08:00
..
2006-01-06 14:58:39 -05:00
2006-01-04 12:40:39 +00:00
2006-01-03 13:11:06 -08:00
2006-01-06 14:58:54 -05:00
2006-01-05 22:16:26 -08:00
2006-01-06 08:33:54 -08:00
2005-12-15 02:20:15 +01:00
2006-01-06 13:24:54 -08:00
2006-01-06 13:24:29 -08:00
2006-01-06 08:33:53 -08:00
2006-01-06 08:33:59 -08:00
2006-01-06 08:33:29 -08:00
2006-01-08 20:12:40 -08:00
2006-01-06 08:33:20 -08:00
2006-01-03 13:11:15 -08:00
2006-01-06 08:33:29 -08:00
2006-01-06 08:33:56 -08:00
2006-01-06 08:33:27 -08:00
2006-01-08 20:12:40 -08:00