lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100120.144639.31770545.davem@davemloft.net>
Date:	Wed, 20 Jan 2010 14:46:39 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	shemminger@...tta.com
Cc:	jarkao2@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH 00/11] DMA sync errors

From: Stephen Hemminger <shemminger@...tta.com>
Date: Wed, 20 Jan 2010 12:44:59 -0800

> According to the DMA-API.txt
>   Synchronise a single contiguous or scatter/gather mapping.  All the
>   parameters must be the same as those passed into the single mapping
>   API.

I think this is unreasonable.

And it's going to kill performance for reception of small packets.

We might as well not do RX copybreak in any of these drivers any more
if we have to DMA sync the whole thing.

I think better to look at the various implementations of DMA APIs,
I bet they all handle this case just fine.  And those that don't
are easily fixed.  Then the documentation can be updated to match
and we can forget these crazy patches.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