Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mcbinc@world.std.com (Monty C. Brandenberg)
Subject: Re: Can you lock a kernel device driver to a single processor?
Date: 1997/12/04	[thread overview]
Message-ID: <EKnGM4.J4A@world.std.com> (raw)
In-Reply-To: 347EC6B3.319DF0B7@uk.oracle.com


In <347EC6B3.319DF0B7@uk.oracle.com> Rick Morrell wrote:
> Is it possible to configure a kernel device driver so that its
> associated threads only execute on a single CPU in a multi-processor
> system?
> 

Depends what you mean by 'associated threads.'  If this means user-mode
application threads invoking the driver via the standard cdevsw/bdevsw-
style entry points, then you can declare your driver to be 'funneled' and
it will run only on the master cpu.  If you mean user-mode threads invoking
the driver via other mechanisms, see the unix_master()/unix_release() 
calls.  If you mean mach-style kernel threads, generally, the mach api's are
there for you to use, though they're not always well-documented. 

--
Monty Brandenberg					  Software Consultant
MCB, Inc.
mcbinc@world.std.com					
617.864.6907					




      reply	other threads:[~1997-12-04  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-28  5:00 Can you lock a kernel device driver to a single processor? Rick Morrell
1997-12-04  5:00 ` Monty C. Brandenberg [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox