[PATCH] xip: reduce code duplication
Carsten Otte authored
This patch reworks filemap_xip.c with the goal to reduce code duplication
from mm/filemap.c.  It applies agains 2.6.12-rc6-mm1.  Instead of
implementing the aio functions, this one implements the synchronous
read/write functions only.  For readv and writev, the generic fallback is
used.  For aio, we rely on the application doing the fallback.  Since our
"synchronous" function does memcpy immediately anyway, there is no
performance difference between using the fallbacks or implementing each
operation.
Signed-off-by: default avatarCarsten Otte <cotte@de.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
eb6fe0c3
Name Last commit Last update
..
Kconfig [PATCH] sparsemem memory model
Makefile [PATCH] xip: fs/mm: execute in place
bootmem.c [PATCH] sparsemem memory model
fadvise.c Linux-2.6.12-rc2
filemap.c [PATCH] xip: fs/mm: execute in place
filemap.h [PATCH] xip: reduce code duplication
filemap_xip.c [PATCH] xip: reduce code duplication
fremap.c Linux-2.6.12-rc2
highmem.c [PATCH] count bounce buffer pages in vmstat
hugetlb.c [PATCH] Hugepage consolidation
internal.h Linux-2.6.12-rc2
madvise.c [PATCH] remove redundant vm_flags clearing from madvise.c
memory.c [PATCH] DocBook: update comments
mempolicy.c [PATCH] mbind: check_range use standard ptwalk
mempool.c [PATCH] mempool - only init waitqueue in slow path
mincore.c [PATCH] freepgt: sys_mincore ignore FIRST_USER_PGD_NR
mlock.c Linux-2.6.12-rc2
mmap.c [PATCH] mmap topdown fix for large stack limit, large allocation
mprotect.c Linux-2.6.12-rc2
mremap.c [PATCH] mm acct accounting fix
msync.c [PATCH] msync: check pte dirty earlier
nommu.c [PATCH] Avoiding mmap fragmentation
oom_kill.c [PATCH] add OOM debug
page-writeback.c [PATCH] DocBook: fix some descriptions
page_alloc.c [PATCH] sparsemem hotplug base
page_io.c Linux-2.6.12-rc2
pdflush.c Linux-2.6.12-rc2
prio_tree.c Linux-2.6.12-rc2
readahead.c Linux-2.6.12-rc2
rmap.c [PATCH] xip: fs/mm: execute in place
shmem.c [PATCH] shmem: restore superblock info
slab.c [PATCH] create a kstrdup library function
sparse.c [PATCH] sparsemem hotplug base
swap.c Linux-2.6.12-rc2
swap_state.c [PATCH] mm: use __GFP_NOMEMALLOC
swapfile.c [PATCH] can_share_swap_page: use page_mapcount
thrash.c Linux-2.6.12-rc2
tiny-shmem.c Linux-2.6.12-rc2
truncate.c [PATCH] DocBook: fix some descriptions
vmalloc.c [PATCH] x86_64: Fixed guard page handling again in iounmap
vmscan.c [PATCH] vm: try_to_free_pages unused argument