Re: [PATCH 2/3] OF: Add a allnodes pointer back to the tree

From: Pantelis Antoniou
Date: Thu Dec 12 2013 - 15:28:26 EST


Hi Grant,

On Dec 12, 2013, at 1:20 PM, Grant Likely wrote:

> On Tue, 10 Dec 2013 16:13:52 +0200, Pantelis Antoniou <panto@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>> As it stands right now there's no way for a node to point back
>> to allnodes that the top level tree tracker for now.
>>
>> This is problematic when using unflatten_dt_node more than once
>> because is leads to the nodes to be linked incorrectly.
>>
>> Keep track of the root allnodes on each device_node and modify
>> unflaten_dt_node to match.
>
> After our conversation on IRC and the decision to split unflattening the
> tree from attaching it to be visible to the entire kernel, I'm going to
> hold off on this patch. I suspect it will change in the process.
>

OK,

I'm taking a look right now; should have something done on the weekend.

The whole idea is splitting unflattening from attaching to the live tree.

Should be straight forward enough.

> .
>

Regards

-- Pantelis

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