[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.0.9999.0712041307270.32379@woody.linux-foundation.org>
Date: Tue, 4 Dec 2007 13:09:36 -0800 (PST)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Steven Rostedt <rostedt@...dmis.org>
cc: Ingo Molnar <mingo@...e.hu>, Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>,
David Holmes - Sun Microsystems <David.Holmes@....COM>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] fix for futex_wait signal stack corruption
On Tue, 4 Dec 2007, Steven Rostedt wrote:
>
> The solution I did to solve this is to allocate a temporary buffer when
> setting up the block and free it in futex_wait_restart. This patch
> allows David's test program to actually pass.
No. Unacceptable. This is a memory leak in case nobody retries it. It's
basically not how you can do this thing.
The *only* thing you can pass for a system call restart is the argument
block register state. If that is not enough, then you cannot restart it.
It's that simple.
Andrew, please do *not* put this in any queues. It's fundamentally broken,
and cannot be fixed as is.
Linus
--
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