1 |
On Monday 06 December 2004 12:02, Holly Bostick wrote: |
2 |
> Holly Bostick wrote: |
3 |
> > Peter Ruskin wrote: |
4 |
> >> On Monday 06 December 2004 05:09, Ow Mun Heng wrote: |
5 |
> > >>PS : Your signature noted that you're runnning |
6 |
> > >> 2.6.9-r6-regparm. |
7 |
> >>> |
8 |
> >>> What's Regparm |
9 |
> >> |
10 |
> >> I just added "-regparm" to "EXTRAVERSION" in the kernel source |
11 |
> >> Makefile to remind me that I had set CONFIG_REGPARM=y |
12 |
> >> (Processor type and features): |
13 |
> >> |
14 |
> >> "Use register arguments (EXPERIMENTAL) (REGPARM) |
15 |
> >> |
16 |
> >> Compile the kernel with -mregparm=3. This uses an different |
17 |
> >> ABI and passes the first three arguments of a function call in |
18 |
> >> registers. This will probably break binary only modules. |
19 |
> > |
20 |
> > Like the ATI drivers, if you use them (which I do), thus |
21 |
> > presumably also the nVidia drivers, if you use them. So I don't |
22 |
> > use this setting myself, tasty as it looks. |
23 |
|
24 |
I use the nVidia drivers with no problems. The whole desktop seems |
25 |
a bit more snappy with regparm. |
26 |
> > |
27 |
> > Just a note, before Ow Mung goes recompiling his kernel to |
28 |
> > enable this ;-) . |
29 |
> > |
30 |
> > Holly |
31 |
> |
32 |
> Not so much to reply to myself, but on second thought, maybe it |
33 |
> was splashutils/fbsplash that is broken by this. |
34 |
> |
35 |
> Anyway, the point being that there are some modules that seem |
36 |
> unrelated, but which one might be using, that will break if |
37 |
> regparm is set. So be careful. |
38 |
> |
39 |
Good advice. It's been around for a while but I didn't use it |
40 |
before because it broke Win4Lin. Now that Netraverse has issued |
41 |
new patches for this problem, I'm experiencing regparm for the |
42 |
first time. |
43 |
|
44 |
As with any experimental kernel feature, I make a new kernel with a |
45 |
description in EXTRAVERSION and keep previous kernels in case |
46 |
things go wrong. Now that I'm happy with regparm I've included it |
47 |
in my upgraded kernel and omitted the reminder from EXTRAVERSION. |
48 |
|
49 |
-- |
50 |
Peter |
51 |
======================================================================== |
52 |
Gentoo Linux: Portage 2.0.51-r3. kernel-2.6.9-gentoo-r9. |
53 |
i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.3.4. |
54 |
KDE: 3.3.1. Qt: 3.3.3. |
55 |
======================================================================== |
56 |
|
57 |
-- |
58 |
gentoo-user@g.o mailing list |