hamadmarri / cacule-cpu-scheduler

The CacULE CPU scheduler is based on interactivity score mechanism. The interactivity score is inspired by the ULE scheduler (FreeBSD scheduler).
264 stars 32 forks source link

New issue with rdb.patch + 5.13.13-xanmod1-cacule #48

Open dhasial opened 3 years ago

dhasial commented 3 years ago

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,
      |                 ^~~~~~~~~~~~~~~
hamadmarri commented 3 years ago

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,
      |                 ^~~~~~~~~~~~~~~

Hi @Dhamma-valence

The RDB is already patched in xanmod-5.13, but you need to enable CACULE_RDB

Please check