Re: [PATCH 2/3] x86: set_personality_ia32() abuses TS_COMPAT

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: H. Peter Anvin
Date: Tuesday, February 16, 2010 - 10:51 am

On 02/16/2010 09:44 AM, Oleg Nesterov wrote:

It's quite possible it should... I haven't dug into if that isn't either
done elsewhere or isn't done for some other reason.  This would be worth
looking into.


Trying to understand the code is good.  However, you seem to have
started out with a point of view that we should have the minimal set of
state changes possible instead of keeping state as self-consistent as
possible.  Invariants are a Very Good Thing.  Documented invariants are
even better ;)

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Oleg Nesterov, (Mon Feb 15, 9:17 am)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, H. Peter Anvin, (Mon Feb 15, 9:23 am)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Oleg Nesterov, (Mon Feb 15, 9:50 am)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, H. Peter Anvin, (Mon Feb 15, 11:06 am)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Oleg Nesterov, (Mon Feb 15, 11:52 am)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, H. Peter Anvin, (Mon Feb 15, 12:07 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, H. Peter Anvin, (Mon Feb 15, 12:10 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Roland McGrath, (Mon Feb 15, 12:41 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, H. Peter Anvin, (Mon Feb 15, 1:07 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, H. Peter Anvin, (Mon Feb 15, 1:43 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Roland McGrath, (Mon Feb 15, 2:05 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Roland McGrath, (Mon Feb 15, 2:14 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Oleg Nesterov, (Tue Feb 16, 3:19 am)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Andi Kleen, (Tue Feb 16, 3:23 am)
[PATCH 2/3] x86: set_personality_ia32() abuses TS_COMPAT, Oleg Nesterov, (Tue Feb 16, 7:02 am)
Re: [PATCH 2/3] x86: set_personality_ia32() abuses TS_COMPAT, H. Peter Anvin, (Tue Feb 16, 10:38 am)
Re: [PATCH 2/3] x86: set_personality_ia32() abuses TS_COMPAT, H. Peter Anvin, (Tue Feb 16, 10:51 am)
Re: [PATCH 2/3] x86: set_personality_ia32() abuses TS_COMPAT, Linus Torvalds, (Tue Feb 16, 11:43 am)
[tip:x86/urgent] x86: set_personality_ia32() misses force_ ..., tip-bot for Oleg Nes ..., (Tue Feb 16, 4:27 pm)