Re: git: 14dcd4098374 - main - linuxkpi: `GFP_KERNEL` equals `M_NOWAIT` now

From: Jean-Sébastien_Pédron <dumbbell_at_FreeBSD.org>
Date: Wed, 06 Dec 2023 08:46:53 UTC
On 06/12/2023 00:52, Konstantin Belousov wrote:
> Unfortunately this broke even attach of the mlx5(4) driver.
> According to the 'official' Linux kernel documentation, the GFP_KERNEL
> flag implies sleepable context.  mlx5_core uses the passed GFP flag to
> determine if it is called in the sleepable context, and now even initial
> load assumes that it cannot perform sleeping ops.  See, for instance,
> second if() statement in the mlx5_fwp_alloc() function.

Oh sorry... Thank you for reporting the issue. I will revisit this 
change then. Should I revert it in main until there is a solution?

-- 
Jean-Sébastien Pédron
The FreeBSD Project