From: Tejun Heo Subject: Re: [2.6.33-rc6-git regression] idr fix breaks Xorg Date: Thu, 04 Feb 2010 17:45:03 +0900 Message-ID: <4B6A890F.3090102@kernel.org> References: <20100204012837.GC538@hexapodia.org> <20100204075642.GA28286@hexapodia.org> <4B6A8278.8070001@kernel.org> <21d7e9971002040040w5910357j1a4b35ec256728b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21d7e9971002040040w5910357j1a4b35ec256728b@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Dave Airlie Cc: Andy Isaacson , linux-kernel@vger.kernel.org, dri-devel@lists.sourceforge.net List-Id: dri-devel@lists.freedesktop.org Hello, On 02/04/2010 05:40 PM, Dave Airlie wrote: > Hmm at this late stage, maybe revert first? since the old idr code works fine > with the subsystems in question. > > The drm idr code usage isn't anything crazy, the EBADF is the return code > from the mmap ioctl when it calls the idr lookup function for a handle. > > The lookup function is just an idr_find inside a spinlock. Yeap, you're right. I'll send a patch to revert it. Thanks. -- tejun