diff options
author | 2014-06-05 01:59:57 +0200 | |
---|---|---|
committer | 2014-09-17 13:37:17 -0700 | |
commit | ed6078f70335f158ca79790a0d0708ce558a6e9a (patch) | |
tree | 636322e2a1e25f7db9f5982204a8fa4bc1bf9cbf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: clean away stripe_align helper (diff) | |
download | wireguard-linux-ed6078f70335f158ca79790a0d0708ce558a6e9a.tar.xz wireguard-linux-ed6078f70335f158ca79790a0d0708ce558a6e9a.zip |
btrfs: use DIV_ROUND_UP instead of open-coded variants
The form
(value + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT
is equivalent to
(value + PAGE_CACHE_SIZE - 1) / PAGE_CACHE_SIZE
The rest is a simple subsitution, no difference in the generated
assembly code.
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions