public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Kernel ricing
@ 2013-10-24  8:58 Adam Carter
  2013-10-24  9:06 ` Alan McKinnon
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Adam Carter @ 2013-10-24  8:58 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 826 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2013-10-30  7:22 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-24  8:58 [gentoo-user] Kernel ricing Adam Carter
2013-10-24  9:06 ` Alan McKinnon
2013-10-24 10:58   ` Adam Carter
2013-10-24 11:39     ` Alan McKinnon
2013-10-24 15:26       ` [gentoo-user] " James
2013-10-24 15:33         ` Alan McKinnon
2013-10-24 16:21           ` James
2013-10-24 17:03         ` Bruce Hill
2013-10-24 17:31           ` James
2013-10-24 17:50             ` Bruce Hill
2013-10-25 15:07               ` James
2013-10-24 17:36           ` Tanstaafl
2013-10-24 17:51             ` Bruce Hill
2013-10-24 17:55               ` Tanstaafl
2013-10-24 17:54             ` James
2013-10-25  6:39             ` Alan McKinnon
2013-10-30  7:22         ` Grant
2013-10-25  0:15     ` [gentoo-user] " Walter Dnes
2013-10-24 11:48 ` the
2013-10-24 16:22 ` [gentoo-user] " James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox