diff options
author | Naman Jain <namjain@linux.microsoft.com> | 2025-07-11 09:08:46 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2025-07-15 09:25:33 +0300 |
commit | a4131a50d072b369bfed0b41e741c41fd8048641 (patch) | |
tree | 8d0ad3f605792f9b6ec750575b237240e14689e3 /scripts/gdb/linux/xarray.py | |
parent | 6f490bb4a982f7455576d6cf409bef10aebd07b8 (diff) | |
download | linux-a4131a50d072b369bfed0b41e741c41fd8048641.tar.xz |
tools/hv: fcopy: Fix irregularities with size of ring buffer
Size of ring buffer, as defined in uio_hv_generic driver, is no longer
fixed to 16 KB. This creates a problem in fcopy, since this size was
hardcoded. With the change in place to make ring sysfs node actually
reflect the size of underlying ring buffer, it is safe to get the size
of ring sysfs file and use it for ring buffer size in fcopy daemon.
Fix the issue of disparity in ring buffer size, by making it dynamic
in fcopy uio daemon.
Cc: stable@vger.kernel.org
Fixes: 0315fef2aff9 ("uio_hv_generic: Align ring size to system page")
Signed-off-by: Naman Jain <namjain@linux.microsoft.com>
Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Link: https://lore.kernel.org/r/20250711060846.9168-1-namjain@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250711060846.9168-1-namjain@linux.microsoft.com>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions