cacule-cpu-scheduler
cacule-cpu-scheduler copied to clipboard
New issue with rdb.patch + 5.13.13-xanmod1-cacule
After doing patch -p1 < rdb.patch
to 5.13.13-xanmod1-cacule, and trying to compile with make -j7 bindeb-pkg
like I normally do to make .debs, I get these errors:
kernel/sched/fair.c: At top level:
kernel/sched/fair.c:11591:2: error: #else after #else
11591 | #else
| ^~~~
kernel/sched/fair.c:11255: error: the conditional began here
11255 | #ifdef CONFIG_CACULE_RDB
|
kernel/sched/fair.c:12760:16: error: ‘rq_online_fair’ undeclared here (not in a function)
12760 | .rq_online = rq_online_fair,
| ^~~~~~~~~~~~~~
CC fs/verity/hash_algs.o
kernel/sched/fair.c:12761:17: error: ‘rq_offline_fair’ undeclared here (not in a function)
12761 | .rq_offline = rq_offline_fair,
| ^~~~~~~~~~~~~~~
After doing
patch -p1 < rdb.patch
to 5.13.13-xanmod1-cacule, and trying to compile withmake -j7 bindeb-pkg
like I normally do to make .debs, I get these errors:kernel/sched/fair.c: At top level: kernel/sched/fair.c:11591:2: error: #else after #else 11591 | #else | ^~~~ kernel/sched/fair.c:11255: error: the conditional began here 11255 | #ifdef CONFIG_CACULE_RDB | kernel/sched/fair.c:12760:16: error: ‘rq_online_fair’ undeclared here (not in a function) 12760 | .rq_online = rq_online_fair, | ^~~~~~~~~~~~~~ CC fs/verity/hash_algs.o kernel/sched/fair.c:12761:17: error: ‘rq_offline_fair’ undeclared here (not in a function) 12761 | .rq_offline = rq_offline_fair, | ^~~~~~~~~~~~~~~
Hi @Dhamma-valence
The RDB is already patched in xanmod-5.13, but you need to enable CACULE_RDB
Please check