Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262346AbVAOW0g (ORCPT ); Sat, 15 Jan 2005 17:26:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262349AbVAOW0f (ORCPT ); Sat, 15 Jan 2005 17:26:35 -0500 Received: from pfepc.post.tele.dk ([195.41.46.237]:45719 "EHLO pfepc.post.tele.dk") by vger.kernel.org with ESMTP id S262346AbVAOWZi (ORCPT ); Sat, 15 Jan 2005 17:25:38 -0500 Date: Sat, 15 Jan 2005 23:25:43 +0100 From: Sam Ravnborg To: Andi Kleen Cc: linux-kernel@vger.kernel.org Subject: Re: slab.c use of __get_user and sparse Message-ID: <20050115222543.GB8989@mars.ravnborg.org> Mail-Followup-To: Andi Kleen , linux-kernel@vger.kernel.org References: <20050115213906.GA22486@mars.ravnborg.org> <20050115220151.GA16442@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050115220151.GA16442@wotan.suse.de> User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 684 Lines: 15 On Sat, Jan 15, 2005 at 11:01:51PM +0100, Andi Kleen wrote: > > Based on the comment it is understood that suddenly this pointer points > > to userspace, because the module got unloaded. > > I wonder why we can rely on the same address now the module got unloaded - > > we may risk this virtual address is taken over by someone else? > > The address is not user space; you would be lying. Which is very bad - dropped slab.c for now. Sam - 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/