lkml.org 
[lkml]   [2012]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] crypto: serpent - add x86_64/avx assembler implementation
    On Wed, May 30, 2012 at 11:55:37PM +0200, Andi Kleen wrote:
    > On Thu, May 31, 2012 at 07:44:48AM +1000, Herbert Xu wrote:
    > > On Wed, May 30, 2012 at 11:40:06PM +0200, Andi Kleen wrote:
    > > >
    > > > > What we could do is to use the cpuid-based probing when an algorithm
    > > > > is needed to selectively load the relevant implementations instead
    > > > > of all of them. However, for most algorithms it won't make that
    > > > > big a difference since all the available ones will be loaded anyway.
    > > >
    > > > Yes cpuid probing does that.
    > >
    > > I was under the impression that using cpuid meant that the algorithm
    > > would be loaded regardless of whether it has been requested, as long
    > > as the cpuid matches.
    >
    > It loads it always correct.

    You mean with cpuid it'll always load the algorithm if it is
    available even if noone is using it? Then it's probably not a
    good fit for serpent.

    Cheers,
    --
    Email: Herbert Xu <herbert@gondor.apana.org.au>
    Home Page: http://gondor.apana.org.au/~herbert/
    PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


    \
     
     \ /
      Last update: 2012-05-31 01:21    [W:0.202 / U:0.084 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site