Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263290AbUJ2MCA (ORCPT ); Fri, 29 Oct 2004 08:02:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263250AbUJ2MCA (ORCPT ); Fri, 29 Oct 2004 08:02:00 -0400 Received: from phoenix.infradead.org ([81.187.226.98]:47108 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S263294AbUJ2MAd (ORCPT ); Fri, 29 Oct 2004 08:00:33 -0400 Date: Fri, 29 Oct 2004 13:00:31 +0100 From: Christoph Hellwig To: Petr Vandrovec Cc: mingo@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH[ Export __PAGE_KERNEL_EXEC for modules (vmmon) Message-ID: <20041029120031.GD11391@infradead.org> Mail-Followup-To: Christoph Hellwig , Petr Vandrovec , mingo@redhat.com, linux-kernel@vger.kernel.org References: <20041028221148.GE24972@vana.vc.cvut.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041028221148.GE24972@vana.vc.cvut.cz> User-Agent: Mutt/1.4.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by phoenix.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 633 Lines: 14 On Fri, Oct 29, 2004 at 12:11:48AM +0200, Petr Vandrovec wrote: > Hello Ingo, > recently support for NX on i386 arrived to 2.6.x kernel, and I have > some problems building code which uses vmap since then - PAGE_KERNEL_EXEC > expands to __PAGE_KERNEL_EXEC, and this one is not accessible to modules. The right thing is not to mark kernel virtual memory executable from modules at all. - 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/