On 31.03.21 18:40, Minchan Kim wrote:
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
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] 67a2e213e7e9, mm: cma:
2 matches
Mail list logo