Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 1996 10:59:01 -0700
From:      vanmaren@fast.cs.utah.edu (Kevin Van Maren)
To:        smp@csn.net, vanmaren@fast.cs.utah.edu
Cc:        ccsanady@friley216.res.iastate.edu, peter@spinner.dialix.com, smp@freebsd.org
Subject:   Re: make locking more generic?
Message-ID:  <199612051759.KAA19283@fast.cs.utah.edu>

next in thread | raw e-mail | index | archive | help
My thinking was mainly that the drivers have never been tested
in this environment.

If you have a driver that is used for two devices, and you
allow both to generate interrupts and have the driver executing
on two processors simultaneously, the shared data structures
are not going to be protected.  So the simple fix would be to
put a lock around each driver.  But you will still have
problems with other shared data structures; the same problem
with allowing multiple processes to make kernel calls.

This is all part of the enormous problem of adding fine-grained 
locking to an existing single-threaded kernel.

Kevin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612051759.KAA19283>