From: Nick Piggin Date: Tue, 11 Nov 2008 17:51:18 +0000 (+0000) Subject: powerpc: Optimise smp_rmb X-Git-Tag: v2.6.29-rc1~574^2~115 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=957ab07b44d839ee8267e827fc4e8f1853798f57;p=pandora-kernel.git powerpc: Optimise smp_rmb After commit 598056d5af8fef1dbe8f96f5c2b641a528184e5a ("[POWERPC] Fix rmb to order cacheable vs. noncacheable"), rmb() becomes a sync instruction, which is needed to order cacheable vs noncacheable loads. However smp_rmb() is #defined to rmb(), and smp_rmb() can be an lwsync. This restores smp_rmb() performance by using lwsync there and updates the comments. Signed-off-by: Nick Piggin Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed