From: Konstantin Khlebnikov <khlebnikov@openvz.org>
To: linux-mm@kvack.org, Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Subject: [PATCH 0/7] mm: vma->vm_flags diet
Date: Sat, 31 Mar 2012 13:25:36 +0400 [thread overview]
Message-ID: <20120331091049.19373.28994.stgit@zurg> (raw)
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
next reply other threads:[~2012-03-31 9:25 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-31 9:25 Konstantin Khlebnikov [this message]
2012-03-31 9:29 ` [PATCH 1/7] mm, x86, PAT: rework linear pfn-mmap tracking Konstantin Khlebnikov
2012-03-31 17:09 ` [PATCH 1/7 v2] " Konstantin Khlebnikov
2012-04-03 0:46 ` [x86 PAT PATCH 0/2] x86 PAT vm_flag code refactoring Suresh Siddha
2012-04-03 0:46 ` [x86 PAT PATCH 1/2] x86, pat: remove the dependency on 'vm_pgoff' in track/untrack pfn vma routines Suresh Siddha
2012-04-03 5:37 ` Konstantin Khlebnikov
2012-04-03 23:31 ` Suresh Siddha
2012-04-04 4:43 ` Konstantin Khlebnikov
2012-04-05 11:56 ` Konstantin Khlebnikov
2012-04-06 0:01 ` [v3 VM_PAT PATCH 0/3] x86 VM_PAT series Suresh Siddha
2012-04-06 0:01 ` [v3 VM_PAT PATCH 1/3] x86, pat: remove the dependency on 'vm_pgoff' in track/untrack pfn vma routines Suresh Siddha
2012-04-06 0:01 ` [v3 VM_PAT PATCH 2/3] x86, pat: separate the pfn attribute tracking for remap_pfn_range and vm_insert_pfn Suresh Siddha
2012-04-06 0:01 ` [v3 VM_PAT PATCH 3/3] mm, x86, PAT: rework linear pfn-mmap tracking Suresh Siddha
2012-04-03 0:46 ` [x86 PAT PATCH 2/2] " Suresh Siddha
2012-04-03 5:48 ` Konstantin Khlebnikov
2012-04-03 5:55 ` Konstantin Khlebnikov
2012-04-03 6:03 ` [x86 PAT PATCH 0/2] x86 PAT vm_flag code refactoring Konstantin Khlebnikov
2012-04-03 23:14 ` Suresh Siddha
2012-04-04 4:40 ` Konstantin Khlebnikov
2012-03-31 9:29 ` [PATCH 2/7] mm: introduce vma flag VM_ARCH_1 Konstantin Khlebnikov
2012-03-31 22:25 ` Benjamin Herrenschmidt
2012-03-31 9:29 ` [PATCH 3/7] mm: kill vma flag VM_CAN_NONLINEAR Konstantin Khlebnikov
2012-03-31 17:01 ` Linus Torvalds
2012-03-31 9:29 ` [PATCH 4/7] mm: kill vma flag VM_INSERTPAGE Konstantin Khlebnikov
2012-03-31 9:29 ` [PATCH 5/7] mm, drm/udl: fixup vma flags on mmap Konstantin Khlebnikov
2012-03-31 9:29 ` [PATCH 6/7] mm: kill vma flag VM_EXECUTABLE Konstantin Khlebnikov
2012-03-31 20:13 ` Oleg Nesterov
2012-03-31 20:39 ` Cyrill Gorcunov
2012-04-02 9:46 ` Konstantin Khlebnikov
2012-04-02 9:54 ` Cyrill Gorcunov
2012-04-02 10:13 ` Konstantin Khlebnikov
2012-04-02 14:48 ` Oleg Nesterov
2012-04-02 16:02 ` Cyrill Gorcunov
2012-04-02 16:19 ` Konstantin Khlebnikov
2012-04-02 16:27 ` Cyrill Gorcunov
2012-04-02 17:14 ` Konstantin Khlebnikov
2012-04-02 18:05 ` Cyrill Gorcunov
2012-04-02 23:04 ` Matt Helsley
2012-04-03 5:10 ` Konstantin Khlebnikov
2012-04-03 18:16 ` Matt Helsley
2012-04-03 19:32 ` Cyrill Gorcunov
2012-04-05 20:29 ` Matt Helsley
2012-04-05 20:53 ` Cyrill Gorcunov
2012-04-05 21:04 ` Konstantin Khlebnikov
2012-04-05 21:44 ` Matt Helsley
2012-04-05 21:55 ` Linus Torvalds
2012-04-06 4:36 ` Konstantin Khlebnikov
2012-04-02 23:18 ` Matt Helsley
2012-04-03 5:06 ` Konstantin Khlebnikov
2012-04-06 22:48 ` Andrew Morton
2012-03-31 9:29 ` [PATCH 7/7] mm: move madvise vma flags to the end Konstantin Khlebnikov
2012-03-31 14:06 ` [PATCH 0/7] mm: vma->vm_flags diet Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120331091049.19373.28994.stgit@zurg \
--to=khlebnikov@openvz.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).