lkml.org 
[lkml]   [2002]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: current->state after kmalloc
    Date
    On Tuesday 05 February 2002 01:50, Robert Love wrote:
    > On Mon, 2002-02-04 at 19:43, Oliver Neukum wrote:
    > > Is it safe with GFP_ATOMIC ?
    >
    > You are guaranteed kmalloc will not sleep if you use GFP_ATOMIC, yes.
    >
    > But I still find it gross to mark yourself sleeping but not sleep
    > immediately.

    usb_submit_urb() uses kmalloc internally.
    To code a simple waiting for the results of an urb,
    it is necessary.

    Regards
    Oliver
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:18    [W:0.045 / U:60.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site