[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100517.172138.48493572.davem@davemloft.net>
Date: Mon, 17 May 2010 17:21:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vapier@...too.org
Cc: netdev@...r.kernel.org, uclinux-dist-devel@...ckfin.uclinux.org,
sonic.zhang@...log.com
Subject: Re: [PATCH 3/9] netdev: bfin_mac: invalid data cache only once for
each new rx skb buffer
From: Mike Frysinger <vapier@...too.org>
Date: Mon, 10 May 2010 11:39:08 -0400
> From: Sonic Zhang <sonic.zhang@...log.com>
>
> The skb buffer isn't actually used until we finish transferring and pass
> it up to higher layers, so only invalidate the range once before we start
> receiving actual data. This also avoids the problem with data invalidating
> on Blackfin systems -- there is no invalidate-only, just invalidate+flush.
> So when running in writeback mode, there is the small (but not uncommon)
> possibility of the flush overwriting valid DMA-ed data from the cache.
>
> Signed-off-by: Sonic Zhang <sonic.zhang@...log.com>
> Signed-off-by: Mike Frysinger <vapier@...too.org>
Applied.
--
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