Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel, default preemption
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
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6656
Location: The soundosphere

PostPosted: Thu Jul 06, 2017 8:32 pm    Post subject: genkernel, default preemption Reply with quote

Is it possible to pass on the command line an argument to genkernel to automatically use the fully preemptible option instead of the default desktop preemption model? (For rt-sources.)

I see that genkernel compiles filesystem support as modules. When I manually compiled, I learned this was a no-no and to compile filesystem support into the kernel. So I've been using --menuconfig to go in and manually change ext4 to *. Can I leave it at the default of M?
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10721
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Jul 06, 2017 8:55 pm    Post subject: Reply with quote

It's only a no-no if you sometimes don't have an initramfs. Genkernel puts the filesystem modules in the initramfs it makes so the needed ones can be loaded before root is mounted. So, if you use genkernel to make the whole smash, you can leave it as the default.

However, if you don't like genkernel throwing away your --menuconfig selections each time, you can add
Code:
CLEAN="no"
to your /etc/genkernel.conf file. Comments in that file explain the consequences.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6656
Location: The soundosphere

PostPosted: Sun Jul 09, 2017 3:02 pm    Post subject: Reply with quote

Much appreciated, thank you.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
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