Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765392AbXEUWoY (ORCPT ); Mon, 21 May 2007 18:44:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756243AbXEUWoJ (ORCPT ); Mon, 21 May 2007 18:44:09 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:51310 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756774AbXEUWoG (ORCPT ); Mon, 21 May 2007 18:44:06 -0400 Date: Mon, 21 May 2007 15:39:35 -0700 From: Andrew Morton To: Eric Sandeen Cc: Linux Kernel Mailing List , Tejun Heo , Maneesh Soni , stable@kernel.org Subject: Re: [stable] [PATCH] - fix oops in sysfs_readdir Message-Id: <20070521153935.b549db8f.akpm@linux-foundation.org> In-Reply-To: <4651E0C9.3080609@redhat.com> References: <4651E0C9.3080609@redhat.com> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.6; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1320 Lines: 26 On Mon, 21 May 2007 13:11:21 -0500 Eric Sandeen wrote: > This is a non-ida backport of Tejun's patch in -mm at: > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc1/2.6.22-rc1-mm1/broken-out/gregkh-driver-sysfs-allocate-inode-number-using-ida.patch > for the 2.6.16 -stable tree - it follows the same scheme of using s_ino to safely > store & retrieve the inode number of sysfs entries for use in sysfs_readdir, > but uses a brain-dead-simple inode nr allocator rather than ida, which would > bring along a lot of newer, more complex code. > > No, this doesn't guarantee uniqueness of sysfs inode numbers, but then > the code in -stable today doesn't either - and with this change, at least > it shouldn't oops. So I'm sitting here whether to commend this patch to google kernel maintainers for 2.6.18 backport, but I realise I don't know what it does. And I don't know if it fixes the reclaim-time oopses they were intermittently seeing, or if it fixes something else and if so what that is. Sigh. Better changelogs, please. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/