lkml.org 
[lkml]   [2013]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/3] OF: Add a allnodes pointer back to the tree
From
Date
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@antoniou-consulting.com> 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



\
 
 \ /
  Last update: 2013-12-12 21:41    [W:0.105 / U:1.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site