Re: [PATCH 1/6] crypto: SHA1 multibuffer map scatter gather walk's buffer address directly for x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2014-05-14 at 07:34 +0800, Herbert Xu wrote:

> 
> Why do we need this patch since kmap_atomic is equivalent to
> page_address plus preempt_disable on x86-64?

For multi-buffers, you may still have some data lanes with jobs 
that are partially completed when you need to put the thread
to sleep.  With kmap_atomic, you cannot sleep before unmapping.

Thanks.

Tim


--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux