[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081127141637.GQ6703@one.firstfloor.org>
Date: Thu, 27 Nov 2008 15:16:37 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Ingo Molnar <mingo@...e.hu>
Cc: Cyrill Gorcunov <gorcunov@...il.com>,
Andi Kleen <andi@...stfloor.org>, tglx@...utronix.de,
hpa@...or.com, linux-kernel@...r.kernel.org, heukelum@...tmail.fm
Subject: Re: [PATCH 2/5] x86: ret_from_fork - get rid of jump back
> But it gets worse than that: checking for _TIF_SYSCALL_TRACE is
> completely unnecessary here because we clear that flag for every
That's true. I found your 2005 changeset which did that, although
it seems to have been written before meaningful changelogs
became en vogue so it's unclear why. But assuming strace/gdb
always reattach it's probably ok.
But _TIF_SYSCALL_AUDIT for which it also checks is not always cleared so
it's not completely dead.
That said in theory the ret_from_sys checks should handle those too,
so it might be unnecessary (I don't remember why I added the additional
check here). Still removing it would change the order
of signal checks versus trace checks and since signal
handling is always hairy one would need to be very careful
when changing it to not break anything.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists