[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110506161209.GB20777@orbit.nwl.cc>
Date: Fri, 6 May 2011 18:12:09 +0200
From: Phil Sutter <phil@....cc>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org,
ne@...urth.eu, Johann Baudy <johann.baudy@...-log.net>,
Lennert Buytenhek <kernel@...tstofly.org>,
Nicolas Pitre <nico@...xnic.net>
Subject: Re: ARM, AF_PACKET: caching problems on Marvell Kirkwood
Hi,
On Thu, May 05, 2011 at 04:56:02PM +0200, Eric Dumazet wrote:
> I assume you use latest linux-2.6 or net-next-2.6 ?
Well, initially we noticed the problem on 2.6.34.7, but I verified it
against both 2.6.37 and linux-2.6 from three days ago.
> Could you try to force vmalloc() use ?
>
> diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
> index b5362e9..0b5a89c 100644
> --- a/net/packet/af_packet.c
> +++ b/net/packet/af_packet.c
> @@ -2383,7 +2383,7 @@ static inline char *alloc_one_pg_vec_page(unsigned long order)
> gfp_t gfp_flags = GFP_KERNEL | __GFP_COMP |
> __GFP_ZERO | __GFP_NOWARN | __GFP_NORETRY;
>
> - buffer = (char *) __get_free_pages(gfp_flags, order);
> + buffer = NULL;
>
> if (buffer)
> return buffer;
Thanks for the hint. I tried that, but the problem persists.
Greetings, Phil
--
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