home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / wizards / 5249 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.unix.wizards
  2. Path: sparky!uunet!spool.mu.edu!think.com!rpi!batcomputer!cornell!rochester!udel!sbcs.sunysb.edu!usenet
  3. From: synchem@sbcs.sunysb.edu (Synchem proj acct)
  4. Subject: a novice unix internals question
  5. Message-ID: <1992Dec16.081648.22123@sbcs.sunysb.edu>
  6. Sender: usenet@sbcs.sunysb.edu (Usenet poster)
  7. Nntp-Posting-Host: sbstaff2
  8. Organization: State University of New York at Stony Brook
  9. Date: Wed, 16 Dec 1992 08:16:48 GMT
  10. Lines: 21
  11.  
  12.  
  13. Hi,
  14.  
  15. I'm not a wizard.  But I hope this is a valid question.
  16.  
  17. In Unix, system calls are executed in the context of the calling process.
  18. In the Leffler 4.3BSD Unix book, it was discussed that the run-time
  19. structure of the kernel is divided into a top and a bottom half.
  20. The top half belongs in each process's address space (may need more
  21. precision).  So  far so good.  My question relates to the bottom half.
  22. The book said that the bottom half "runs on kernel stack in kernel
  23. address space", and is activated to handle mostly hardware interrupts.
  24. It was further mentioned that the bottom half usually runs on a system-wide
  25. interrup stack.  My question is, which process does the bottom half
  26. belong to.  Since hardware handling routines are supposedly short,
  27. and they have their own stack,  but no process state, is it the case that
  28. the interrupt handling routines don't belong to any process? 
  29.  
  30. Thanks for any help.
  31.  
  32.  
  33.