HEADSUP: MPSAFE network drivers

From: Sam Leffler (sam_at_errno.com)
Date: 10/29/03

  • Next message: John Angelmo: "Re: __fpclassifyd problem"
    To: freebsd-current@freebsd.org
    Date: Wed, 29 Oct 2003 11:52:48 -0700
    
    
    

    I'm committing changes to mark various network drivers' interrupt handlers
    MPSAFE. To insure folks have a way to backout if they hit problems I've also
    added a tunable that lets you disable this w/o rebuilding your kernel. By
    default all network drivers that register an interrupt handler INTR_MPSAFE
    are setup to run their ISR w/o Giant. If you want to defeat this w/o
    changing the code you can set

    debug.mpsafenet=0

    from the loader when booting and the MPSAFE bit will automatically be removed.
    I plan to use this to also control forthcoming changes for registering MPSAFE
    netisrs.

    The following drivers are marked MPSAFE:

    ath, em, ep, fxp, sn, wi, sis

    I've got changes coming for bge. Other drivers probably can be marked MPSAFE
    but I'm only doing it for those drivers that I can test.

            Sam

    
    

    attached mail follows:


    Date: Wed, 29 Oct 2003 10:29:50 -0800 (PST)
    To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
    
    

    attached mail follows:


    
    

      FreeBSD src repository

      Modified files:
        sys/kern subr_bus.c
      Log:
      Add a temporary mechanism to disble INTR_MPSAFE from network interface
      drivers. This is prepatory to running more parts of the network system
      w/o Giant.
      
      Revision Changes Path
      1.135 +13 -0 src/sys/kern/subr_bus.c
    http://cvsweb.FreeBSD.org/src/sys/kern/subr_bus.c.diff?r1=1.134&r2=1.135

    
    

    _______________________________________________
    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"


  • Next message: John Angelmo: "Re: __fpclassifyd problem"

    Relevant Pages

    • Re: HEADSUP: MPSAFE network drivers
      ... +> I'm committing changes to mark various network drivers' interrupt handlers ... +> default all network drivers that register an interrupt handler INTR_MPSAFE ... +> from the loader when booting and the MPSAFE bit will automatically be removed. ...
      (freebsd-current)
    • Re: OSD - Image size... your thoughts?
      ... The main reason I've left network drivers ... in the image because it won't download the network drivers during post ... With OSD you can also use download and execute scenarios ... and take use of SMS Client caching techniques to preload the wim-file ...
      (microsoft.public.sms.tools)
    • Re: Not able to connect to internet
      ... Do you connect directly to the cable modem, or do you have a router/firewall ... It would be possible to get network drivers if you knew which network ... the web site should have the latest XP drivers for it. ...
      (microsoft.public.windows.mediacenter)
    • Re: Mindboggling weirdness
      ... and icons going. ... the graphics drivers. ... So unless you decide to install the graphics ... drivers you never see the network drivers. ...
      (microsoft.public.windowsxp.general)
    • Re: Upgraded to unstable - lost network connectivity
      ... Running modprobe to force the network drivers to be ... I had thought perhaps your dist-upgrade had replaced your modutils with ... Unless things have changed, modutils is for modules ...
      (Debian-User)