LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-29-2012, 10:40 AM   #1
ram619
LQ Newbie
 
Registered: Jun 2012
Location: India
Posts: 10

Rep: Reputation: Disabled
Difference between Static Kernel Module & Dynamic Kernel Module


Can anyone please tell me complete differences between Static Kernel Module & Dynamic Kernel Module.


Thanks in advance!
 
Old 07-29-2012, 12:50 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,137

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Basically, it's what you build in. You can build a module into the kernel but that's usually 'compiled in'

Static & dynamic refer to the way you compile. Every box has basic routines (write on screen, read usb, etc). With static all that code is included for every program that needs it so they are huge. many copies of the same code cen be there, hogging ram.

Dynamic relies on the presence of libraries, and the library is only loaded once no matter how many programs use it. I the libs go missing, your program barfs.

Go dynamic.
 
1 members found this post helpful.
Old 12-11-2012, 05:27 AM   #3
ram619
LQ Newbie
 
Registered: Jun 2012
Location: India
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks business_kid ............
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Install older kernel module into newer kernel - no symbol version for module bayoulinux Linux - Kernel 4 10-26-2011 04:32 AM
Kernel Compiling: Static vs. Module CoderMan Linux - General 2 08-08-2009 03:33 AM
How to link a static library to a kernel module pallava Linux - Newbie 1 09-26-2007 08:25 PM
dynamic memory allocation in kernel module appas Programming 4 09-21-2004 06:36 AM
php static module & dynamic module install. eye Linux - Software 0 10-18-2003 12:16 PM


All times are GMT -5. The time now is 07:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration