]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - include/linux/seqlock.h
seqlock: livelock fix
authorIngo Molnar <mingo@elte.hu>
Thu, 3 Apr 2008 07:06:13 +0000 (09:06 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Apr 2008 22:25:08 +0000 (00:25 +0200)
commit88a411c07b6fedcfc97b8dc51ae18540bd2beda0
tree9aa732fdcaeadcde06c931672aa7da7b168bd82c
parentb69d3987f4360a5e7e9e55465b3cdd0cc204b79e
seqlock: livelock fix

Thomas Gleixner debugged a particularly ugly seqlock related livelock:
do not process the seq-read section if we know it beforehand that the
test at the end of the section will fail ...

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/seqlock.h