Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TIP: Trim unused exported kernel symbols AND extern modules
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
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1381

PostPosted: Sat Jan 11, 2020 3:05 pm    Post subject: TIP: Trim unused exported kernel symbols AND extern modules Reply with quote

IMHO interesting post for those with kernel external modules whishing to shrink kernel.
Likely not for the faint-hearted.
Thks 4 ur attention.


Last edited by CaptainBlood on Sun Jan 12, 2020 8:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ionen
Guru
Guru


Joined: 06 Dec 2018
Posts: 413

PostPosted: Sat Jan 11, 2020 4:54 pm    Post subject: Reply with quote

Interesting, it's something I've thought about before (it's an option I wanted to enable given my minimalist kernel), but then I'm (also) stuck with using nvidia proprietary.

Doesn't sound like it'd be hard to integrate in my build scripts and automate, may set it up later. Thanks for bringing it up :)

Formerly I did want to just build in nvidia (was the only modules I had at all, then I could disable module support), but lately I'm happy with them being modules because it's easier to unload them for GPU passthrough (on that note, if I do the trim, I guess I'll be getting even more warnings from portage which _really_ wants me to enable CONFIG_ZONE_DMA for nvidia drivers, but no! I'm using IOMMU, no thanks 8)).
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1381

PostPosted: Sat Jan 11, 2020 5:25 pm    Post subject: Reply with quote

Cdemu stack kernel integration issued the concern here.

No Nvidia, so nothing to share in this regard.
i965 instead. Maybe not so out of scope....
Haven't figured that out, yet.

Thks 4 ur attention, interest & support.
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