* Can you lock a kernel device driver to a single processor?
@ 1997-11-28 5:00 Rick Morrell
1997-12-04 5:00 ` Monty C. Brandenberg
0 siblings, 1 reply; 2+ messages in thread
From: Rick Morrell @ 1997-11-28 5:00 UTC (permalink / raw)
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?
Cheers,
Rick
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can you lock a kernel device driver to a single processor?
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
0 siblings, 0 replies; 2+ messages in thread
From: Monty C. Brandenberg @ 1997-12-04 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-12-04 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox