[PATCH 0/7] mm: vma->vm_flags diet

From: Konstantin Khlebnikov
Date: Sat Mar 31 2012 - 05:25:45 EST


This patch-set moves/kills some VM_* flags in vma->vm_flags bit-field,
as result there appears four free bits.

Also I'm working on VM_RESERVED reorganization, probably it also can be killed.
It lost original swapout-protection sense in 2.6 and now is used for other purposes.

---

Konstantin Khlebnikov (7):
mm, x86, PAT: rework linear pfn-mmap tracking
mm: introduce vma flag VM_ARCH_1
mm: kill vma flag VM_CAN_NONLINEAR
mm: kill vma flag VM_INSERTPAGE
mm, drm/udl: fixup vma flags on mmap
mm: kill vma flag VM_EXECUTABLE
mm: move madvise vma flags to the end


arch/powerpc/oprofile/cell/spu_task_sync.c | 15 ++----
arch/tile/mm/elf.c | 12 ++---
arch/x86/mm/pat.c | 25 +++++++---
drivers/gpu/drm/udl/udl_drv.c | 2 -
drivers/gpu/drm/udl/udl_drv.h | 1
drivers/gpu/drm/udl/udl_gem.c | 14 ++++++
drivers/oprofile/buffer_sync.c | 17 +------
drivers/staging/android/ashmem.c | 1
fs/9p/vfs_file.c | 1
fs/btrfs/file.c | 2 -
fs/ceph/addr.c | 2 -
fs/cifs/file.c | 1
fs/ecryptfs/file.c | 1
fs/ext4/file.c | 2 -
fs/fuse/file.c | 1
fs/gfs2/file.c | 2 -
fs/nfs/file.c | 1
fs/nilfs2/file.c | 2 -
fs/ocfs2/mmap.c | 2 -
fs/ubifs/file.c | 1
fs/xfs/xfs_file.c | 2 -
include/asm-generic/pgtable.h | 4 +-
include/linux/fs.h | 2 +
include/linux/mm.h | 69 ++++++++++++----------------
include/linux/mm_types.h | 1
include/linux/mman.h | 1
kernel/auditsc.c | 17 +------
kernel/fork.c | 29 ++----------
mm/filemap.c | 2 -
mm/filemap_xip.c | 3 +
mm/fremap.c | 14 +++---
mm/huge_memory.c | 10 ++--
mm/ksm.c | 9 +++-
mm/memory.c | 29 ++++++++----
mm/mmap.c | 32 +++----------
mm/nommu.c | 19 ++++----
mm/shmem.c | 3 -
security/tomoyo/util.c | 14 +-----
38 files changed, 158 insertions(+), 207 deletions(-)

--
Signature
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/