Skip to content

mm: vma->vm_flags diet

Konstantin Khlebnikov linux-mm lkml 5 versions – In review

Get series with b4
b4 am 20120731103724.20515.60334.stgit@zurg

Versions newest first · linked by author and title

  1. v3 Latest posting 2/210 patches 8 repliesIn review
  2. v3 posting 1/210 patches 0 repliesSuperseded
  3. v2 posting 2/210 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/21 of 7 patches0 repliesSuperseded
v17 patches27 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10x86, pat: remove the dependency on 'vm_pgoff' in track/untrack pfn vma routinesarch/x86/mm/pat.c+19 -140 replies
2/10x86, pat: separate the pfn attribute tracking for remap_pfn_range and vm_insert_pfnarch/x86/mm/pat.c include/asm-generic/pgtable.h mm/memory.c+75 -420 replies
3/10mm, x86, pat: rework linear pfn-mmap trackingarch/x86/mm/pat.c include/asm-generic/pgtable.h include/linux/mm.h +2 more+30 -580 replies
4/10mm: introduce arch-specific vma flag VM_ARCH_1include/linux/mm.h mm/huge_memory.c mm/ksm.c+28 -150 replies
5/10mm: kill vma flag VM_INSERTPAGEinclude/linux/mm.h mm/huge_memory.c mm/ksm.c +2 more+15 -70 replies
6/10mm: kill vma flag VM_CAN_NONLINEARdrivers/staging/android/ashmem.c fs/9p/vfs_file.c fs/btrfs/file.c +18 more+39 -232 replies
7/10mm: use mm->exe_file instead of first VM_EXECUTABLE vma->vm_filearch/powerpc/oprofile/cell/spu_task_sync.c arch/tile/mm/elf.c drivers/oprofile/buffer_sync.c +3 more+19 -571 reply
8/10mm: kill vma flag VM_EXECUTABLE and mm->num_exe_file_vmasinclude/linux/mm.h include/linux/mm_types.h include/linux/mman.h +3 more+4 -560 replies
9/10mm: prepare VM_DONTDUMP for using in driversfs/binfmt_elf.c include/linux/mm.h mm/madvise.c+8 -40 replies
10/10mm: kill vma flag VM_RESERVED and mm->reserved_vm counterDocumentation/vm/unevictable-lru.txt arch/alpha/kernel/pci-sysfs.c arch/ia64/kernel/perfmon.c +68 more+78 -1065 replies

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchChris MetcalfTetsuo HandaJames Morris
1/10
2/10
3/10
4/10
5/10
6/10
7/10A-b A-b A-b
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH RESEND v3 00/10] mm: vma->vm_flags diet

RESEND: Sorry, I forgot to add some important people into CC.

This patchset kills some VM_* flags in vma->vm_flags, as result there appears five free bits.

