Re: [PATCH] __VMALLOC_RESERVE export

From: Antony Suter
Date: Mon Sep 27 2004 - 13:30:32 EST


On Tue, 2004-09-28 at 03:12, Christoph Hellwig wrote:
> On Tue, Sep 28, 2004 at 03:03:43AM +1000, Antony Suter wrote:
> > __VMALLOC_RESERVE itself is not exported but is used by something that
> > is. This patch is against 2.6.9-rc2-bk11
> >
> > This is required by the nvidia binary driver 1.0.6111
>
> And the driver does absolutely nasty things it shouldn't do. This is an
> implementation detail that absolutely should not be exported.

However __VMALLOC_RESERVE, specific to arch-i386 is now used by the
macro MAXMEM. MAXMEM is _not_ specific to arch-i386. The nvidia driver
has a kernel module that uses the macro MAXMEM. Is it wrong for a kernel
module to use MAXMEM?

--
- Antony Suter (suterant users sourceforge net) "Bonta"
- "Facts do not cease to exist because they are ignored." - Aldous Huxley

Attachment: signature.asc
Description: This is a digitally signed message part