Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 21 Nov 2001 07:17:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 21 Nov 2001 07:17:27 -0500 Received: from garrincha.netbank.com.br ([200.203.199.88]:55052 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Wed, 21 Nov 2001 07:17:18 -0500 Date: Wed, 21 Nov 2001 10:17:07 -0200 (BRST) From: Rik van Riel X-X-Sender: To: "Eric W. Biederman" Cc: "David S. Miller" , , , Subject: Re: 2.4.14 + Bug in swap_out. In-Reply-To: Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org 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 20 Nov 2001, Eric W. Biederman wrote: > "David S. Miller" writes: > > > I do not agree with your analysis. > > Neither do I now but not for your reasons :) > > I looked again we are o.k. but just barely. mmput explicitly checks > to see if it is freeing the swap_mm, and fixes if we are. It is a > nasty interplay with the swap_mm global, but the code is correct. To be honest I don't see the reason for this subtle playing with swap_mm in mmput(), since the refcounting should mean we're safe. Rik -- Shortwave goes a long way: irc.starchat.net #swl http://www.surriel.com/ http://distro.conectiva.com/ - 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/