24 Jul, 2008

1 commit

  • * 'cpus4096-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (31 commits)
    NR_CPUS: Replace NR_CPUS in speedstep-centrino.c
    cpumask: Provide a generic set of CPUMASK_ALLOC macros, FIXUP
    NR_CPUS: Replace NR_CPUS in cpufreq userspace routines
    NR_CPUS: Replace per_cpu(..., smp_processor_id()) with __get_cpu_var
    NR_CPUS: Replace NR_CPUS in arch/x86/kernel/genapic_flat_64.c
    NR_CPUS: Replace NR_CPUS in arch/x86/kernel/genx2apic_uv_x.c
    NR_CPUS: Replace NR_CPUS in arch/x86/kernel/cpu/proc.c
    NR_CPUS: Replace NR_CPUS in arch/x86/kernel/cpu/mcheck/mce_64.c
    cpumask: Optimize cpumask_of_cpu in lib/smp_processor_id.c, fix
    cpumask: Use optimized CPUMASK_ALLOC macros in the centrino_target
    cpumask: Provide a generic set of CPUMASK_ALLOC macros
    cpumask: Optimize cpumask_of_cpu in lib/smp_processor_id.c
    cpumask: Optimize cpumask_of_cpu in kernel/time/tick-common.c
    cpumask: Optimize cpumask_of_cpu in drivers/misc/sgi-xp/xpc_main.c
    cpumask: Optimize cpumask_of_cpu in arch/x86/kernel/ldt.c
    cpumask: Optimize cpumask_of_cpu in arch/x86/kernel/io_apic_64.c
    cpumask: Replace cpumask_of_cpu with cpumask_of_cpu_ptr
    Revert "cpumask: introduce new APIs"
    cpumask: make for_each_cpu_mask a bit smaller
    net: Pass reference to cpumask variable in net/sunrpc/svc.c
    ...

    Fix up trivial conflicts in drivers/cpufreq/cpufreq.c manually

    Linus Torvalds
     

22 Jul, 2008

4 commits

  • PTE_PFN_MASK was getting lonely, so I made it a friend.

    Signed-off-by: Jeremy Fitzhardinge
    Cc: Rusty Russell
    Signed-off-by: Ingo Molnar

    Jeremy Fitzhardinge
     
  • Rusty, in his peevish way, complained that macros defining constants
    should have a name which somewhat accurately reflects the actual
    purpose of the constant.

    Aside from the fact that PTE_MASK gives no clue as to what's actually
    being masked, and is misleadingly similar to the functionally entirely
    different PMD_MASK, PUD_MASK and PGD_MASK, I don't really see what the
    problem is.

    But if this patch silences the incessent noise, then it will have
    achieved its goal (TODO: write test-case).

    Signed-off-by: Jeremy Fitzhardinge
    Cc: Rusty Russell
    Signed-off-by: Ingo Molnar

    Jeremy Fitzhardinge
     
  • (Jeremy said:
    rusty: use PTE_MASK
    rusty: use PTE_MASK
    rusty: use PTE_MASK
    When I asked:
    jsgf: does that include the NX flag?
    He responded eloquently:
    rusty: use PTE_MASK
    rusty: use PTE_MASK
    yes, it's the official constant of masking flags out of ptes
    )

    Change a15af1c9ea2750a9ff01e51615c45950bad8221b 'x86/paravirt: add
    pte_flags to just get pte flags' removed lguest's private pte_flags()
    in favor of a generic one.

    Unfortunately, the generic one doesn't filter out the non-flags bits:
    this results in lguest creating corrupt shadow page tables and blowing
    up host memory.

    Since noone is supposed to use the pfn part of pte_flags(), it seems
    safest to always do the filtering.

    Signed-off-by: Rusty Russell
    Acked-by: Jeremy Fitzhardinge
    Signed-off-and-morning-tea-spilled-by: Ingo Molnar

    Rusty Russell
     
  • There are a couple of places where (P)Dprintk is used which is an old
    compile time enabled printk wrapper. Convert it to the generic
    pr_debug().

    Signed-off-by: Thomas Gleixner

    Thomas Gleixner
     

21 Jul, 2008

7 commits


20 Jul, 2008

18 commits


19 Jul, 2008

7 commits


18 Jul, 2008

3 commits

  • Fallout from commit 33185c504f8e521b398536b5a8d415779a24593c ("x86:
    merge signal_32/64.h")

    Thanks to Dick Streefland who provided an useful testcase on
    http://lkml.org/lkml/2008/3/17/205 (only applicable to 2.6.24.x), that
    helped a lot as a deterministic way to bisect an issue that leaded to
    this fix.

    Signed-off-by: Herton Ronaldo Krzesinski
    Signed-off-by: Luiz Fernando N. Capitulino
    Cc: Roland McGrath
    Cc:
    Signed-off-by: Ingo Molnar

    Herton Ronaldo Krzesinski
     
  • Real-time code needs to know the number of cycles per second
    on SGI UV. The information is provided via a run time BIOS
    call. This patch provides the linux side of that interface.
    This is the first of several run time BIOS calls to be defined
    in uv/bios.h and bios_uv.c.

    Note that BIOS_CALL() is just a stub for now. The bios
    side is being worked on.

    Signed-off-by: Russ Anderson
    Cc: Jack Steiner
    Signed-off-by: Ingo Molnar

    Russ Anderson
     
  • Ricardo M. Correia spotted that the use of __fls() in fls64() did
    not seem to make sense. In fact fls64()'s implementation is fine,
    but the description of __fls() was wrong. Fix that.

    Reported-by: "Ricardo M. Correia"
    Signed-off-by: Alexander van Heukelum
    Cc: Andrew Morton
    Cc: Andi Kleen
    Signed-off-by: Ingo Molnar

    Alexander van Heukelum