[comp.unix.xenix.sco] Pagable Kernels

jfh@rpp386.cactus.org (John F Haugh II) (05/30/91)

In article <1991May29.201432.1803695@locus.com> richard@locus.com (Richard M. Mathews) writes:
>You better hunt out each place where such assumptions are made, and
>either temporarily pin down the pages you need or get a lock for the
>appropiate resource.  And then you better think about deadlock and
>performance implications of keeping things pinned or locked.

Note that the AIX v3 kernel is both pagable and pre-emptable, so you
have the problems even if you pin the pages in memory.  It is quite
fun to discover that the resource you just fondled is at this very
moment being altered by another process thread.  All of the usual
assumptions about "atomic" operations go straight out the window in
this case.
-- 
John F. Haugh II        | Distribution to  | UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 255-8251 | GEnie PROHIBITED :-) |  Domain: jfh@rpp386.cactus.org
"If liberals interpreted the 2nd Amendment the same way they interpret the
 rest of the Constitution, gun ownership would be mandatory."