On Sun, Jun 28, 2020 at 01:17:59PM +0200, Markus Elfring wrote:
> > kmalloc(1024, GFP_HIGHUSER) can allocate memory normally,
> > kmalloc(64*1024, GFP_HIGHUSER) will cause a memory leak,
>
> Would you like to explain the influence of the selected allocation size
> in a different way?
Markus, this
> kmalloc(1024, GFP_HIGHUSER) can allocate memory normally,
> kmalloc(64*1024, GFP_HIGHUSER) will cause a memory leak,
Would you like to explain the influence of the selected allocation size
in a different way?
> because alloc_pages returns highmem physical pages, but it cannot be directly
> con
2 matches
Mail list logo