Re: [PATCH] __free_pages_ok oops

From: David S. Miller (davem@redhat.com)
Date: Thu Feb 07 2002 - 01:49:40 EST


   From: Andrew Morton <akpm@zip.com.au>
   Date: Wed, 06 Feb 2002 22:19:32 -0800
   
   It's only a problem if this is the final put_page(). In the
   case of sendfile(), process-context code can be taught to take
   a temporary reference on the page, and only release it after the network
   stack is known to have finished with the page. sendfile is synchronous, yes?

Userspace can return long before the SKBs are free'd up. That SKB
free doesn't happen until the ACKs come back from the receiver.
-
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/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:58 EST