mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
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: Nick Piggin <npiggin@kernel.dk>
6.7 KiB
6.7 KiB