mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
![Grant Likely](/assets/img/avatar_default.png)
The device tree structure is composed of two lists; the 'allnodes' list which is a singly linked list containing every node in the tree, and the child->parent structure where each parent node has a singly linked list of children. All of the data in the allnodes list can be easily reproduced with the parent-child lists, so of_allnodes is actually unnecessary. Remove it entirely which saves a bit of memory and simplifies the data structure quite a lot. Signed-off-by: Grant Likely <grant.likely@linaro.org> Cc: Rob Herring <robh@kernel.org> Cc: Gaurav Minocha <gaurav.minocha.os@gmail.com> Cc: Pantelis Antoniou <pantelis@pantelis.antoniou@konsulko.com>
10 lines
415 B
Text
10 lines
415 B
Text
Todo list for devicetree:
|
|
|
|
=== General structure ===
|
|
- Switch from custom lists to (h)list_head for nodes and properties structure
|
|
|
|
=== CONFIG_OF_DYNAMIC ===
|
|
- Switch to RCU for tree updates and get rid of global spinlock
|
|
- Document node lifecycle for CONFIG_OF_DYNAMIC
|
|
- Always set ->full_name at of_attach_node() time
|
|
- pseries: Get rid of open-coded tree modification from arch/powerpc/platforms/pseries/dlpar.c
|