summaryrefslogtreecommitdiffstats
path: root/kernel/configs.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-05-06 16:26:45 +0200
committerSteven Rostedt <rostedt@goodmis.org>2009-05-06 18:49:19 +0200
commit8e7abf1c62941ebb7a1416cbc62392c8a0902625 (patch)
tree72b62a8ce2cecee2ed0cff586fb8bed10cf0eb2d /kernel/configs.c
parenttracing: small trave_events sample Makefile cleanup (diff)
downloadlinux-8e7abf1c62941ebb7a1416cbc62392c8a0902625.tar.xz
linux-8e7abf1c62941ebb7a1416cbc62392c8a0902625.zip
ring-buffer: remove unneeded conditional in rb_reserve_next
The code in __rb_reserve_next checks on page overflow if it is the original commiter and then resets the page back to the original setting. Although this is fine, and the code is correct, it is a bit fragil. Some experimental work I did breaks it easily. The better and more robust solution is to have all commiters that overflow the page, simply subtract what they added. [ Impact: more robust ring buffer account management ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/configs.c')
0 files changed, 0 insertions, 0 deletions