kernel-ark/mm
Suzuki 1bef400329 [PATCH] madvise: Avoid returning error code -EBADF for anonymous mappings
Revert this recent correctness change: Douglas Crosher <dcrosher@scieneer.com>
reported that it broke an existing application, and that madvise() works
without error on anonymous mappings on Solaris.

This means that madvise() will remain non-standards-compliant: we should
return -EBADF for all requests against non-file-backed vma's, but Linux only
does this for MADV_WILLNEED requests.

Signed-off-by: Suzuki K P <suzuki@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-11 09:46:54 -07:00
..
bootmem.c Revert "x86-64: Reverse order of bootmem lists" 2005-09-30 12:38:27 -07:00
fadvise.c
filemap_xip.c
filemap.c [PATCH] mm/filemap.c: make two functions static 2005-09-10 10:06:25 -07:00
filemap.h
fremap.c
highmem.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
hugetlb.c [PATCH] hugetlb: move stale pte check into huge_pte_alloc() 2005-09-05 00:05:46 -07:00
internal.h
Kconfig [PATCH] fix mm/Kconfig spelling 2005-09-17 11:50:01 -07:00
madvise.c [PATCH] madvise: Avoid returning error code -EBADF for anonymous mappings 2005-10-11 09:46:54 -07:00
Makefile
memory.c [PATCH] mm/filemap.c: make two functions static 2005-09-10 10:06:25 -07:00
mempolicy.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
mempool.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
mincore.c
mlock.c
mmap.c [PATCH] fix locking comment in unmap_region() 2005-09-21 10:11:55 -07:00
mprotect.c [PATCH] mm: add a note about partially hardcoded VM_* flags 2005-09-21 10:11:55 -07:00
mremap.c [PATCH] mm: move_pte to remap ZERO_PAGE 2005-09-28 07:46:40 -07:00
msync.c
nommu.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
oom_kill.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
page_alloc.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
page_io.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
page-writeback.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
pdflush.c
prio_tree.c
readahead.c [PATCH] readahead: reset cache_hit earlier 2005-09-07 16:57:25 -07:00
rmap.c [PATCH] mm: cleanup rmap 2005-09-05 00:05:43 -07:00
shmem.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
slab.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
sparse.c [PATCH] sparsemem extreme: hotplug preparation 2005-09-05 00:05:38 -07:00
swap_state.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
swap.c
swapfile.c [PATCH] Fix bd_claim() error code. 2005-09-22 22:17:37 -07:00
thrash.c
tiny-shmem.c
truncate.c
vmalloc.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
vmscan.c [PATCH] vm: kswapd cleanup: use pgdat 2005-09-13 08:22:28 -07:00