Re: [PATCH v2 1/3] graph: avoid global node ID counter

2024-11-11 Thread Robin Jarry
, Nov 11, 2024 at 08:34: From: Kiran Kumar K The node id is determined based on a global variable that is incremented every time a node is created. Adding changes to remove the global counter. Make sure that the node list is always ordered by increasing node ids. When creating a new node, pick

[PATCH v2 1/3] graph: avoid global node ID counter

2024-11-10 Thread kirankumark
From: Kiran Kumar K The node id is determined based on a global variable that is incremented every time a node is created. Adding changes to remove the global counter. Make sure that the node list is always ordered by increasing node ids. When creating a new node, pick a free id which is not allo