Monday, December 14, 2020

Project C v5.10-r0 release

Project C v5.10-r0 is released.


  1. Hi Alfred,

    have here problems with compiling kernel 5.10 and 5.10.1 with the full patch 5.10-r0.
    Error message:
    kernel/sched/bmq_imp.h:65:19: Fehler: Statische Deklaration von »task_running_nice« folgt nicht-statischer Deklaration
    65 | static inline int task_running_nice(struct task_struct *p)
    | ^~~~~~~~~~~~~~~~~
    In Datei, eingebunden von kernel/sched/sched.h:6,
    von kernel/sched/alt_core.c:18:
    kernel/sched/alt_sched.h:376:12: Anmerkung: Vorherige Deklaration von »task_running_nice« war hier
    376 | extern int task_running_nice(struct task_struct *p);

    Hope that helps.

    Regards Mike

  2. This worked for me too:

  3. Just an fyi for the next update, there's a warning on my x86 UP build (not sure if x64 had it):
    In file included from kernel/sched/alt_core.c:129:
    kernel/sched/bmq_imp.h:188:13: warning: ‘sched_task_ttwu’ defined but not used [-Wunused-function]
    188 | static void sched_task_ttwu(struct task_struct *p)

  4. Hi, Trying to build on 5.10.2 with CONFIG_SCHED_BMQ=y. Here is the error:

    kernel/sched/alt_core.c: In function 'sched_init':
    kernel/sched/alt_core.c:5979:2: error: implicit declaration of function 'sched_selftest' [-Werror=implicit-function-declaration]
    5979 | sched_selftest();
    | ^~~~~~~~~~~~~~
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/ kernel/sched/alt_core.o] Error 1
    make[1]: *** [scripts/ kernel/sched] Error 2
    make: *** [Makefile:1813: kernel] Error 2

    1. I don't think sched_selftest() is exiest in any official release patch files, would you double check where you got your patch?

    2. Sorry, just found the patchset I used include some commits from develop branch, see