On Saturday 09 August 2008, Herbert Xu wrote:oops, I don't exactly understand this. You think that kernel_fpu_begin(); XCRYPT.... kernel_fpu_end(); is a problem and wasn't before? Say we have a software crypt-alg which uses optimized memcpy implemented with SSE instructions. These are protected with kernel_fpu_begin(); kernel_fpu_end(); So we have also code kernel_fpu_begin(); SSE.... kernel_fpu_end(); in crypto called under same circumstances. If XCRYPT may be interrupted and the interrupt code again uses this optimized memcpy implementation and so nesting kernel_fpu_begin then why should this not happen with the other alg. How could any kernel code use MMX/SSE/FPU when the interrupt case isn't handled? Or is your argument that its lazy allocation itself is the problem: this nesting could always happen and was a bug but only with lazy allocation it is dangerous (as it may cause a spurious math fault in the race window). If this were right than any kernel code executing SSE may trigger now a oops in __switch_to() under some special circumstances. Regards, -- Wolfgang Walter Studentenwerk München Anstalt des öffentlichen Rechts Leiter EDV Leopoldstraße 15 80802 München Tel: +49 89 38196-276 Fax: +49 89 38196-144 wolfgang.walter@stwm.de http://www.studentenwerk-muenchen.de/ -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Linus Torvalds | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Andrew Morton | 2.6.25-mm1 |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Natalie Protasevich | [BUG] New Kernel Bugs |
