• Hugh Dickins's avatar
    [PATCH] remove VM_DONTCOPY bogosities · a6f563db
    Hugh Dickins authored
    Now that it's madvisable, remove two pieces of VM_DONTCOPY bogosity:
    
    1. There was and is no logical reason why VM_DONTCOPY should be in the
       list of flags which forbid vma merging (and those drivers which set
       it are also setting VM_IO, which itself forbids the merge).
    
    2. It's hard to understand the purpose of the VM_HUGETLB, VM_DONTCOPY
       block in vm_stat_account: but never mind, it's under CONFIG_HUGETLB,
       which (unlike CONFIG_HUGETLB_PAGE or CONFIG_HUGETLBFS) has never been
       defined.
    Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
    Cc: William Lee Irwin III <wli@holomorphy.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    a6f563db
mmap.c 53.3 KB