[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8d855010270590ff0cad9e99e7b95863@coraid.com>
Date: Fri, 2 Mar 2007 10:51:00 -0500
From: Sam Hopkins <sah@...aid.com>
To: akpm@...ux-foundation.org, hch@...radead.org
CC: support@...aid.com, ecashin@...aid.com,
linux-kernel@...r.kernel.org, greg@...ah.com
Subject: Re: PATCH 2.6.21-rc1 aoe: handle zero _count pages in bios
> Well, given that bi_end_io() is called after the "io" has completed, I'm
> assuming that networking has completely finished with the memory by the
> time bi_end_io() gets called.
>
> I guess one can envisage situations where that might not happen, but they'd
> be terribly buggy ones, surely.
This is actually quite common when using broadcom chipsets that take a
long time to clean out the tx ring. We send a command skb out to
write some data, get the response some tens of ms later and the
command skb (with the pages) still sits in the tx ring. I've gone to
some lengths to limit the skb memory used in aoe to help with the
OOM/swap issue and this has given me headaches.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists