[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1323803394.2790.5.camel@bwh-desktop>
Date: Tue, 13 Dec 2011 19:09:54 +0000
From: Ben Hutchings <bhutchings@...arflare.com>
To: Stephen Hemminger <shemminger@...tta.com>
CC: Rajesh Borundia <rajesh.borundia@...gic.com>,
"starlight@...nacle.cx" <starlight@...nacle.cx>,
Sony Chacko <sony.chacko@...gic.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>
Subject: Re: kernel 3.1.1 message: <IRQ> warn_alloc_failed
On Tue, 2011-12-13 at 10:41 -0800, Stephen Hemminger wrote:
> On Tue, 13 Dec 2011 11:42:13 -0600
> Rajesh Borundia <rajesh.borundia@...gic.com> wrote:
>
> > Hi All,
> >
> > Sorry for late reply.
> >
> > Stephan,
> > Thanks for analyzing.
> >
> > Yes, the netxen adapter does not support fragmented page memory.
> > They are not harmful messages. At that instant of time it may fail allocating
> > memory for some buffers in the ring but after enough memory is available
> > it will try to allocate memory for unallocated buffers in ring.
> >
> > Or the other option could be to turn LRO off.
[...]
> The driver should be changed to call allocation with __GFP_NOWARN.
> Change dev_alloc_skb(size) to
> __dev_alloc_skb(size, GFP_ATOMIC|__GFP_NOWARN)
>
> Or better yet, switch to using netdev_alloc variant like
> __netdev_alloc_skb_ip_align(dev, length, GFP_ATOMIC|__GFP_NOWARN)
Why should this be done only in specific drivers?
Ben.
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists