[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.02.1302011450160.11905@ionos>
Date: Fri, 1 Feb 2013 14:52:07 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Tommi Rantala <tt.rantala@...il.com>
cc: LKML <linux-kernel@...r.kernel.org>, Dave Jones <davej@...hat.com>,
John Stultz <john.stultz@...aro.org>,
Oleg Nesterov <oleg@...hat.com>
Subject: Re: clock_nanosleep() task_struct leak
B1;2601;0cOn Fri, 1 Feb 2013, Tommi Rantala wrote:
> Hello,
>
> Trinity discovered a task_struct leak with clock_nanosleep(), reproducible with:
>
> -----8<-----8<-----8<-----
> #include <time.h>
>
> static const struct timespec req;
>
> int main(void) {
> return clock_nanosleep(CLOCK_PROCESS_CPUTIME_ID,
> TIMER_ABSTIME, &req, NULL);
> }
> -----8<-----8<-----8<-----
Groan. That code probably has more than that leak burried inside.
Thanks,
tglx
--
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