Monday, August 17, 2020

Project C v5.8-r1release

Project C v5.8-r1 is released with the following changes

1. Fix UP compilation issue.
2. Fix compilation issue when CONFIG_SCHED_THERMAL_PRESSURE enabled.

This is a fix release.

Full kernel tree repository can be found at https://gitlab.com/alfredchen/linux-prjc
And all-in-one patch can be found at gitlab.

Bug report at https://gitlab.com/alfredchen/projectc/issues

2 comments:

  1. Hello Alfred, first, thank you for your great work!

    I would like to get this error when compiling on Linux v5.8.1 and Project C v5.8-r1:

    In file included from kernel/sched/alt_core.c:42:
    kernel/sched/pelt.h:192:1: error: redefinition of ‘update_thermal_load_avg’
    192 | update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity)
    | ^~~~~~~~~~~~~~~~~~~~~~~
    kernel/sched/pelt.h:21:1: note: previous definition of ‘update_thermal_load_avg’ was here
    21 | update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity)
    | ^~~~~~~~~~~~~~~~~~~~~~~
    kernel/sched/pelt.h:197:19: error: redefinition of ‘thermal_load_avg’
    197 | static inline u64 thermal_load_avg(struct rq *rq)
    | ^~~~~~~~~~~~~~~~
    kernel/sched/pelt.h:26:19: note: previous definition of ‘thermal_load_avg’ was here
    26 | static inline u64 thermal_load_avg(struct rq *rq)
    | ^~~~~~~~~~~~~~~~
    kernel/sched/pelt.h:204:1: error: redefinition of ‘update_irq_load_avg’
    204 | update_irq_load_avg(struct rq *rq, u64 running)
    | ^~~~~~~~~~~~~~~~~~~
    kernel/sched/pelt.h:36:1: note: previous definition of ‘update_irq_load_avg’ was here
    36 | update_irq_load_avg(struct rq *rq, u64 running)
    | ^~~~~~~~~~~~~~~~~~~
    kernel/sched/pelt.h:220:2: error: #endif without #if
    220 | #endif
    | ^~~~~

    I had no problems with the previous PrjC version

    ReplyDelete
    Replies
    1. Nevermind for the error, it was just my mistake :)
      Everything works correctly!
      Could you please remove my comment to avoid any misinformation?

      Thank you for everything!

      Delete