[Top] [All Lists]

Re: [PATCH v2] MIPS: Kernel crashes on boot with SPARSEMEM + HIGHMEM ena

To: David Daney <>, Ralf Baechle <>
Subject: Re: [PATCH v2] MIPS: Kernel crashes on boot with SPARSEMEM + HIGHMEM enabled
From: Kevin Cernekee <>
Date: Fri, 1 Apr 2011 10:31:57 -0700
Cc: Michael Sundius <>, David VomLehn <>, Dave Hansen <>, Andy Whitcroft <>, Jon Fraser <>,,,
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=/0MopB6npfGyCIIV+OXd0IFXS0quGBU7+0s0bLzeNkE=; b=Siuq+Ti0V/1gch32JrM91FVBFPqoFRC4Iot4SfAXXh/2YHVSxBB2WsZitfUdWetGvU wcmKhPnTXDxwOmnn9l8hBkJNSvmA6mQuxdWDDh+Bjpa2lZIkAMOwPnQHTA+7t0G7vGZH IwyxY5cV9f7hwZm5wj87jIaQngNXfuHbS2sqM=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=MlqwM0ubKJnoNeh8vO9pILfiLZ+soduk9YweDrizIrd/X/Jv77q/LkIoNA6b4izsMU lZxf2q/9+4S3/hKX2aCRy6iyK4dPibEf3UDmbtNui5pKOik6TICWQQEtW+tPGoSCmamk QDGtHt5yZLmd2rMt1dT0lCJk7rJmahIAl2Yw0=
In-reply-to: <>
Original-recipient: rfc822;
References: <c300b67a7a723369872c0b9a023d0b2e@localhost> <>
On Fri, Apr 1, 2011 at 9:56 AM, David Daney <> wrote:
> I think this may do the same thing as my patch:
> Although my patch had different motivations, and changes some other things
> around too.

I noticed that some of the other architectures have started using the
<linux/memblock.h> APIs for memory setup.  Do you think this would be
useful on MIPS, as part of a larger refactoring of bootmem_init() ?

What I liked about Michael's fix was that it is simple and
straightforward enough to meet the stable tree criteria.  Long term it
would probably be a good idea to clean up the memory init code and get
rid of the cut&paste "for" loops.

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