Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 28 Apr 2001 15:07:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 28 Apr 2001 15:07:10 -0400 Received: from leibniz.math.psu.edu ([146.186.130.2]:60408 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Sat, 28 Apr 2001 15:06:57 -0400 Date: Sat, 28 Apr 2001 15:06:55 -0400 (EDT) From: Alexander Viro To: Mark Hemment cc: linux-kernel@vger.kernel.org Subject: Re: kernel lock in dcache.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 28 Apr 2001, Mark Hemment wrote: > Hi, > > d_move() in fs/dcache.c is checking the kernel lock is held > (switch_names() does the same, but is only called from d_move()). > > My question is why? > I can't see what it is using the kernel lock to sync/protect against. Metric buttload of users of ->d_parent in the filesystems. - 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/