How is supposed to be protected the units list?

Attilio Rao attilio at freebsd.org
Mon Mar 1 01:23:47 UTC 2010


Hello,
I have a question that I've been unable to reply reading the code.
Someone could point me to documentation explaining how the unit tailq
(within a struct periph_driver) is supposed to be locked?
I'm not sure how it is assured consistency of accesses to the list and
more important how is ensured that the periphs composing it doesn't go
away as I don't see any reference bump for objects inserted there.

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the freebsd-scsi mailing list