Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] Kernel ricing
Date: Thu, 24 Oct 2013 08:58:34
Message-Id: CAC=wYCGsYfAm8x2XgxM2t6WCdRDYhMieeSRNYkQDE6TXd1svAA@mail.gmail.com
1 The CFLAGs used when building the kernel are set in the Makefile;
2 # grep HOSTCFLAGS /usr/src/linux/Makefile
3 HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
4 -fomit-frame-pointer
5
6 To build with other flags you set CFLAGS_KERNEL, so i've added a suitable
7 -march to the standard ones for my system;
8 export CFLAGS_KERNEL=" -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
9 -fomit-frame-pointer -pipe -march=amdfam10"
10
11 then make, install, reboot. In my case the riced kernel is the same size as
12 the regular one, but the md5 is different. Its been up for an hour with no
13 obvious issues, and does seem snappier, but of course my brain is full of
14 cognitive bias. Has anyone else played with this? Any good or bad outcomes?

Replies

Subject Author
Re: [gentoo-user] Kernel ricing Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Kernel ricing the <the.guard@××××.ru>
[gentoo-user] Re: Kernel ricing James <wireless@×××××××××××.com>