mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@karaya.com>
To: "T. Camp" <campt@openmars.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mutliple root devs (take II)
Date: Fri, 01 Dec 2000 20:04:52 -0500	[thread overview]
Message-ID: <200012020104.UAA05273@ccure.karaya.com> (raw)
In-Reply-To: Your message of "Fri, 01 Dec 2000 15:35:05 PST." <Pine.LNX.4.21.0012011529070.4856-100000@magic.skylab.org>

campt@openmars.com said:
> I was unsure if it was okay to be using kmalloc during early stages of
> init/main.c so I decided to follow the example allready set and just
> use a static array - can anyone advise on being able to do this
> dynamically? 

kmalloc is usable after mem_init(), I think.  Before that, you can use the 
boot memory allocator (see mm/bootmem.c).  In the arch that I'm most familiar 
with (arch/um), that is usable from the beginning of start_kernel.  I don't 
know about the other arches.

				Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2000-12-02  0:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-01 16:49 T. Camp
2000-12-01 16:57 ` Tigran Aivazian
2000-12-01 17:05   ` T. Camp
2000-12-01 17:14     ` Olivier Galibert
2000-12-01 17:16     ` Tigran Aivazian
2000-12-01 22:35 ` Peter Samuelson
2000-12-01 22:44   ` Peter Samuelson
2000-12-01 23:35   ` T. Camp
2000-12-01 23:49     ` Peter Samuelson
2000-12-02  1:04     ` Jeff Dike [this message]
2000-12-02  2:17       ` Philipp Rumpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200012020104.UAA05273@ccure.karaya.com \
    --to=jdike@karaya.com \
    --cc=campt@openmars.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®