Purpose : ============= Many having expressed their wish to get some > 3.3 version, I suggest in attachments the files necessary to build a ck-sources-3.4.9 I consider this version particularly interesting because : - Linux-3.4 will be granted with long term support - It is (today) in line with last gentoo-sources stable version Short Descr =========== - Build based on Linux 3.4 distribution + GenPatches Revision 10 - Warning : Needs an extra patch (see Long Descr) - Warning : Might not build correctly if CONFIG_SCHED_BFS is not set but... who would want ck-sources without the bfs ? - I have been running this kernel trouble-free on my x86_64 DAW for one week now. - Performances as reported by sysbench threads and interbench benchmarks are in line with 3.2 - Performances as reported by sysbench mutex benchmark are a little bit worse than with 3.2. Of course, ck is in no way responsible for this. Figures are identical in plain gentoo-sources-3.4.9 Enjoy immediately or... read the long descr first. Reproducible: Always
Created attachment 323060 [details] ck-sources-3.4.9 ebuild
Created attachment 323062 [details, diff] Patch providing the necessary descriptions of calc_load_*_idle introduced by GenPatches rev10 1005 See Long Descr
Long Desc ========= - I reviewed all the GentPatches rev 10 patches and only one interferes with ck patches : 1005_linux-3.4.6.patch. - This particular patch introduces two new procedures : calc_load_enter_idle and calc_load_exit_idle. - These procedures are used in kernel/time/tick-sched.c and are declared in linux/includes/sched.h and kernel/sched.core.c - Of course this stuff is just useless to ck. Moreover, if CONFIG_NOHZ is not set, these procedures just... do nothing. - However, if CONFIG_NOHZ is set, and because kernel.sched.core.o is not linked if CONFIG_SCHED_BFS is set, then leaving things as is will make the link of the kernel fail. => I simply copied the way CK worked around this in his patch for the 3.5 kernel. That is to say declaring these procedures (doing... nothing) within kernel/sched/bfs.c among the "Compatibility crap" section. This is the purpose of the patch.
*** This bug has been marked as a duplicate of bug 432320 ***
I am very sorry Jeroen but this bug is not formally speaking a duplicate of bug 432320. Formally speaking this Bug provides the material for installing a ck-sources-3.4.9 While bug 432320 asks for a ck-sources-3.5 Would you additionally please stop constantly changing the labeling of the bugs I submit. Thank you.
This line epatch "${FILESDIR}"/${PN}-3.4.9-calc_load_idle-aCOSwt_P3.patch was changed to epatch "${FILESDIR}"/${P}-calc_load_idle-aCOSwt_P3.patch I bumped the package, and also removed the following ebuilds I chose to leave one ebuild for each major kernel version. I hope that is ok
(In reply to comment #6) > > I bumped the package, and also removed the following ebuilds -ck-sources-3.2.1.ebuild -ck-sources-3.2.5.ebuild -ck-sources-3.3.1.ebuild, -ck-sources-3.3.4.ebuild:
(In reply to comment #6) > This line > > epatch "${FILESDIR}"/${PN}-3.4.9-calc_load_idle-aCOSwt_P3.patch > > was changed to > > epatch "${FILESDIR}"/${P}-calc_load_idle-aCOSwt_P3.patch > > I bumped the package, and also removed the following ebuilds I am happy with this. I had chosen the first syntax per pure laziness because I intend to support higher revisions of the 3.4 branch and this patch is more than likely to be needed with > 3.4.9 > I chose to leave one ebuild for each major kernel version. I hope that is ok Perfect ! You could even have dropped all ebuilds < 3.4.9 as none of them match any currently supported gentoo-sources kernel. Thanks a lot for your help Markos.
(In reply to comment #8) > (In reply to comment #6) > > This line > > > > epatch "${FILESDIR}"/${PN}-3.4.9-calc_load_idle-aCOSwt_P3.patch > > > > was changed to > > > > epatch "${FILESDIR}"/${P}-calc_load_idle-aCOSwt_P3.patch > > > > I bumped the package, and also removed the following ebuilds > > I am happy with this. I had chosen the first syntax per pure laziness > because I intend to support higher revisions of the 3.4 branch and this > patch is more than likely to be needed with > 3.4.9 > > > I chose to leave one ebuild for each major kernel version. I hope that is ok > > Perfect ! You could even have dropped all ebuilds < 3.4.9 as none of them > match any currently supported gentoo-sources kernel. > > Thanks a lot for your help Markos. Understood. However, I do the same for pf-sources, as in keep one version per major release. I don't quite follow what gentoo-sources do (and I don't think it is relevant anyway ;) )