kernel-hacking-2024-linux-s.../include
Minchan Kim 78fa51503f mm: use proper type for cma_[alloc|release]
size_t in cma_alloc is confusing since it makes people think it's byte
count, not pages.  Change it to unsigned long[1].

The unsigned int in cma_release is also not right so change it.  Since we
have unsigned long in cma_release, free_contig_range should also respect
it.

[1] 67a2e213e7, mm: cma: fix incorrect type conversion for size during dma allocation

Link: https://lore.kernel.org/linux-mm/20210324043434.GP1719932@casper.infradead.org/
Link: https://lkml.kernel.org/r/20210331164018.710560-1-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-05-05 11:27:24 -07:00
..
acpi
asm-generic - removed get_fs/set_fs 2021-04-29 11:28:08 -07:00
clocksource
crypto
drm
dt-bindings Here's a collection of largely clk driver updates for the merge window. The 2021-04-28 17:13:56 -07:00
keys
kunit
kvm
linux mm: use proper type for cma_[alloc|release] 2021-05-05 11:27:24 -07:00
math-emu
media
memory
misc
net net: page_pool: use alloc_pages_bulk in refill code path 2021-04-30 11:20:43 -07:00
pcmcia
ras
rdma
scsi SCSI misc on 20210428 2021-04-28 17:22:10 -07:00
soc Networking changes for 5.13. 2021-04-29 11:57:23 -07:00
sound
target
trace mm: use proper type for cma_[alloc|release] 2021-05-05 11:27:24 -07:00
uapi mm/vmscan: move RECLAIM* bits to uapi header 2021-05-05 11:27:23 -07:00
vdso
video
xen