Re: tcp_do_sendmsg() allocation still broken ?

From: David S. Miller (davem@redhat.com)
Date: Sat Oct 28 2000 - 21:34:06 EDT

  • Next message: Rik van Riel: "Re: tcp_do_sendmsg() allocation still broken ?"

       Date: Sun, 29 Oct 2000 02:03:11 +0100
       From: Andi Kleen <ak@suse.de>

       tcp_do_sendmsg() should only be called from process context,
       because it can sleep for other reasons anyways.

       If someone calls it from interrupt context it needs to be fixed.

    He is calling it from process context, he needs GFP_ATOMIC for
    other reasons (VM deadlocks when using NBD).

    Later,
    David S. Miller
    davem@redhat.com
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Oct 28 2000 - 21:50:23 EDT