Re: [RFC] [crypto] padlock-aes loadkey ondemand

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

 



On Wed, Apr 02, 2008 at 09:17:22AM +0200, Sebastian Siewior wrote:
> I'm not sure if they have SMP or multicore out / plans but I gave a
> little thought on this early morning: The only problem is if we get
> swapped to another cores before encryption process beginns and after key
> reset thing. If the scheduler decides to swap cores than EFLAGS should
> be reloaded and wer are fine. The only problem that I see with cpus > 1
> is that we might reload the key if it is not required. This could be
> solved with old_ctx pointer beeing a percpu. 

Yeah I think having a percpu would be good even if it isn't needed
right now.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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