Date: Wed, 6 Dec 2023 09:46:53 +0100 From: =?UTF-8?Q?Jean-S=C3=A9bastien_P=C3=A9dron?= <dumbbell@FreeBSD.org> To: Konstantin Belousov <kostikbel@gmail.com> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 14dcd4098374 - main - linuxkpi: `GFP_KERNEL` equals `M_NOWAIT` now Message-ID: <e7322d72-05fb-476a-ab7b-0c5310e393de@FreeBSD.org> In-Reply-To: <ZW-3rwaYDW8LbTaj@kib.kiev.ua> References: <202311241731.3AOHVsEJ061730@gitrepo.freebsd.org> <ZW-3rwaYDW8LbTaj@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e7322d72-05fb-476a-ab7b-0c5310e393de>