Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 16 Dec 2000 06:20:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 16 Dec 2000 06:20:20 -0500 Received: from ns1.SuSE.com ([202.58.118.2]:13062 "HELO ns1.suse.com") by vger.kernel.org with SMTP id ; Sat, 16 Dec 2000 06:20:08 -0500 Date: Sat, 16 Dec 2000 02:49:40 -0800 (PST) From: Chris Mason To: Alan Cox Cc: Andrea Arcangeli , J Sloan , Linux kernel Subject: Re: [lkml]Re: VM problems still in 2.2.18 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 Fri, 15 Dec 2000, Alan Cox wrote: > > Yes, the same `current' context must run the down/up pair of calls and as you > > said it is legal to rely on it on all the places it's used. > > I assume thats not an issue to reiserfs ? > I don't think so. There are two places reiserfs calls down/up. In our file->release() callback, and in the ioctl we added for lilo so it can upack files with tails. Neither calls copy_from/to_user or does an allocation other than GFP_BUFFER. As far as I know that should be safe, but the change is trivial if we need to make it. -chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/