Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 3 Jul 2002 14:43:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 3 Jul 2002 14:43:04 -0400 Received: from mailout09.sul.t-online.com ([194.25.134.84]:64902 "EHLO mailout09.sul.t-online.com") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Wed, 3 Jul 2002 14:43:02 -0400 Content-Type: text/plain; charset=US-ASCII From: Oliver Neukum To: Hugh Dickins , "Adam J. Richter" Subject: Re: Rusty's module talk at the Kernel Summit Date: Wed, 3 Jul 2002 20:46:24 +0200 User-Agent: KMail/1.4.1 Cc: kaos@ocs.com.au, linux-kernel@vger.kernel.org References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <200207032046.24730.oliver@neukum.name> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 25 Am Mittwoch, 3. Juli 2002 19:07 schrieb Hugh Dickins: > On Wed, 3 Jul 2002, Adam J. Richter wrote: > > On Wed, 03 Jul 2002 22:27:33 +1000, Keith Owens wrote: > > >It does not. There is no code to adjust any tables after discarding > > >kernel __init sections. We rely on the fact that the discarded > > > kernel area is not reused for executable text. > > > > Come to think of it, if the core kernel's .text.init pages could > > later be vmalloc'ed for module .text section, then I think you may > > have found a potential kernel bug. > > No: the virtual address (which is what matters) would be different: > core kernel's .text.init is not in vmalloc virtual address range. Does that mean that kmalloc cannot be used to load modules? At least for small modules it would save TLB entries. Regards Oliver - 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/