linux-mips
[Top] [All Lists]

Re: kmem_alloc: NULL ptr (name=unknown) - is it a serious problem?

To: Jun Sun <jsun@mvista.com>
Subject: Re: kmem_alloc: NULL ptr (name=unknown) - is it a serious problem?
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Mon, 24 Jul 2000 01:28:22 +0200
Cc: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr
In-reply-to: <3979096E.2E11AFA6@mvista.com>; from jsun@mvista.com on Fri, Jul 21, 2000 at 07:39:42PM -0700
References: <3979096E.2E11AFA6@mvista.com>
Sender: owner-linux-mips@oss.sgi.com
On Fri, Jul 21, 2000 at 07:39:42PM -0700, Jun Sun wrote:

> I found a couple of these annoying messages at the beginning of kernel
> startup.  It seems that some subsystems are requesting regions
> (request_region()) before kernel even initialize its memory.
> 
> It appears to me this reservation is just for mutual exclusive access to
> some memory region.  Since I have a static system (no PnP and hot swap
> etc), so I can safely ignore them. 
> 
> Does that make sense?

Not really.  The kernel initializes all devices long after memory
managment, see init/main.c:start_kernel().  So the simple suggestion
would be to delay initialization.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>