1. 26 1月, 2008 1 次提交
  2. 20 7月, 2007 1 次提交
    • F
      define new percpu interface for shared data · 5fb7dc37
      Fenghua Yu 提交于
      per cpu data section contains two types of data.  One set which is
      exclusively accessed by the local cpu and the other set which is per cpu,
      but also shared by remote cpus.  In the current kernel, these two sets are
      not clearely separated out.  This can potentially cause the same data
      cacheline shared between the two sets of data, which will result in
      unnecessary bouncing of the cacheline between cpus.
      
      One way to fix the problem is to cacheline align the remotely accessed per
      cpu data, both at the beginning and at the end.  Because of the padding at
      both ends, this will likely cause some memory wastage and also the
      interface to achieve this is not clean.
      
      This patch:
      
      Moves the remotely accessed per cpu data (which is currently marked
      as ____cacheline_aligned_in_smp) into a different section, where all the data
      elements are cacheline aligned. And as such, this differentiates the local
      only data and remotely accessed data cleanly.
      Signed-off-by: NFenghua Yu <fenghua.yu@intel.com>
      Acked-by: NSuresh Siddha <suresh.b.siddha@intel.com>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Christoph Lameter <clameter@sgi.com>
      Cc: <linux-arch@vger.kernel.org>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Andi Kleen <ak@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      5fb7dc37
  3. 19 5月, 2007 2 次提交
  4. 08 5月, 2007 2 次提交
  5. 03 5月, 2007 1 次提交
  6. 22 4月, 2007 1 次提交
  7. 26 2月, 2007 1 次提交
    • N
      [ARM] 4224/2: allow XIP kernel to boot again · e98ff7f6
      Nicolas Pitre 提交于
      Since commit 2552fc27 XIP kernels failed
      to boot because (_end - PAGE_OFFSET - 1) is much smaller than the size
      of the kernel text and data in the XIP case, causing the kernel not to
      be entirely mapped.
      
      Even in the non-XIP case, the use of (_end - PAGE_OFFSET - 1) is wrong
      because it produces a too large value if TEXT_OFFSET is larger than 1MB.
      
      Finally the original code was performing one loop too many.
      
      Let's break the loop when the section pointer has passed the last byte
      of the kernel instead.
      Signed-off-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e98ff7f6
  8. 12 2月, 2007 1 次提交
  9. 28 10月, 2006 1 次提交
  10. 01 7月, 2006 1 次提交
  11. 29 6月, 2006 1 次提交
    • R
      [ARM] nommu: uaccess tweaks · 9641c7cc
      Russell King 提交于
      MMUless systems have only one address space for all threads, so
      both the usual access_ok() checks, and the exception handling do
      not make much sense.
      
      Hence, discard the fixup and exception tables at link time, use
      memcpy/memset for the user copy/clearing functions, and define
      the permission check macros to be constants.
      
      Some of this patch was derived from the equivalent patch by
      Hyok S. Choi.
      Signed-off-by: NHyok S. Choi <hyok.choi@samsung.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      9641c7cc
  12. 04 1月, 2006 1 次提交
  13. 18 11月, 2005 1 次提交
  14. 30 10月, 2005 1 次提交
    • N
      [ARM] 3061/1: cleanup the XIP link address mess · 37d07b72
      Nicolas Pitre 提交于
      Patch from Nicolas Pitre
      
      Since vmlinux.lds.S is preprocessed, we can use the defines already
      present in asm/memory.h (allowed by patch #3060) for the XIP kernel link
      address instead of relying on a duplicated Makefile hardcoded value, and
      also get rid of its dependency on awk to handle it at the same time.
      
      While at it let's clean XIP stuff even further and make things clearer
      in head.S with a nice code reduction.
      Signed-off-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      37d07b72
  15. 14 10月, 2005 1 次提交
  16. 20 9月, 2005 4 次提交
  17. 05 5月, 2005 1 次提交
    • R
      [PATCH] ARM: Fix kernel stack offset calculations · 4f7a1812
      Russell King 提交于
      Various places in the ARM kernel implicitly assumed that kernel
      stacks are always 8K due to hard coded constants.  Replace these
      constants with definitions.
      
      Correct the allowable range of kernel stack pointer values within
      the allocation.  Arrange for the entire kernel stack to be zeroed,
      not just the upper 4K if CONFIG_DEBUG_STACK_USAGE is set.
      Signed-off-by: NRussell King <rmk@arm.linux.org.uk>
      4f7a1812
  18. 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