linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/16] mm: prepare for converting vm->vm_flags to 64-bit
@ 2012-03-21  6:56 Konstantin Khlebnikov
  2012-03-21  6:56 ` [PATCH 01/16] mm: introduce NR_VMA_FLAGS Konstantin Khlebnikov
                   ` (16 more replies)
  0 siblings, 17 replies; 50+ messages in thread
From: Konstantin Khlebnikov @ 2012-03-21  6:56 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, linux-kernel

There is good old tradition: every year somebody submit patches for extending
vma->vm_flags upto 64-bits, because there no free bits left on 32-bit systems.

previous attempts:
https://lkml.org/lkml/2011/4/12/24	(KOSAKI Motohiro)
https://lkml.org/lkml/2010/4/27/23	(Benjamin Herrenschmidt)
https://lkml.org/lkml/2009/10/1/202	(Hugh Dickins)

Here already exist special type for this: vm_flags_t, but not all code uses it.
So, before switching vm_flags_t from unsinged long to u64 we must spread
vm_flags_t everywhere and fix all possible type-casting problems.

There is no functional changes in this patch set,
it only prepares code for vma->vm_flags converting.

---

Konstantin Khlebnikov (16):
      mm: introduce NR_VMA_FLAGS
      mm: use vm_flags_t for vma flags
      mm/shmem: use vm_flags_t for vma flags
      mm/nommu: use vm_flags_t for vma flags
      mm/drivers: use vm_flags_t for vma flags
      mm/x86: use vm_flags_t for vma flags
      mm/arm: use vm_flags_t for vma flags
      mm/unicore32: use vm_flags_t for vma flags
      mm/ia64: use vm_flags_t for vma flags
      mm/powerpc: use vm_flags_t for vma flags
      mm/s390: use vm_flags_t for vma flags
      mm/mips: use vm_flags_t for vma flags
      mm/parisc: use vm_flags_t for vma flags
      mm/score: use vm_flags_t for vma flags
      mm: cast vm_flags_t to u64 before printing
      mm: vm_flags_t strict type checking


 arch/arm/include/asm/cacheflush.h                |    5 -
 arch/arm/kernel/asm-offsets.c                    |    6 +
 arch/arm/mm/fault.c                              |    2 
 arch/ia64/mm/fault.c                             |    9 +
 arch/mips/mm/c-r3k.c                             |    2 
 arch/mips/mm/c-r4k.c                             |    6 -
 arch/mips/mm/c-tx39.c                            |    2 
 arch/parisc/mm/fault.c                           |    4 -
 arch/powerpc/include/asm/mman.h                  |    2 
 arch/s390/mm/fault.c                             |    8 +
 arch/score/mm/cache.c                            |    6 -
 arch/sh/mm/tlbflush_64.c                         |    2 
 arch/unicore32/kernel/asm-offsets.c              |    6 +
 arch/unicore32/mm/fault.c                        |    2 
 arch/x86/mm/hugetlbpage.c                        |    4 -
 drivers/char/mem.c                               |    2 
 drivers/infiniband/hw/ipath/ipath_file_ops.c     |    6 +
 drivers/infiniband/hw/qib/qib_file_ops.c         |    6 +
 drivers/media/video/omap3isp/ispqueue.h          |    2 
 drivers/staging/android/ashmem.c                 |    2 
 drivers/staging/android/binder.c                 |   15 +-
 drivers/staging/tidspbridge/core/tiomap3430.c    |   13 +-
 drivers/staging/tidspbridge/rmgr/drv_interface.c |    4 -
 fs/binfmt_elf.c                                  |    2 
 fs/binfmt_elf_fdpic.c                            |   24 ++-
 fs/exec.c                                        |    2 
 fs/proc/nommu.c                                  |    3 
 fs/proc/task_nommu.c                             |   14 +-
 include/linux/backing-dev.h                      |    7 -
 include/linux/huge_mm.h                          |    4 -
 include/linux/ksm.h                              |    8 +
 include/linux/mm.h                               |  163 +++++++++++++++-------
 include/linux/mm_types.h                         |   11 +
 include/linux/mman.h                             |    4 -
 include/linux/rmap.h                             |    8 +
 include/linux/shmem_fs.h                         |    5 -
 kernel/bounds.c                                  |    2 
 kernel/events/core.c                             |    4 -
 kernel/fork.c                                    |    2 
 kernel/sys.c                                     |    4 -
 mm/backing-dev.c                                 |    4 +
 mm/huge_memory.c                                 |    2 
 mm/ksm.c                                         |    4 -
 mm/madvise.c                                     |    2 
 mm/memory.c                                      |    9 +
 mm/mlock.c                                       |    2 
 mm/mmap.c                                        |   36 ++---
 mm/mprotect.c                                    |    9 +
 mm/mremap.c                                      |    2 
 mm/nommu.c                                       |   19 +--
 mm/rmap.c                                        |   16 +-
 mm/shmem.c                                       |   54 ++++---
 mm/vmscan.c                                      |    4 -
 53 files changed, 322 insertions(+), 224 deletions(-)

