On sys-kernel/gentoo-sources-5.19.2, the patch 5020_BMQ-and-PDS-io-scheduler-v5.19-r0.patch is being applied. Starting with kernel 5.19.2, this causes a compilation failure, when enabled. kernel/sched/alt_core.c:46:10: fatal error: ../../fs/io-wq.h: No such file or directory 46 | #include "../../fs/io-wq.h" | ^~~~~~~~~~~~~~~~~~ This is related to this change, as the headers have been moved to ./io_uring/io-wq.h: https://www.spinics.net/lists/kernel/msg4473439.html But only adjusting the path is not enough, as compilation still fails with a different error then. kernel/sched/alt_core.c: In function 'sched_submit_work': kernel/sched/alt_core.c:4674:13: error: implicit declaration of function 'tsk_is_pi_blocked'; did you mean 'osq_is_locked'? [-Werror=implicit-function-declaration] 4674 | if (tsk_is_pi_blocked(tsk)) | ^~~~~~~~~~~~~~~~~ | osq_is_locked
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51265952c712e55c93f6e92e89044474191c86a commit e51265952c712e55c93f6e92e89044474191c86a Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-08-19 13:55:42 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-08-19 13:55:42 +0000 sys-kernel/gentoo-sources: Fixes for BMQ, thanks to TK-Glitch Closes: https://bugs.gentoo.org/865623 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/gentoo-sources/Manifest | 3 +++ .../gentoo-sources/gentoo-sources-5.19.2-r1.ebuild | 29 ++++++++++++++++++++++ 2 files changed, 32 insertions(+)