[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1316474104.2455.32.camel@edumazet-laptop>
Date: Tue, 20 Sep 2011 01:15:04 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Andi Kleen <ak@...ux.intel.com>
Cc: Andi Kleen <andi@...stfloor.org>, tglx@...utronix.de,
linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [PATCH 1/2] posix-timers: move global timer id management to
signal_struct v4
Le lundi 19 septembre 2011 à 16:11 -0700, Andi Kleen a écrit :
> > I'll provide not a hack but a clean patch for this.
>
> Great thanks.
> > I read once idr code, and its not messy at all.
> You're not serious right? Especially the locking scheme is just
> a extreme mess:
>
> sometimes takes a lock, sometimes requires locking from the caller
> even though the internal lock should be fine, sometimes uses unlocked
> bitmap
> operations outside a lock, all mixed with a partial RCU implementation,
> no assumption is documented of course. etc.etc. It's a great poster child
> for messy kernel code.
>
I dont know, I met more complex code in kernel, but I wont say where ;)
--
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