Re: [PATCH 1/1] devicetree: of_node_put() does not require holding devtree_lock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Rob and Frank,

Rob Herring wrote:
On Mon, Feb 27, 2017 at 8:54 AM, Frank Rowand <frowand.list@xxxxxxxxx> wrote:
On 02/22/17 01:29, Sakari Ailus wrote:
While holding a reference to a device_node it is allowed to put that node
without holding devtree_lock spinlock. Move of_node_put() after releasing
the spinlock.

Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>

I would rather leave this code the way it is.

The change is a micro-optimization that is not going to have any real
impact on performance.

I have the same feelings.

Fair enough. Feel free to ignore the patch then.

--
Kind regards,

Sakari Ailus
sakari.ailus@xxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux