Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What is a regparm enabled kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Wed Apr 07, 2004 9:00 pm    Post subject: What is a regparm enabled kernel? Reply with quote

what is it? does it make things faster?how to enable it?
_________________
psofa
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54831
Location: 56N 3W

PostPosted: Wed Apr 07, 2004 9:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Wed Apr 07, 2004 9:29 pm    Post subject: Reply with quote

does it need a whole system recompile?
_________________
psofa
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54831
Location: 56N 3W

PostPosted: Wed Apr 07, 2004 9:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Wed Apr 07, 2004 9:44 pm    Post subject: Reply with quote

ok and how do enable it?
_________________
psofa
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54831
Location: 56N 3W

PostPosted: Thu Apr 08, 2004 4:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum