Ok, the other thread really took off down some odd, and to my eyes way off
topic, directions.

Anyway, the idea was to ask for feedback on who has done it and the results
they got. To keep things focussed, lets leave out any talk of ARM, cross
compiling, small/embedded systems, iphones, Apple, Android, old-fartiness
credentials etc :)

For context, my system is a 4 core AMD with 10gig ram, SSD for most of the
OS and VMs, then software RAID1 for bulk storage.

Since yesterday, uptime = 20.27 and no issues noticed.

<original email>
The CFLAGs used when building the kernel are set in the Makefile;
# grep HOSTCFLAGS /usr/src/linux/Makefile
HOSTCFLAGS   = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
-fomit-frame-pointer

To build with other flags you set CFLAGS_KERNEL, so i've added a suitable
-march to the standard ones for my system;
export CFLAGS_KERNEL=" -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -march=amdfam10"

then make, install, reboot. In my case the riced kernel is the same size as
the regular one, but the md5 is different. Its been up for an hour with no
obvious issues, and does seem snappier, but of course my brain is full of
cognitive bias. Has anyone else played with this? Any good or bad outcomes?
</original email>

Reply via email to