diff options
author | 2024-05-03 08:43:11 -0700 | |
---|---|---|
committer | 2024-05-28 05:26:01 +0000 | |
commit | bb3ca38ef7aa56dcfa7f6e81675c7a39d5ee9bf1 (patch) | |
tree | a97a9cea2ffe9de0b6d642f49ec0657be71b261b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 6.10-rc1 (diff) | |
download | wireguard-linux-bb3ca38ef7aa56dcfa7f6e81675c7a39d5ee9bf1.tar.xz wireguard-linux-bb3ca38ef7aa56dcfa7f6e81675c7a39d5ee9bf1.zip |
hv_balloon: Use kernel macros to simplify open coded sequences
Code sequences equivalent to ALIGN(), ALIGN_DOWN(), and umin() are
currently open coded. Change these to use the kernel macro to
improve code clarity. ALIGN() and ALIGN_DOWN() require the
alignment value to be a power of 2, which is the case here.
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/20240503154312.142466-1-mhklinux@outlook.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20240503154312.142466-1-mhklinux@outlook.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions