Re: [RFC PATCH] arm/vgic-v3: provide custom callbacks for pend_lpi_tree radix tree

2022-02-14 Thread Luca Fancellu
> On 11 Feb 2022, at 16:12, Julien Grall wrote: > > > > On 11/02/2022 15:45, Luca Fancellu wrote: >>> On 11 Feb 2022, at 15:26, Julien Grall wrote: >>> >>> Hi Luca, >>> >>> On 11/02/2022 15:00, Luca Fancellu wrote: pend_lpi_tree is a radix tree used to store pending irqs, the tree is

Re: [RFC PATCH] arm/vgic-v3: provide custom callbacks for pend_lpi_tree radix tree

2022-02-11 Thread Julien Grall
On 11/02/2022 15:45, Luca Fancellu wrote: On 11 Feb 2022, at 15:26, Julien Grall wrote: Hi Luca, On 11/02/2022 15:00, Luca Fancellu wrote: pend_lpi_tree is a radix tree used to store pending irqs, the tree is protected by a lock for read/write operations. Currently the radix tree defaul

Re: [RFC PATCH] arm/vgic-v3: provide custom callbacks for pend_lpi_tree radix tree

2022-02-11 Thread Luca Fancellu
> On 11 Feb 2022, at 15:26, Julien Grall wrote: > > Hi Luca, > > On 11/02/2022 15:00, Luca Fancellu wrote: >> pend_lpi_tree is a radix tree used to store pending irqs, the tree is >> protected by a lock for read/write operations. >> Currently the radix tree default function to free items uses

Re: [RFC PATCH] arm/vgic-v3: provide custom callbacks for pend_lpi_tree radix tree

2022-02-11 Thread Julien Grall
Hi Luca, On 11/02/2022 15:00, Luca Fancellu wrote: pend_lpi_tree is a radix tree used to store pending irqs, the tree is protected by a lock for read/write operations. Currently the radix tree default function to free items uses the RCU mechanism, calling call_rcu and deferring the operation.

[RFC PATCH] arm/vgic-v3: provide custom callbacks for pend_lpi_tree radix tree

2022-02-11 Thread Luca Fancellu
pend_lpi_tree is a radix tree used to store pending irqs, the tree is protected by a lock for read/write operations. Currently the radix tree default function to free items uses the RCU mechanism, calling call_rcu and deferring the operation. However every access to the structure is protected by