aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2017-07-10 15:51:32 -0700
committerLinus Torvalds <[email protected]>2017-07-10 16:32:34 -0700
commit2a98dc028f911a7c59c87d11d4eed6626be1605b (patch)
tree6ef30a1615e1a374a442c18d1a92015264d32b0f /tools/perf/scripts/python/futex-contention.py
parente5af323c9badd5dc09af7ccf9d45616ebffc623c (diff)
include/linux/bitmap.h: turn bitmap_set and bitmap_clear into memset when possible
Several callers have constant 'start' and an 'nbits' that is a multiple of 8, so we can turn them into calls to memset. We don't need the entirety of 'start' and 'nbits' to be constant, we just need to know whether they're divisible by 8. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Matthew Wilcox <[email protected]> Acked-by: Rasmus Villemoes <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Matthew Wilcox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions