diff options
author | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 07:49:51 +0100 |
---|---|---|
committer | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 07:50:27 +0100 |
commit | 3c22cd5709e8143444a6d08682a87f4c57902df3 (patch) | |
tree | 6d245491d9103a1d77a3128ed5d1d996d3794300 /fs/filesystems.c | |
parent | fs: avoid inode RCU freeing for pseudo fs (diff) | |
download | linux-3c22cd5709e8143444a6d08682a87f4c57902df3.tar.xz linux-3c22cd5709e8143444a6d08682a87f4c57902df3.zip |
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: Nick Piggin <npiggin@kernel.dk>
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions