From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755241Ab2CaJZs (ORCPT ); Sat, 31 Mar 2012 05:25:48 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:49453 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751042Ab2CaJZp (ORCPT ); Sat, 31 Mar 2012 05:25:45 -0400 Subject: [PATCH 0/7] mm: vma->vm_flags diet To: linux-mm@kvack.org, Andrew Morton , linux-kernel@vger.kernel.org From: Konstantin Khlebnikov Cc: Linus Torvalds Date: Sat, 31 Mar 2012 13:25:36 +0400 Message-ID: <20120331091049.19373.28994.stgit@zurg> User-Agent: StGit/0.15 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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