diff options
| author | Qasim Ijaz <qasdev00@gmail.com> | 2025-02-15 15:52:49 +0300 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2025-02-21 17:33:57 +0300 |
| commit | 282f395244df3663dc24e97a86087431c9192513 (patch) | |
| tree | 47710a4c94a0c8ced0918ed04fb99aa551e50799 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 81256a50aa0fddefbf4849db8cad9f70c5167c04 (diff) | |
| download | linux-282f395244df3663dc24e97a86087431c9192513.tar.xz | |
x86/mm: Replace open-coded gap bounding with clamp()
Rather than manually bounding gap between gap_min and gap_max,
use the well-known clamp() macro to make the code easier to read.
Signed-off-by: Qasim Ijaz <qasdev00@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250215125249.10729-1-qasdev00@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