-- 
Signature

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 50+ messages in thread

end of thread, other threads:[~2012-03-30  2:19 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-21  6:56 [PATCH 00/16] mm: prepare for converting vm->vm_flags to 64-bit Konstantin Khlebnikov
2012-03-21  6:56 ` [PATCH 01/16] mm: introduce NR_VMA_FLAGS Konstantin Khlebnikov
2012-03-21  6:56 ` [PATCH 02/16] mm: use vm_flags_t for vma flags Konstantin Khlebnikov
2012-03-21  6:56 ` [PATCH 03/16] mm/shmem: " Konstantin Khlebnikov
2012-03-21  6:56 ` [PATCH 04/16] mm/nommu: " Konstantin Khlebnikov
2012-03-21  7:08   ` Greg Ungerer
2012-03-21  7:20     ` Konstantin Khlebnikov
2012-03-21 12:01   ` [PATCH v2 " Konstantin Khlebnikov
2012-03-23  6:47     ` Greg Ungerer
2012-03-21  6:56 ` [PATCH 05/16] mm/drivers: " Konstantin Khlebnikov
2012-03-21 10:34   ` Laurent Pinchart
2012-03-21 14:46   ` Greg Kroah-Hartman
2012-03-21  6:56 ` [PATCH 06/16] mm/x86: " Konstantin Khlebnikov
2012-03-21  6:57   ` H. Peter Anvin
2012-03-21  6:56 ` [PATCH 07/16] mm/arm: " Konstantin Khlebnikov
2012-03-22 21:21   ` Andrew Morton
2012-03-21  6:56 ` [PATCH 08/16] mm/unicore32: " Konstantin Khlebnikov
2012-03-27  3:38   ` Guan Xuetao
2012-03-27  5:58     ` Konstantin Khlebnikov
2012-03-27  7:50       ` Guan Xuetao
2012-03-21  6:56 ` [PATCH 09/16] mm/ia64: " Konstantin Khlebnikov
2012-03-21  6:56 ` [PATCH 10/16] mm/powerpc: " Konstantin Khlebnikov
2012-03-21  6:56 ` [PATCH 11/16] mm/s390: " Konstantin Khlebnikov
2012-03-21  6:57 ` [PATCH 12/16] mm/mips: " Konstantin Khlebnikov
2012-03-21  6:57 ` [PATCH 13/16] mm/parisc: " Konstantin Khlebnikov
2012-03-21  6:57 ` [PATCH 14/16] mm/score: " Konstantin Khlebnikov
2012-03-21  6:57 ` [PATCH 15/16] mm: cast vm_flags_t to u64 before printing Konstantin Khlebnikov
2012-03-21  6:57 ` [PATCH 16/16] mm: vm_flags_t strict type checking Konstantin Khlebnikov
2012-03-21 12:11   ` [PATCH v2 " Konstantin Khlebnikov
2012-03-21 10:06 ` [PATCH 00/16] mm: prepare for converting vm->vm_flags to 64-bit Minchan Kim
2012-03-21 13:16   ` Konstantin Khlebnikov
2012-03-22  5:39     ` Minchan Kim
2012-03-22  6:22       ` Benjamin Herrenschmidt
2012-03-24 14:46         ` Konstantin Khlebnikov
2012-03-24 15:00           ` Konstantin Khlebnikov
2012-03-24 23:50           ` Benjamin Herrenschmidt
2012-03-25  7:55             ` Konstantin Khlebnikov
2012-03-22 21:26     ` Andrew Morton
2012-03-22 21:28       ` Al Viro
2012-03-22 21:41         ` Andrew Morton
2012-03-22 21:57           ` Al Viro
2012-03-22 22:05           ` Konstantin Khlebnikov
2012-03-22 22:24             ` Konstantin Khlebnikov
2012-03-22 22:39               ` Linus Torvalds
2012-03-22 22:52                 ` Konstantin Khlebnikov
2012-03-22 23:09                   ` Andrew Morton
2012-03-23  1:42                     ` Al Viro
2012-03-22 22:08           ` Linus Torvalds
2012-03-23 16:19         ` KOSAKI Motohiro
2012-03-30  2:19           ` Al Viro

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).