Re: bus_dmamem_alloc() can't handle large NOWAIT requests

From: Peter Jeremy (PeterJeremy_at_optushome.com.au)
Date: 02/28/05

  • Next message: Kris Kennaway: "Re: buildkernel warnings"
    Date: Mon, 28 Feb 2005 18:43:30 +1100
    To: freebsd-current@freebsd.org
    
    

    On Sun, 2005-Jan-09 12:11:32 +1100, Peter Jeremy wrote:
    >According to bus_dma(9), bus_dmamem_alloc() can be invoked with a
    >flag BUS_DMA_NOWAIT to indicate that sleep()ing is not allowed.
    >
    >At least on the i386, if the requested size exceeds 1 page (or some
    >other cases), the requested memory will be allocated via contigmalloc().
    >
    >bus_dmamem_alloc() maps BUS_DMA_NOWAIT to M_NOWAIT but contigmalloc()
    >does not support M_NOWAIT and will tsleep() under some conditions.

    Since I couldn't find any reference to this problem in gnats, I've
    raised kern/78179 so it doesn't get lost.

    -- 
    Peter Jeremy
    _______________________________________________
    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: Kris Kennaway: "Re: buildkernel warnings"

    Relevant Pages

    • Re: 2.6.20-rc4-mm1 -- WARNING: "profile_hits" [drivers/kvm/kvm-intel.ko] undefin
      ... WARNING: vmlinux - Section mismatch: reference to ... # ACPI Support ...
      (Linux-Kernel)
    • Re: twin patadox question
      ... >>> it your own personal opinion. ... >> that it is not without support. ... >> reference does not mean that it is without support. ... >> will not look at evidence that your statement is naive and wrong does ...
      (sci.physics.relativity)
    • Re: suncomm, drm, intel
      ... If you have a message from Rob before today regarding the support of this software, you will need to check again, as Rob now has new ... Tiger "broke" the installation of the MediaMax software, and the devs are working to fix this. ... The installation does not make a reference to Tiger not being supported. ... The brochure on SunnComm's MediaMax specifically states "Mac Protection and Compatibility" stating that "For the first time, content can be played and protected on a Mac with the same experience enjoyed on a PC..." ...
      (comp.sys.mac.advocacy)
    • Re: OT:Muslims Insulted..again
      ... I said I agree but I question its reference as an authority worthy of ... >> I thought he would approve. ... I support your right to spout nonsensical like you do... ... He advocates responsibility from within the industry itself. ...
      (rec.audio.opinion)
    • Re: Accessing Shared Properties of a Parent Windows App from Class Lib
      ... reference to the mainform object. ... You may change the declaration of shared DBConnection object from ... shared object, there is no need to refer it with mainform object reference, ... Microsoft Online Community Support ...
      (microsoft.public.dotnet.framework)