• John Levon's avatar
    [PATCH] improve OProfile on many-way systems · ddebb8b6
    John Levon authored
    Anton prompted me to get this patch merged.  It changes the core buffer
    sync algorithm of OProfile to avoid global locks wherever possible.  Anton
    tested an earlier version of this patch with some success.  I've lightly
    tested this applied against 2.6.8.1-mm3 on my two-way machine.
    
    The changes also have the happy side-effect of losing less samples after
    munmap operations, and removing the blind spot of tasks exiting inside the
    kernel.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    ddebb8b6
cpu_buffer.h 1.14 KB