[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1314971179.3092.159.camel@deadeye>
Date: Fri, 02 Sep 2011 14:46:17 +0100
From: Ben Hutchings <bhutchings@...arflare.com>
To: Phil Sutter <phil.sutter@...rinet.com>
Cc: linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org,
Russell King <linux@....linux.org.uk>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH] af_packet: flush complete kernel cache in packet_sendmsg
On Fri, 2011-09-02 at 13:08 +0200, Phil Sutter wrote:
> This flushes the cache before and after accessing the mmapped packet
> buffer. It seems like the call to flush_dcache_page from inside
> __packet_get_status is not enough on Kirkwood (or ARM in general).
> ---
> I know this is far from an optimal solution, but it's in fact the only working
> one I found.
[...]
This is ridiculous. If flush_dcache_page() isn't doing everything it
should, you need to fix that.
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