Skip to content
Snippets Groups Projects
Commit 3c22cd57 authored by Nick Piggin's avatar Nick Piggin
Browse files

kernel: optimise seqlock


Add branch annotations for seqlock read fastpath, and introduce
__read_seqcount_begin and __read_seqcount_end functions, that can avoid the
smp_rmb() if used carefully. These will be used by store-free path walking
algorithm performance is critical and seqlocks are in use.

Signed-off-by: default avatarNick Piggin <npiggin@kernel.dk>
parent ff0c7d15
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment