diff options
| author | Francesco Valla <francesco@valla.it> | 2026-10-08 00:05:21 +0200 |
|---|---|---|
| committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2026-10-09 17:12:06 +0200 |
| commit | 0875ed8eea3b68e293f7fbc516df6bcfe33deb01 (patch) | |
| tree | 4d8d6d4cd5ced87af949a31c31f4ba1d18dabdab /kernel/stacktrace.c | |
| parent | 5e3bc6b44c8853bcc7782eac122c5baf2d02f399 (diff) | |
| download | linux-next-0875ed8eea3b68e293f7fbc516df6bcfe33deb01.tar.gz linux-next-0875ed8eea3b68e293f7fbc516df6bcfe33deb01.zip | |
dma: swiotlb: use KiB in restricted pool allocation log
Update the allocation logs for restricted memory pools to use KiBs
instead of MiBs, to avoid truncation when the size of the memory area is
not a multiple of a MiB.
Without this modification, pools smaller than 1MiB are logged as 0MiB.
The same modification has already been performed for coherent memory
pools [1].
Link: https://lore.kernel.org/all/20260629223759.2637162-1-sharaienko@google.com/ [1]
Signed-off-by: Francesco Valla <francesco@valla.it>
Link: https://lore.kernel.org/r/20261008-swiotlb-size-print-v1-1-374493b5c5a6@valla.it
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions
