Re: ttydev_cdevsw has no d_purge

看板FB_current作者時間13年前 (2012/08/09 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串19/28 (看更多)
On Wednesday 08 August 2012 19:24:18 Ed Schouten wrote: > 2012/8/8 Hans Petter Selasky <hselasky@c2i.net>: > >> I have a question regarding the changed fragment of code. Why don't you > >> use unr(9) KPI to manage unit numbers ? > > > > Probably I could, but right now the unr interface doesn't support pending > > unit free which I need for other reasons, see below. > > What does `pending unit free' mean? I also would prefer it if you used > unr(9) -- not just here, but across the entire USB stack. It is like a drain state, where a unit is collected for free, and then committed to free state when the tsw_free() is called. In the [unlocked] time in between the unit cannot be re-used. --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1G8gbV5z (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1G8gbV5z (FB_current)