From: NeilBrown Date: Tue, 22 May 2012 03:55:22 +0000 (+1000) Subject: md/bitmap: make _page_attr bitops atomic. X-Git-Tag: v3.5-rc1~110^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdfd1140731a67c74fd74814f222c8078171adcd;p=pandora-kernel.git md/bitmap: make _page_attr bitops atomic. Using e.g. set_bit instead of __set_bit and using test_and_clear_bit allow us to remove some locking and contract other locked ranges. It is rare that we set or clear a lot of these bits, so gain should outweigh any cost. Signed-off-by: NeilBrown --- Reading git-diff-tree failed