1. 06 3月, 2008 3 次提交
  2. 14 2月, 2008 6 次提交
  3. 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
  4. 28 1月, 2008 29 次提交
  5. 19 11月, 2007 1 次提交
    • P
      sh: lockless UTLB miss fast-path. · 0f1a394b
      Paul Mundt 提交于
      With the refactored update_mmu_cache() introduced in older kernels,
      there's no longer any need to take the page_table_lock in this path,
      so simply drop it completely.
      
      Without this, performance degradation is seen on SMP on heavily
      threaded workloads that don't use the split ptlock, and ultimately
      we have no reason to contend for the lock in the first place.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      0f1a394b