Re: I'm counting my threads, one, two, three, four, five... [1]
From: M. Warner Losh (imp_at_bsdimp.com)
Date: 09/26/04
- Previous message: Peter Holm: "Re: scheduler (sched_4bsd) questions"
- In reply to: Poul-Henning Kamp: "I'm counting my threads, one, two, three, four, five... [1]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 26 Sep 2004 11:24:43 -0600 (MDT) To: phk@phk.freebsd.dk
In message: <41458.1096016465@critter.freebsd.dk>
"Poul-Henning Kamp" <phk@phk.freebsd.dk> writes:
: I belive this gives us the handle we need to unload drivers and remove
: hardware without panicing in the lower layers of the kernel. The
: higher layers may still have a thing or two to learn in this respect.
I've been extremely worried about the dev interface into the driver
for a long time. This proposal looks excellent, and I can't think of
anything else to add to it. It is good to see all the concerns in
this area you and I have talked about over the years appear to be
addressed by this.
The biggest problem now is that I need to address the device_t level
locking. I think with network layer locking and dev_t locking being
under control, it is close to time to tackle it.
The other big problem may happen in the device detach routines of
bus drivers not being happy with new-found sleeps.
However, these two problems always existed :-(
Well done!
Warner
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Peter Holm: "Re: scheduler (sched_4bsd) questions"
- In reply to: Poul-Henning Kamp: "I'm counting my threads, one, two, three, four, five... [1]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Future of Native Apps?
... Historically programming is adding layers between the ... > support running
of native x86 code .exes/dlls? ... > I understand native is needed for drivers etc.
but at some point the ... > spec may even require MSIL and MSIL will add instructions
to support ... (microsoft.public.dotnet.general) - Re: char device driver and bus ?
... Some sorts of devices have three layers, ... when a serial driver and
serial device will mach by what? ... Some devices have three-layer drivers, some have two,
some have ... traversal the char devices? ... (comp.os.linux.development.system) - Re: Announce: Linux-next (Or Andrews dream :-))
... We have a pile of old ISA drivers that are going to break soon with the ...
locking were so terminally broken I couldn't be bothered to fix them. ... mos7840: ditto
... evil on a PC - except ir-usb) involving playing with data structures ... (Linux-Kernel) - Re: [patch 5/6] Convert to use mutexes instead of semaphores
... underlying races. ... locking is spread over the drivers. ...
If we can find a way to safely do the locking in the backlight core I ... (Linux-Kernel) - TTY layer locking design
... I've started cleaning up locking in UML TTY drivers, ... I was starting looking
well into the TTY layer locking and its design, ... (Linux-Kernel)