Changes since v2 [ https://lkml.org/lkml/2012/4/7/67 ]

* killing VM_EXECUTABLE combined back into single patch
* new (the biggest one) patch which kills VM_RESERVED

---

Konstantin Khlebnikov (8):
mm, x86, pat: rework linear pfn-mmap tracking
mm: introduce arch-specific vma flag VM_ARCH_1
mm: kill vma flag VM_INSERTPAGE
mm: kill vma flag VM_CAN_NONLINEAR
mm: use mm->exe_file instead of first VM_EXECUTABLE vma->vm_file
mm: kill vma flag VM_EXECUTABLE and mm->num_exe_file_vmas
mm: prepare VM_DONTDUMP for using in drivers
mm: kill vma flag VM_RESERVED and mm->reserved_vm counter

Suresh Siddha (2):
x86, pat: remove the dependency on 'vm_pgoff' in track/untrack pfn vma routines x86, pat: separate the pfn attribute tracking for remap_pfn_range and vm_insert_pfn

 Documentation/vm/unevictable-lru.txt             |    4 -
 arch/alpha/kernel/pci-sysfs.c                    |    2 
 arch/ia64/kernel/perfmon.c                       |    2 
 arch/ia64/mm/init.c                              |    3 -
 arch/powerpc/kvm/book3s_hv.c                     |    2 
 arch/powerpc/oprofile/cell/spu_task_sync.c       |   15 +---
 arch/sparc/kernel/pci.c                          |    2 
 arch/tile/mm/elf.c                               |   19 ++---
 arch/unicore32/kernel/process.c                  |    2 
 arch/x86/mm/pat.c                                |   89 ++++++++++++++++------
 arch/x86/xen/mmu.c                               |    3 -
 drivers/char/mbcs.c                              |    2 
 drivers/char/mem.c                               |    2 
 drivers/char/mspec.c                             |    2 
 drivers/gpu/drm/drm_gem.c                        |    2 
 drivers/gpu/drm/drm_vm.c                         |   10 --
 drivers/gpu/drm/exynos/exynos_drm_gem.c          |    2 
 drivers/gpu/drm/gma500/framebuffer.c             |    3 -
 drivers/gpu/drm/ttm/ttm_bo_vm.c                  |    4 -
 drivers/gpu/drm/udl/udl_fb.c                     |    2 
 drivers/infiniband/hw/ehca/ehca_uverbs.c         |    4 -
 drivers/infiniband/hw/ipath/ipath_file_ops.c     |    2 
 drivers/infiniband/hw/qib/qib_file_ops.c         |    2 
 drivers/media/video/meye.c                       |    2 
 drivers/media/video/omap/omap_vout.c             |    2 
 drivers/media/video/sn9c102/sn9c102_core.c       |    3 -
 drivers/media/video/usbvision/usbvision-video.c  |    3 -
 drivers/media/video/videobuf-dma-sg.c            |    2 
 drivers/media/video/videobuf-vmalloc.c           |    2 
 drivers/media/video/videobuf2-memops.c           |    2 
 drivers/media/video/vino.c                       |    2 
 drivers/misc/carma/carma-fpga.c                  |    2 
 drivers/misc/sgi-gru/grufile.c                   |    5 -
 drivers/mtd/mtdchar.c                            |    2 
 drivers/oprofile/buffer_sync.c                   |   17 +---
 drivers/scsi/sg.c                                |    2 
 drivers/staging/android/ashmem.c                 |    1 
 drivers/staging/media/easycap/easycap_main.c     |    2 
 drivers/staging/omapdrm/omap_gem_dmabuf.c        |    2 
 drivers/staging/tidspbridge/rmgr/drv_interface.c |    2 
 drivers/uio/uio.c                                |    4 -
 drivers/usb/mon/mon_bin.c                        |    2 
 drivers/video/68328fb.c                          |    2 
 drivers/video/aty/atyfb_base.c                   |    3 -
 drivers/video/fb-puv3.c                          |    3 -
 drivers/video/fb_defio.c                         |    2 
 drivers/video/fbmem.c                            |    3 -
 drivers/video/gbefb.c                            |    2 
 drivers/video/omap2/omapfb/omapfb-main.c         |    2 
 drivers/video/sbuslib.c                          |    5 -
 drivers/video/smscufx.c                          |    1 
 drivers/video/udlfb.c                            |    1 
 drivers/video/vermilion/vermilion.c              |    1 
 drivers/video/vfb.c                              |    1 
 drivers/xen/gntalloc.c                           |    2 
 drivers/xen/gntdev.c                             |    2 
 drivers/xen/privcmd.c                            |    3 -
 fs/9p/vfs_file.c                                 |    1 
 fs/binfmt_elf.c                                  |    4 -
 fs/binfmt_elf_fdpic.c                            |    2 
 fs/btrfs/file.c                                  |    2 
 fs/ceph/addr.c                                   |    2 
 fs/cifs/file.c                                   |    1 
 fs/ext4/file.c                                   |    2 
 fs/fuse/file.c                                   |    1 
 fs/gfs2/file.c                                   |    2 
 fs/hugetlbfs/inode.c                             |    2 
 fs/nfs/file.c                                    |    1 
 fs/nilfs2/file.c                                 |    2 
 fs/ocfs2/mmap.c                                  |    2 
 fs/proc/task_mmu.c                               |    2 
 fs/ubifs/file.c                                  |    1 
 fs/xfs/xfs_file.c                                |    2 
 include/asm-generic/pgtable.h                    |   57 ++++++++------
 include/linux/fs.h                               |    2 
 include/linux/mempolicy.h                        |    2 
 include/linux/mm.h                               |   69 +++++++----------
 include/linux/mm_types.h                         |    2 
 include/linux/mman.h                             |    1 
 kernel/auditsc.c                                 |   13 ---
 kernel/events/core.c                             |    2 
 kernel/fork.c                                    |   24 ------
 mm/filemap.c                                     |    2 
 mm/filemap_xip.c                                 |    3 -
 mm/fremap.c                                      |   14 ++-
 mm/huge_memory.c                                 |   22 +----
 mm/ksm.c                                         |    8 +-
 mm/madvise.c                                     |    8 +-
 mm/memory.c                                      |   62 ++++++++-------
 mm/mlock.c                                       |    2 
 mm/mmap.c                                        |   29 +------
 mm/nommu.c                                       |   21 ++---
 mm/shmem.c                                       |    3 -
 mm/vmalloc.c                                     |    3 -
 security/selinux/selinuxfs.c                     |    2 
 security/tomoyo/util.c                           |    9 --
 sound/core/pcm_native.c                          |    6 +
 sound/usb/usx2y/us122l.c                         |    2 
 sound/usb/usx2y/usX2Yhwdep.c                     |    2 
 sound/usb/usx2y/usx2yhwdeppcm.c                  |    2 
 100 files changed, 303 insertions(+), 370 deletions(-)
Signature · 7 lines
Signature

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>