• N
    kernel: optimise seqlock · 3c22cd57
    Nick Piggin 提交于
    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: NNick Piggin <npiggin@kernel.dk>
    3c22cd57
seqlock.h 6.7 KB