diff options
| author | Peter Zijlstra <[email protected]> | 2019-08-28 15:39:46 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-09-03 06:56:14 +0000 |
| commit | db4e919d9a119b7c54eb5e5ac9bee5d3eb4cb859 (patch) | |
| tree | ebeb54ead3a2f87b0efc5e63d5715fa5ed9a1fb9 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | Linux 5.3-rc7 (diff) | |
| download | kernel-db4e919d9a119b7c54eb5e5ac9bee5d3eb4cb859.tar.gz kernel-db4e919d9a119b7c54eb5e5ac9bee5d3eb4cb859.zip | |
x86/math64: Provide a sane mul_u64_u32_div() implementation for x86_64
On x86_64 we can do a u64 * u64 -> u128 widening multiply followed by
a u128 / u64 -> u64 division to implement a sane version of
mul_u64_u32_div().
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
