29 May, 2007

1 commit

  • Cheetah systems can have cpuids as large as 1023, although physical
    systems don't have that many cpus.

    Only three limitations existed in the kernel preventing arbitrary
    NR_CPUS values:

    1) dcache dirty cpu state stored in page->flags on
    D-cache aliasing platforms. With some build time
    calculations and some build-time BUG checks on
    page->flags layout, this one was easily solved.

    2) The cheetah XCALL delivery code could only handle
    a cpumask with up to 32 cpus set. Some simple looping
    logic clears that up too.

    3) thread_info->cpu was a u8, easily changed to a u16.

    There are a few spots in the kernel that still put NR_CPUS
    sized arrays on the kernel stack, but that's not a sparc64
    specific problem.

    Signed-off-by: David S. Miller

    David S. Miller
     

20 Mar, 2006

1 commit


19 Jan, 2006

1 commit


20 Aug, 2005

1 commit


25 Jul, 2005

1 commit


11 Jul, 2005

2 commits


24 Jun, 2005

1 commit

  • The preempt_count member of struct thread_info is currently either defined
    as int, unsigned int or __s32 depending on arch. This patch makes the type
    of preempt_count an int on all archs.

    Having preempt_count be an unsigned type prevents the catching of
    preempt_count < 0 bugs, and using int on some archs and __s32 on others is
    not exactely "neat" - much nicer when it's just int all over.

    A previous version of this patch was already ACK'ed by Robert Love, and the
    only change in this version of the patch compared to the one he ACK'ed is
    that this one also makes sure the preempt_count member is consistently
    commented.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     

17 Apr, 2005

1 commit

  • 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!

    Linus Torvalds