Closed aauren closed 3 years ago
Kernel 5.9.8 already includes sch_cake, so this repository is only for kernels that don't. So we're generally not fixing compatibility bugs against newer kernels; why did you need to compile it? :)
Nice! I had no idea that it was in there now! I'll definitely stop doing all this extra work and just use what's built into the kernel. :stuck_out_tongue:
Cake's been included in linux since 4.19 over 2 years ago, but it may haven taken over a year to show up in your distro. (edit: not the case with Arch as they're fairly quick to release new kernels)
Maybe a README that mentions this and links to the wiki wouldn't hurt.
xnoreq notifications@github.com writes:
Cake's been included in linux since 4.19 over 2 years ago, but it may haven taken over a year to show up in your distro.
Maybe a README that mentions this and links to the wiki wouldn't hurt.
Yeah, good point, I'll add a README.
With the caveat that I am not a C programmer, when I went to compile this against my new kernel from Arch (5.9.8) it no longer worked. A quick search turns up the it looks like
uninitialized_var
has been intended for deprecation for a while now: https://lwn.net/Articles/529954/Fully initializing it allows sch_cake to be able to be compiled against this new kernel and should also be safe for older kernels as well.