Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state changes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Herbert Xu <herbert@...>
Cc: H. Peter Anvin <hpa@...>, Suresh Siddha <suresh.b.siddha@...>, netdev@vger.kernel.org <netdev@...>, linux-kernel@vger.kernel.org <linux-kernel@...>, Ingo Molnar <mingo@...>, <viro@...>, <vegard.nossum@...>
Date: Friday, August 8, 2008 - 10:43 pm

On Saturday 09 August 2008, Herbert Xu wrote:

These FPU changes are already in 2.6.26. Undoing them, would that be accepted 
for 2.6.26 stable?

Maybe the following solution would be possible: if a processor with padlock is 
detected the memory for xstate is always allocated when the thread is created 
instead "lazy"?

Or would it be possible to change __switch_to(): bevor calling __unlazy_fpu() 
check if xstate is NULL, if yes, clear TS_USEDFPU and math-state?


As I wrote in my other mail: 2.6.26 with the patch seems to perform rather 
well with ipsec. Network latency and bandwidth seem completely unchanged 
compared to 2.6.15.13 as far as I can see yet.

But this is of course not a good test for kernel latency itself. As we don't 
have any destops based on VIA C3 (and these using padlock) I can't really 
test this (even if I set one up I don't know how it used to feel with 
2.6.25 :-) ). 

But I doubt that a lot of people use it as a desktop together with a VIA C3 
and ipsec. If they would they must see this crash.


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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Kernel oops with 2.6.26, padlock and ipsec: probably pro..., Wolfgang Walter, (Fri Aug 8, 10:43 pm)