* Herbert Xu | 2007-08-02 17:28:25 [+0800]:
On Thu, Aug 02, 2007 at 11:23:51AM +0200, Sebastian Siewior wrote:
quoted
The only difference I can see is, that crypto_tfm_alg_alignmask() is
replaced with a static defined number instead of a lookup in a struct.
IS this the optimization?
Yes, the fact that the alignment mask is a constant allows
it to be optimised away.
If this is that important, isn't it better to add/ replace the current
_aligned call with such an optimized one? Or applies this kind of
optimization only to this special driver where it is very expensive
otherwise?
Cheers,
Sebastian