diff options
author | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2023-12-07 18:45:25 +0000 |
---|---|---|
committer | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2023-12-07 20:53:44 +0000 |
commit | 8a8e86b819dcaf60ed0858f7b00cb733c9ae3aca (patch) | |
tree | 2f9a543be62fb86d0dd2d9b231979be9cd6d111d /lib/libopie/config.h | |
parent | 7b085f14b73c1ac7168b50a86478a32bbcaab1fa (diff) | |
download | src-main.tar.gz src-main.zip |
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 14dcd40983748596d116d91acb934a8a95ac76bc.
[1] https://github.com/freebsd/drm-kmod/pull/243
Reviewed by: kib
Approved by: kib
Differential Revision: https://reviews.freebsd.org/D42962
Diffstat (limited to 'lib/libopie/config.h')
0 files changed, 0 insertions, 0 deletions