0c4d08f38d
Although the value is correct; there is no source of truth between kernel and userspace. This leads to problems if the kernel has strict restrictions (such as kernel 6.17 or earlier). The restrictions were lifted in 6.17.9 and and 6.18, but there is no guarantee userspace is using this. So short term this value will be wrong. But on newer kernels the kernel will communicate the right size and rocr-runtime will be adjusted to use that. Link: https://github.com/ROCm/TheRock/pull/2505 Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>