24 Sep, 2009

1 commit


30 Mar, 2009

2 commits


13 Dec, 2008

1 commit


14 Jul, 2008

1 commit

  • * Strengthen the return type for the _node_to_cpumask_ptr to be
    a const pointer. This adds compiler checking to insure that
    node_to_cpumask_map[] is not changed inadvertently.

    Signed-off-by: Mike Travis
    Cc: "akpm@linux-foundation.org"
    Cc: Yinghai Lu
    Acked-by: Vegard Nossum
    Signed-off-by: Ingo Molnar

    Mike Travis
     

20 Apr, 2008

1 commit

  • Create a simple macro to always return a pointer to the node_to_cpumask(node)
    value. This relies on compiler optimization to remove the extra indirection:

    #define node_to_cpumask_ptr(v, node) \
    cpumask_t _##v = node_to_cpumask(node), *v = &_##v

    For those systems with a large cpumask size, then a true pointer
    to the array element can be used:

    #define node_to_cpumask_ptr(v, node) \
    cpumask_t *v = &(node_to_cpumask_map[node])

    A node_to_cpumask_ptr_next() macro is provided to access another
    node_to_cpumask value.

    The other change is to always include asm-generic/topology.h moving the
    ifdef CONFIG_NUMA to this same file.

    Note: there are no references to either of these new macros in this patch,
    only the definition.

    Based on 2.6.25-rc5-mm1

    # alpha
    Cc: Richard Henderson

    # fujitsu
    Cc: David Howells

    # ia64
    Cc: Tony Luck

    # powerpc
    Cc: Paul Mackerras
    Cc: Anton Blanchard

    # sparc
    Cc: David S. Miller
    Cc: William L. Irwin

    # x86
    Cc: H. Peter Anvin

    Signed-off-by: Mike Travis
    Signed-off-by: Ingo Molnar

    Mike Travis
     

12 Feb, 2008

1 commit


24 Jun, 2005

1 commit

  • Define pcibus_to_node to be able to figure out which NUMA node contains a
    given PCI device. This defines pcibus_to_node(bus) in
    include/linux/topology.h and adjusts the macros for i386 and x86_64 that
    already provided a way to determine the cpumask of a pci device.

    x86_64 was changed to not build an array of cpumasks anymore. Instead an
    array of nodes is build which can be used to generate the cpumask via
    node_to_cpumask.

    Signed-off-by: Christoph Lameter
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Lameter
     

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