12 Jan, 2006

9 commits

  • Roman Zippel pointed out that the missing lower limit of intervals
    leads to an accounting error in the overrun count. Enforce the lower
    limit of intervals to resolution in the timer forwarding code.

    Signed-off-by: Thomas Gleixner

    Thomas Gleixner
     
  • Change the storage format of the per base resolution to ktime_t to
    make it easier accessible in the hrtimers code.

    Change the resolution from (NSEC_PER_SEC/HZ) to TICK_NSEC as Roman
    pointed out. TICK_NSEC is closer to the real resolution.

    Signed-off-by: Thomas Gleixner

    Thomas Gleixner
     
  • The list_head in the hrtimer structure was introduced for easy access
    to the first timer with the further extensions of real high resolution
    timers in mind, but it turned out in the course of development that
    it is not necessary for the standard use case. Remove the list head
    and access the first expiry timer by a datafield in the timer base.

    Signed-off-by: Thomas Gleixner

    Thomas Gleixner
     
  • vSMP specific alignment patch to
    1. Define INTERNODE_CACHE_SHIFT for vSMP
    2. Use this for alignment of critical structures
    3. Use INTERNODE_CACHE_SHIFT for ARCH_MIN_TASKALIGN,
    and let the slab align task_struct allocations to the internode cacheline size
    4. Introduce and use ARCH_MIN_MMSTRUCT_ALIGN for mm_struct slab allocations.

    Signed-off-by: Ravikiran Thirumalai
    Signed-off-by: Shai Fultheim
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Ravikiran G Thirumalai
     
  • They are referred to often so avoid potential false sharing for them.

    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • - Move capable() from sched.h to capability.h;

    - Use where capable() is used
    (in include/, block/, ipc/, kernel/, a few drivers/,
    mm/, security/, & sound/;
    many more drivers/ to go)

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy.Dunlap
     
  • Uninline capable(). Saves 2K of kernel text on a generic .config, and 1K on a
    tiny config. In addition it makes the use of capable more consistent between
    CONFIG_SECURITY and !CONFIG_SECURITY

    Signed-off-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • When a kprobes modules is written in such a way that probes are inserted on
    itself, then unload of that moudle was not possible due to reference
    couning on the same module.

    The below patch makes a check and incrementes the module refcount only if
    it is not a self probed module.

    We need to allow modules to probe themself for kprobes performance
    measurements

    This patch has been tested on several x86_64, ppc64 and IA64 architectures.

    Signed-off-by: Anil S Keshavamurthy
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Keshavamurthy Anil S
     
  • Let's switch mutex_debug_check_no_locks_freed() to take (addr, len) as
    arguments instead, since all its callers were just calculating the 'to'
    address for themselves anyway... (and sometimes doing so badly).

    Signed-off-by: David Woodhouse
    Acked-by: Ingo Molnar
    Signed-off-by: Linus Torvalds

    David Woodhouse
     

11 Jan, 2006

31 commits