1. 18 Jan, 2007 3 commits
    • Paul Gortmaker's avatar
      [ARM] 3911/2: Simplify alloc_thread_info on ARM · 9f661896
      Paul Gortmaker authored
      Remove ARM local cache of 4 struct thread_info.
      Can cause oops under certain circumstances.
      
      Russell indicated the original optimization was
      required on older kernels to avoid thread starvation
      on memory fragmentation, but may no longer be
      required.  I've updated the patch to 19rc4 and
      ensured no <config.h> dain-bramage slipped in this
      time (sorry about that).
      
      Original description follows:
      
      I was given some test results which pointed to an
      Oops in alloc_thread_info (happened 2x), and after
      looking at the code, I see that ARM has its own
      local cache of 4 struct thread_info. There wasn't
      any clear (to me) synchronization between the
      alloc_thread_info and the free_thread_info.
      
      I looked over the other arch, and they all simply
      allocate them on an as needed basis, so I simplified
      the ARM to do the same, based on the other arch
      (e.g. PPC) and the folks doing the testing have
      indicated that this fixed the oops.
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      9f661896
    • Russell King's avatar
      [ARM] Move HWCAP_* definitions to asm/elf.h · ced6b4c0
      Russell King authored
      Move HWCAP_* definitions into asm/elf.h, where they should belong.
      Since userspace wants to get at these definitions by including
      asm/procinfo.h, include asm/elf.h from this file if __KERNEL__
      is not defined, and issue a warning suggesting to fix the program
      up to use asm/elf.h instead.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      ced6b4c0
    • Russell King's avatar
      [ARM] Include asm/elf.h instead of asm/procinfo.h · e83087d9
      Russell King authored
      These files want to provide/access ELF hwcap information, so should
      be including asm/elf.h rather than asm/procinfo.h
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      e83087d9
  2. 17 Jan, 2007 1 commit
  3. 29 Nov, 2006 22 commits
  4. 28 Nov, 2006 14 commits