summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Levon <levon@movementarian.org>2003-05-25 07:42:35 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-25 07:42:35 -0700
commit0d22b578d5e540aa4d046d8f9eebfe5166d3f4a4 (patch)
tree2c426ca002264e500629a94b840160b2c4ed5a23 /include
parent573eba2f372bbc7de53c85b0fadbff4acb130293 (diff)
[PATCH] OProfile: minimize sample error
The code that attempts to reset last_task and in_kernel has a race against samples appearing during the handling of the buffers, that causes a small number of mis-attribution of samples. Closing the window is non-obvious, and not worth it, so we just make it smaller. Even without the patch, there seem to be few such "bad" samples because its effects are mitigated on a switch into userspace or a task switch.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions