Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* SMP Drivers on OSF/1 3.0 - DEV_FUNNEL or DEV_FUNNEL_NULL ?
@ 1995-02-05 22:14 Karl Strickland
  0 siblings, 0 replies; only message in thread
From: Karl Strickland @ 1995-02-05 22:14 UTC (permalink / raw)


OK, say you decide to cheat and force all your driver's kernel threads
onto the master CPU using a funnel.  What do you put in the [bc]devsw[]
table; is it DEV_FUNNEL or DEV_FUNNEL_NULL ?

DEC's 'Writing Device Drivers: Advanced Topics' manual seems to give
conflicting information.

	Section 2.3.3 says:
	"... You funnel a device driver onto a single CPU by
	setting the d_funnel member of the bdevsw or cdevsw table
	to the value DEV_FUNNEL.  This value causes the kernel to
	make the appropriate calls to unix_master and unix_release
	to force execution of the driver onto the master CPU."

	Section 5.2 says:
	"... You set this member to the DEV_FUNNEL_NULL constant to
	schedule a device driver onto a single processor.  Do this if
	you have not used the simple or complex lock mechanism to
        make your device driver SMP safe. To schedule a device driver
	onto multiple processors, set this member to the DEV_FUNNEL
	constant."

So which is correct?  Or am I misreading it?

Please email & post if possible - news is a bit flakey round here
just now!

Thanks in advance!
--
------------------------------------------+-----------------------------------
Posted using GNUS 4.1 on FreeBSD          |                    Karl Strickland
PGP 2.3a Public Key Available.            | Internet: karl@bagpuss.demon.co.uk
"VI. THE SHELL" - BSD PS2:1-9 :-)         |


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-02-05 22:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-02-05 22:14 SMP Drivers on OSF/1 3.0 - DEV_FUNNEL or DEV_FUNNEL_NULL ? Karl Strickland

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