On Tue, Aug 13, 2024 at 04:35:14PM +0200, Mikulas Patocka wrote:
> kmalloc is unreliable when allocating more than 8 pages of memory. It may
> fail when there is plenty of free memory but the memory is fragmented.
> Zdenek Kabelac observed such failure in his tests.
> 
> This commit changes kmalloc to kvmalloc - kvmalloc will fall back to
> vmalloc if the large allocation fails.

Should add this tag here:
Reported-by: Zdenek Kabelac <zkabe...@redhat.com>
 
> Signed-off-by: Mikulas Patocka <mpato...@redhat.com>
> Cc: sta...@vger.kernel.org

Reviewed-by: Mike Snitzer <snit...@kernel.org>

Reply via email to