The HyperNews Linux KHG Discussion Pages
| Next-in-Thread | Next Response | Previous Response | Next Thread |

None: Untitled

Base: The Linux Kernel Hackers' Guide
Re: Question Misc questions on the kernel (Hasdi)
Keywords: device driver task virtual memory
Date: Thu, 18 Jul 1996 09:34:38 GMT
From: benschop@eb.ele.tue.nl

Why cannot the kernel be swapped?
- Because swapping itself depends on many parts of the kernel.
  Swapping needs access to the memory manager, the disk driver,
  maybe the file system and much more.

Why is the /dev directory a real directory and not something like
  the /proc file system?
- Because Unix was designed that way. If you want plan9 you know
  where you can get it.

Why do the devices have major and minor numbers?
- Again, Unix was designed that way. Putting related devices in
  subdirectories might be a good idea.

Why cannot the kernel be preempted?
- The kernel code is not completely reentrant.

Why cannot device drivers be user programs?
- At least kernel modules are a major improvement to the situation
  that you had to compile the kernel in one piece. A user program
  can perform "insmod (modulename)" so you almost have what you want.

This is not the medium to ask many questions in one article.
It is hard to quote from the original article.


No Responses

a Response to: "Untitled"

| Next-in-Thread | Next Response | Previous Response | Next Thread |
| Notification | Copy/Move/Delete | Admin Mode |
| Membership | Help for HyperNews 1.9B5.6 | Frames |