opnsense-src/sys/compat
Jean-Sébastien Pédron 8a8e86b819
Revert "linuxkpi: GFP_KERNEL equals M_NOWAIT now"
This change seems to break some drivers such as the mlx5*(4) drivers.

As kib@ says:
> According to the 'official' Linux kernel documentation, the GFP_KERNEL
> flag implies sleepable context.

It was introduced while working on the new vt(4)/DRM integration [1].
During this work, doing sleepable allocations broke vt(4) and the DRM
drivers. However, I made further improvements and some locking-related
fixed to the new integration without revisiting the need for it.

After more testing, the improvements to the integration mentionned above
seems to make the change to `GFP_KERNEL` unneeded now. I can thus
revert it to restore expectations of other drivers.

This reverts commit 14dcd40983.

[1] https://github.com/freebsd/drm-kmod/pull/243

Reviewed by:	kib
Approved by:	kib
Differential Revision:	https://reviews.freebsd.org/D42962
2023-12-07 21:53:44 +01:00
..
freebsd32 Remove never implemented sbrk and sstk syscalls 2023-12-04 20:36:08 +00:00
ia32 sysentvec: add SV_SIGSYS flag 2023-10-03 01:30:52 +03:00
lindebugfs sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
linprocfs sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
linsysfs linsysfs(5): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743 2023-08-18 13:12:02 +03:00
linux sockets: don't malloc/free sockaddr memory on getpeername/getsockname 2023-11-30 08:31:10 -08:00
linuxkpi Revert "linuxkpi: GFP_KERNEL equals M_NOWAIT now" 2023-12-07 21:53:44 +01:00
x86bios sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00