diff options
author | 2012-05-22 13:55:22 +1000 | |
---|---|---|
committer | 2012-05-22 13:55:22 +1000 | |
commit | bdfd1140731a67c74fd74814f222c8078171adcd (patch) | |
tree | e244aa26d983b56c61fb8d53eb9a1a4105476a85 /tools/perf/scripts/python/syscall-counts.py | |
parent | md/bitmap: merge bitmap_file_unmap and bitmap_file_put. (diff) | |
download | linux-dev-bdfd1140731a67c74fd74814f222c8078171adcd.tar.xz linux-dev-bdfd1140731a67c74fd74814f222c8078171adcd.zip |
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 <neilb@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions