1. 28 11月, 2011 1 次提交
  2. 15 1月, 2010 1 次提交
  3. 24 3月, 2009 1 次提交
  4. 23 2月, 2009 4 次提交
  5. 11 2月, 2009 1 次提交
    • A
      powerpc/mm: Move 64-bit unmapped_area to top of address space · 91b0f5ec
      Anton Blanchard 提交于
      We currently place mmaps just below the stack on 32bit, but leave them
      in the middle of the address space on 64bit:
      
      00100000-00120000 r-xp 00100000 00:00 0                    [vdso]
      10000000-10010000 r-xp 00000000 08:06 179534               /tmp/sleep
      10010000-10020000 rw-p 00000000 08:06 179534               /tmp/sleep
      10020000-10130000 rw-p 10020000 00:00 0                    [heap]
      40000000000-40000030000 r-xp 00000000 08:06 440743         /lib64/ld-2.9.so
      40000030000-40000040000 rw-p 00020000 08:06 440743         /lib64/ld-2.9.so
      40000050000-400001f0000 r-xp 00000000 08:06 440671         /lib64/libc-2.9.so
      400001f0000-40000200000 r--p 00190000 08:06 440671         /lib64/libc-2.9.so
      40000200000-40000220000 rw-p 001a0000 08:06 440671         /lib64/libc-2.9.so
      40000220000-40008230000 rw-p 40000220000 00:00 0
      fffffbc0000-fffffd10000 rw-p fffffeb0000 00:00 0           [stack]
      
      Right now it isn't an issue, but at some stage we will run into mmap or
      hugetlb allocation issues. Using the same layout as 32bit gives us a
      some breathing room. This matches what x86-64 is doing too.
      
      00100000-00103000 r-xp 00100000 00:00 0                    [vdso]
      10000000-10001000 r-xp 00000000 08:06 554894               /tmp/test
      10010000-10011000 r--p 00000000 08:06 554894               /tmp/test
      10011000-10012000 rw-p 00001000 08:06 554894               /tmp/test
      10012000-10113000 rw-p 10012000 00:00 0                    [heap]
      fffefdf7000-ffff7df8000 rw-p fffefdf7000 00:00 0
      ffff7df8000-ffff7f97000 r-xp 00000000 08:06 130591         /lib64/libc-2.9.so
      ffff7f97000-ffff7fa6000 ---p 0019f000 08:06 130591         /lib64/libc-2.9.so
      ffff7fa6000-ffff7faa000 r--p 0019e000 08:06 130591         /lib64/libc-2.9.so
      ffff7faa000-ffff7fc0000 rw-p 001a2000 08:06 130591         /lib64/libc-2.9.so
      ffff7fc0000-ffff7fc4000 rw-p ffff7fc0000 00:00 0
      ffff7fc4000-ffff7fec000 r-xp 00000000 08:06 130663         /lib64/ld-2.9.so
      ffff7fee000-ffff7ff0000 rw-p ffff7fee000 00:00 0
      ffff7ffa000-ffff7ffb000 rw-p ffff7ffa000 00:00 0
      ffff7ffb000-ffff7ffc000 r--p 00027000 08:06 130663         /lib64/ld-2.9.so
      ffff7ffc000-ffff7fff000 rw-p 00028000 08:06 130663         /lib64/ld-2.9.so
      ffff7fff000-ffff8000000 rw-p ffff7fff000 00:00 0
      fffffc59000-fffffc6e000 rw-p ffffffeb000 00:00 0           [stack]
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      91b0f5ec
  6. 22 5月, 2007 1 次提交
    • A
      Detach sched.h from mm.h · e8edc6e0
      Alexey Dobriyan 提交于
      First thing mm.h does is including sched.h solely for can_do_mlock() inline
      function which has "current" dereference inside. By dealing with can_do_mlock()
      mm.h can be detached from sched.h which is good. See below, why.
      
      This patch
      a) removes unconditional inclusion of sched.h from mm.h
      b) makes can_do_mlock() normal function in mm/mlock.c
      c) exports can_do_mlock() to not break compilation
      d) adds sched.h inclusions back to files that were getting it indirectly.
      e) adds less bloated headers to some files (asm/signal.h, jiffies.h) that were
         getting them indirectly
      
      Net result is:
      a) mm.h users would get less code to open, read, preprocess, parse, ... if
         they don't need sched.h
      b) sched.h stops being dependency for significant number of files:
         on x86_64 allmodconfig touching sched.h results in recompile of 4083 files,
         after patch it's only 3744 (-8.3%).
      
      Cross-compile tested on
      
      	all arm defconfigs, all mips defconfigs, all powerpc defconfigs,
      	alpha alpha-up
      	arm
      	i386 i386-up i386-defconfig i386-allnoconfig
      	ia64 ia64-up
      	m68k
      	mips
      	parisc parisc-up
      	powerpc powerpc-up
      	s390 s390-up
      	sparc sparc-up
      	sparc64 sparc64-up
      	um-x86_64
      	x86_64 x86_64-up x86_64-defconfig x86_64-allnoconfig
      
      as well as my two usual configs.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e8edc6e0
  7. 10 2月, 2006 1 次提交
  8. 10 10月, 2005 1 次提交
  9. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4