mm: restore KERNEL_DS optimisations
commit674b892ede247ef4fb8d00918f02e29c32b9bbaf
authorNick Piggin <npiggin@suse.de>
Tue, 16 Oct 2007 08:25:03 +0000 (16 01:25 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:42:55 +0000 (16 09:42 -0700)
tree8e170040e64073932ba559cc31f3ec9802337406
parent8268f5a7415d914fc855a86aa2284ac819dc6b2e
mm: restore KERNEL_DS optimisations

Restore the KERNEL_DS optimisation, especially helpful to the 2copy write
path.

This may be a pretty questionable gain in most cases, especially after the
legacy 2copy write path is removed, but it doesn't cost much.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/filemap.c