lkml.org 
[lkml]   [2002]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] __free_pages_ok oops
"David S. Miller" wrote:
>
> From: Andrew Morton <akpm@zip.com.au>
> Date: Wed, 06 Feb 2002 21:47:28 -0800
>
> Are you sure that the pages are being released from interrupt context?
>
> BH context... that's where SKB frees happen.
>
> hmmm...

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?

And in the case of all other skb frees, the underlying page
won't be on the LRU. I hope.

-
-
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:24    [W:0.117 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site