Gentoo Archives: gentoo-user

From: Ow Mun Heng <Ow.Mun.Heng@×××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Heads up - Perl upgrade borked spamassassin & fix, but still curious
Date: Wed, 08 Dec 2004 10:54:01
Message-Id: 1102402524.27388.4.camel@neuromancer.home.net
In Reply to: Re: [gentoo-user] Heads up - Perl upgrade borked spamassassin & fix, but still curious by Peter Ruskin
1 On Mon, 2004-12-06 at 20:34, Peter Ruskin wrote:
2 > On Monday 06 December 2004 12:02, Holly Bostick wrote:
3 > > Holly Bostick wrote:
4 > > > Peter Ruskin wrote:
5 > > >> On Monday 06 December 2004 05:09, Ow Mun Heng wrote:
6 > > > >>PS : Your signature noted that you're runnning
7 > > > >> 2.6.9-r6-regparm.
8 > > >>>
9 > > >>> What's Regparm
10 > > >>
11 > > >> I just added "-regparm" to "EXTRAVERSION" in the kernel source
12 > > >> Makefile to remind me that I had set CONFIG_REGPARM=y
13 > > >> (Processor type and features):
14 > > >>
15 > > >> "Use register arguments (EXPERIMENTAL) (REGPARM)
16 > > >>
17 > > >> Compile the kernel with -mregparm=3. This uses an different
18 > > >> ABI and passes the first three arguments of a function call in
19 > > >> registers. This will probably break binary only modules.
20 > > >
21
22 That's fine and all, but it's like Greek to me, What does it do anyway?
23
24 > > > Like the ATI drivers, if you use them (which I do), thus
25 > > > presumably also the nVidia drivers, if you use them. So I don't
26 > > > use this setting myself, tasty as it looks
27
28 I'm on a ATI Radeon 9000, but I don't use the drivers from ATI.
29
30 >
31 > I use the nVidia drivers with no problems. The whole desktop seems
32 > a bit more snappy with regparm.
33
34 Hmm... how does passing registers makes things snappier?
35
36 > > >
37 > > > Just a note, before Ow Mung goes recompiling his kernel to
38 > > > enable this ;-) .
39
40 I just might :-)
41 I'm still on 2.6.9-r4
42
43 > > Anyway, the point being that there are some modules that seem
44 > > unrelated, but which one might be using, that will break if
45 > > regparm is set. So be careful.
46 > >
47 > Good advice. It's been around for a while but I didn't use it
48 > before because it broke Win4Lin. Now that Netraverse has issued
49 > new patches for this problem, I'm experiencing regparm for the
50 > first time.
51
52 I use VMware. So.. will it break? I guess I may have to experiment.
53
54
55 --
56 Ow Mun Heng
57 Gentoo/Linux on D600 1.4Ghz
58 Neuromancer 14:53:16 up 5:31, 5 users, 0.29, 0.48, 0.45
59
60
61
62 --
63 gentoo-user@g.o mailing list