[lkml]   [2008]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC PATCH crypto] AES: Add support to Intel AES-NI instructions
    On Mon, Dec 15, 2008 at 04:21:06PM +1100, Herbert Xu wrote:
    > > a. Do not touch SSE state in soft_irq
    > > b. Disable/restore soft_irq in kernel_fpu_begin/kernel_fpu_end
    > > c. Use a per-CPU data structure to save kernel FPU state during
    > > soft_irq.
    > >
    > > The mothod a is used in patch.
    > Could you run the tcrypt speed test on this and measure the
    > difference between the native AES vs. the fallback? Depending
    > on the difference I think we'd want to consider b) or c).

    Here's another option

    d. When we're in interrupt context, schedule a task to perform
    the encryption asynchronously.

    Visit Openswan at
    Email: Herbert Xu ~{PmV>HI~} <>
    Home Page:
    PGP Key:

     \ /
      Last update: 2008-12-15 13:41    [W:0.020 / U:14.920 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site