From: Nick Piggin Date: Fri, 7 Jan 2011 06:49:51 +0000 (+1100) Subject: kernel: optimise seqlock X-Git-Tag: v2.6.38-rc1~468^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c22cd5709e8143444a6d08682a87f4c57902df3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed