View previous topic :: View next topic |
Author |
Message |
psofa Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/96958679940c5a31c501c1.jpg)
Joined: 28 Feb 2004 Posts: 485
|
Posted: Wed Apr 07, 2004 9:00 pm Post subject: What is a regparm enabled kernel? |
|
|
what is it? does it make things faster?how to enable it? _________________ psofa |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54831 Location: 56N 3W
|
Posted: Wed Apr 07, 2004 9:13 pm Post subject: |
|
|
psofa,
The kerenl help tells you about it. If you use any binary kernel modules, like nVida, they break.
It should be faster as function paramters are passed in CPU registers as far a possible instead of on the stack. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
psofa Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/96958679940c5a31c501c1.jpg)
Joined: 28 Feb 2004 Posts: 485
|
Posted: Wed Apr 07, 2004 9:29 pm Post subject: |
|
|
does it need a whole system recompile? _________________ psofa |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54831 Location: 56N 3W
|
Posted: Wed Apr 07, 2004 9:33 pm Post subject: |
|
|
psofa,
No - it only applies to the kernel and modules.
Be sure to do a make clean in the kernel tree before you start the recompile. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
psofa Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/96958679940c5a31c501c1.jpg)
Joined: 28 Feb 2004 Posts: 485
|
Posted: Wed Apr 07, 2004 9:44 pm Post subject: |
|
|
ok and how do enable it? _________________ psofa |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54831 Location: 56N 3W
|
Posted: Thu Apr 08, 2004 4:48 pm Post subject: |
|
|
psofa,
Its the last item under processor type and features in kernel config. It says Code: | Use register arguments (EXPERIMENTAL) |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|