Hi, On Thu, Feb 14, 2013 at 05:20:07PM +0000, Dutta Yashpal-B05456 wrote: > Looked at asynchronous support in Cryptodev-1.5 and found that it is getting > in following flow > cryptask_routine calling crypto_run. Now in crypto_run API, all the > user-space process provided > buffers are either being copied to kernel buffers or they are being mapped in > kernel using > get_user_pages. > > Either way it is wrong because by the time cryptask_routine is executing, it > is running in work_queue > kernel thread context and not in process context. So, these user-space buffer > are not accessible in work-queue > Context. In my view, asynchronous support needs to be fixed.
Have you tested this? It's working fine! Prove it wrong, then I'll take care of it. :) Greetings, Phil _______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel