On Thu, 10 Feb 2005, Fruhwirth Clemens wrote:

> Why should I pass the first thing of size X as scatterlist, and the
> second thing of size X as linear buffer? 
> 
> I could do that. It would be reasonable, because tweaks are more likely
> to be generated than transmitted, read or whatever. But what for shall I
> narrow the interface? I could also pass a linear mapped buffer as
> scatterlist. This doesn't cause any overhead.
> 
> And switching to a more specific interface would just delay a solution
> of the inherent limitations of kmap's. I guess it will take another half
> year until the next guy stumbles across this (totally undocumented!)
> problem. Why are you pushing to ignore this problem?

What problem?

All you need is the two existing kmaps, for simultaneous processing of 
input & output data at the page level.

The tweak is linearly generated data fed into this process.  It does not 
need to be kmapped.  It is not discontiguous.  There is no need for a 
third or Nth scatterlist.

Making a generic N-way scatterlist processor is pointless overengineering,
causing new problems with non-trivial solutions, for no benefit
whatsoever.


- James
-- 
James Morris
<[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to