]> err.no Git - linux-2.6/commit
[PATCH] Swap Migration V5: PF_SWAPWRITE to allow writing to swap
authorChristoph Lameter <clameter@sgi.com>
Sun, 8 Jan 2006 09:00:47 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:12:41 +0000 (20:12 -0800)
commit930d915252edda7042c944ed3c30194a2f9fe163
tree620452f11a9949943765b7a28e5b919f40f32b12
parent21eac81f252fe31c3cf64b805a1e8652192f3a3b
[PATCH] Swap Migration V5: PF_SWAPWRITE to allow writing to swap

Add PF_SWAPWRITE to control a processes permission to write to swap.

- Use PF_SWAPWRITE in may_write_to_queue() instead of checking for kswapd
  and pdflush

- Set PF_SWAPWRITE flag for kswapd and pdflush

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/sched.h
mm/pdflush.c
mm/vmscan.c