|
From: Jaroslav K. <pe...@pe...> - 2004-03-21 11:12:24
|
On Sat, 20 Mar 2004, Heiko Zuerker wrote: > Jaroslav Kysela wrote: > > Hello all, > > > > I'm missing the variable HZ patch in current devil 2.4 kernel. > > The attached set of patches adds these two options: > > > > CONFIG_HZ - HZ value for 2.4 kernels > > CONFIG_PSCHED_CLOCK_SOURCE - clock source for packet schedulers > > > > The later option will allow to configure more better accuracy for the > > packet schedulers (like HTB etc.) for 686 based machines (and maybe for > > other machines using PSCHED_GETTIMEOFDAY option, but it might get some CPU > > power, because gettimeofday() function is slow). This option is valid for > > 2.6 kernels, too. > > > > Step-by-step applying of this change: > > > > 1) get vhz+jiffies64 patch from rml > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/rml/variable-HZ/v2.4/vhz-j64-2.4.23.patch > > > > 2) add this patch to kernel-patches-2.4.tar.bz2: > > > > root:/build/src# tar tjf kernel-patches-2.4.tar.bz2 > > kernel-patches-2.4/ > > kernel-patches-2.4/cflags_extra.diff > > kernel-patches-2.4/imq-2.4.22-through-to-2.4.25-pre6.diff > > kernel-patches-2.4/linux-2.4.25-i2c-2.8.4.patch > > kernel-patches-2.4/netfilter-imq-patch-2.4.21.diff > > kernel-patches-2.4/vhz-j64-2.4.23.patch > > > > 3) copy grsecurity-kernel-vhz?.patch attachments to /build/src directory > > 4) apply the devil-vhz.patch in /build directory with -p0 > > Where did you get the patches for grsecurity ? I've fixed the compilation problems. They are pretty straightforward for someone who works with kernel sources daily (I'm leader of the ALSA project). > I'm concerned about the availability of updated patches once newer grsec > updates are available. I can maintain it. You can remove unmaintained code at any time. Jaroslav ----- Jaroslav Kysela <pe...@pe...> |