1. 17 4月, 2008 1 次提交
  2. 08 2月, 2008 1 次提交
    • B
      Introduce flags for reserve_bootmem() · 72a7fe39
      Bernhard Walle 提交于
      This patchset adds a flags variable to reserve_bootmem() and uses the
      BOOTMEM_EXCLUSIVE flag in crashkernel reservation code to detect collisions
      between crashkernel area and already used memory.
      
      This patch:
      
      Change the reserve_bootmem() function to accept a new flag BOOTMEM_EXCLUSIVE.
      If that flag is set, the function returns with -EBUSY if the memory already
      has been reserved in the past.  This is to avoid conflicts.
      
      Because that code runs before SMP initialisation, there's no race condition
      inside reserve_bootmem_core().
      
      [akpm@linux-foundation.org: coding-style fixes]
      [akpm@linux-foundation.org: fix powerpc build]
      Signed-off-by: NBernhard Walle <bwalle@suse.de>
      Cc: <linux-arch@vger.kernel.org>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Vivek Goyal <vgoyal@in.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      72a7fe39
  3. 30 1月, 2008 1 次提交
  4. 11 10月, 2007 1 次提交
  5. 10 5月, 2007 1 次提交
  6. 08 12月, 2006 1 次提交
    • A
      [PATCH] silence unused pgdat warning from alloc_bootmem_node and friends · 4af2bfc1
      Andy Whitcroft 提交于
      x86 NUMA systems only define bootmem for node 0.  alloc_bootmem_node() and
      friends therefore ignore the passed pgdat and use NODE_DATA(0) in all
      cases.  This leads to the following warnings as we are not using the passed
      parameter:
      
        .../mm/page_alloc.c: In function 'zone_wait_table_init':
        .../mm/page_alloc.c:2259: warning: unused variable 'pgdat'
      
      One option would be to define all variables used with these macros
      __attribute__ ((unused)), but this would leave us exposed should these
      become genuinely unused.
      
      The key here is that we _are_ using the value, we ignore it but that is a
      deliberate action.  This patch adds a nested local variable within the
      alloc_bootmem_node helper to which the pgdat parameter is assigned making
      it 'used'.  The nested local is marked __attribute__ ((unused)) to silence
      this same warning for it.
      Signed-off-by: NAndy Whitcroft <apw@shadowen.org>
      Cc: Christoph Lameter <clameter@engr.sgi.com>
      Cc: Andi Kleen <ak@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4af2bfc1
  7. 26 9月, 2006 1 次提交
    • K
      [PATCH] convert i386 NUMA KVA space to bootmem · 91023300
      keith mannthey 提交于
      Address a long standing issue of booting with an initrd on an i386 numa
      system.  Currently (and always) the numa kva area is mapped into low memory
      by finding the end of low memory and moving that mark down (thus creating
      space for the kva).  The issue with this is that Grub loads initrds into
      this similar space so when the kernel check the initrd it finds it outside
      max_low_pfn and disables it (it thinks the initrd is not mapped into usable
      memory) thus initrd enabled kernels can't boot i386 numa :(
      
      My solution to the problem just converts the numa kva area to use the
      bootmem allocator to save it's area (instead of moving the end of low
      memory).  Using bootmem allows the kva area to be mapped into more diverse
      addresses (not just the end of low memory) and enables the kva area to be
      mapped below the initrd if present.
      
      I have tested this patch on numaq(no initrd) and summit(initrd) i386 numa
      based systems.
      
      [akpm@osdl.org: cleanups]
      Signed-off-by: NKeith Mannthey <kmannth@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      91023300
  8. 28 8月, 2006 1 次提交
  9. 28 3月, 2006 1 次提交
  10. 07 1月, 2006 1 次提交
  11. 30 10月, 2005 1 次提交
  12. 10 9月, 2005 1 次提交
  13. 08 7月, 2005 2 次提交
  14. 24 6月, 2005 3 次提交
  15. 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