C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 07-02-2002, 05:30 AM   #1
Registered User
 
rohit's Avatar
 
Join Date: Feb 2002
Posts: 69
Question kernel/user mode

can any one please let me know the difference between a module running in kernel mode and the normal user mode.

what and what can not be achieved if we run the program/module in kernel/normal mode(s)

best regards
rohit
rohit is offline   Reply With Quote
Old 07-03-2002, 10:37 PM   #2
Registered User
 
Join Date: Aug 2001
Posts: 202
Refferencing Linux Device Druvers (Rubini & Corbet, Oreilly, 2001) page 45:

Quote:
The advantages of user-space drivers can be surmised as follows:

* The full C Library can be linked in. the driver can perform many exotic tasks without resorting to other programs...

* The programmer can run a conventional debugger on the driver code without having to go through the contortions to debug a running kernel.

* If a user-space driver hangs, you can simply kill it...

*User memory is swappable, unlike kernel memory...

*A well-designed driver program can still allow concurrent access to the device.
Hope this helps,

starX
www.axisoftime.com
starX is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
6 measly errors beene Game Programming 11 11-14-2006 11:06 AM
Shortening main pdstatha C Programming 1 04-03-2002 04:56 PM
Showing the directory sturcture Unregistered C Programming 1 03-26-2002 04:46 PM
Implementing "ls -al" pdstatha Linux Programming 11 03-20-2002 04:39 AM
free() usage pdstatha C Programming 5 03-13-2002 09:28 AM


All times are GMT -6. The time now is 12:42 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22