Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933239AbbENBjz (ORCPT ); Wed, 13 May 2015 21:39:55 -0400 Received: from mail-ie0-f175.google.com ([209.85.223.175]:34763 "EHLO mail-ie0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753703AbbENBjy (ORCPT ); Wed, 13 May 2015 21:39:54 -0400 MIME-Version: 1.0 In-Reply-To: <20150513222533.GA24192@ZenIV.linux.org.uk> References: <20150505052205.GS889@ZenIV.linux.org.uk> <20150511180650.GA4147@ZenIV.linux.org.uk> <20150513222533.GA24192@ZenIV.linux.org.uk> Date: Wed, 13 May 2015 18:39:53 -0700 X-Google-Sender-Auth: AjdpPef3bG5-feyKco1Sew9yAhI Message-ID: Subject: Re: [RFC][PATCHSET v3] non-recursive pathname resolution & RCU symlinks From: Linus Torvalds To: Al Viro Cc: Linux Kernel Mailing List , linux-fsdevel , Christoph Hellwig , Neil Brown Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1742 Lines: 36 On Wed, May 13, 2015 at 3:25 PM, Al Viro wrote: > More on top of the current vfs.git#for-next (== the posted patchset > with a couple of fixes): more fs/namei.c reorganization and stack footprint > reduction (below 1Kb now). One interesting piece of that is that we don't > touch current->fs->lock anymore - unlazy_walk() used to, but now we can > get rid of that. Ok. I don't see anything wrong here, but I have to admit that I'm also at the point where I go "maybe this area should calm down a bit", and where I'd prefer to not see more long patch-series. Even if most of the patches seem to be fairly mechanical code movement and cleanup and preparation, mistakes happen, and I just get worried. So I think the series is good, but in particular if you're planning on some more core changes (ie your "act on filename" callback thing), I would really prefer that we stop at this point for the 4.2 window, and make sure it's all stable. And then your callback thing could be for 4.3. That said, I'm not entirely convinced about a callback approach for stat() and friends. I suspect only stat() is really critical enough to warrant the whole "let's do it all in RCU mode", and if there's only one case, then there's no need for the (*act) indirection - might as well hardcode it. But feel free to convince me. Again, I'd really prefer that to be after the current work has been in a stable release and a well tested base, though. Linus -- 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/