Re: I'm counting my threads, one, two, three, four, five... [1]

From: M. Warner Losh (imp_at_bsdimp.com)
Date: 09/26/04

  • Next message: Brian Fundakowski Feldman: "Re: scheduler (sched_4bsd) questions"
    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"


  • Next message: Brian Fundakowski Feldman: "Re: scheduler (sched_4bsd) questions"

    Relevant Pages

    • Re: Objects in page appear and disapear.
      ... I suggest that you ensure that someone has not accidently unticked Visible for a layer under View / Layers. ... the print drivers are all up to date. ... > Also, as I mentioned, some of the original items on the page never go> away, ... verify that your video display drivers and printer drivers are up to ...
      (microsoft.public.visio.general)
    • 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: MPSAFE TTY schedule
      ... internals of the TTY structure very often. ... where TTY drivers tamper around inside the clist and cblock ... No tty drivers access the internals of clists ... Driver-specific locking for clists is even less of a problem. ...
      (freebsd-arch)