On 2023/10/30 01:05, Guenter Roeck wrote:
On Mon, Oct 23, 2023 at 07:24:52PM +0800, wuqiang.matt wrote:
The objpool_push can only happen on local cpu node, so only the local
cpu can touch slot->tail and slot->last, which ensures the correctness
of using cmpxchg without lock prefix (using try_cmp
On Mon, Oct 23, 2023 at 07:24:52PM +0800, wuqiang.matt wrote:
> The objpool_push can only happen on local cpu node, so only the local
> cpu can touch slot->tail and slot->last, which ensures the correctness
> of using cmpxchg without lock prefix (using try_cmpxchg_local instead
> of try_cmpxchg_acq
On Tue, 24 Oct 2023 09:57:17 +0800
"wuqiang.matt" wrote:
> On 2023/10/24 09:01, Masami Hiramatsu (Google) wrote:
> > On Mon, 23 Oct 2023 11:43:04 -0400
> > Steven Rostedt wrote:
> >
> >> On Mon, 23 Oct 2023 19:24:52 +0800
> >> "wuqiang.matt" wrote:
> >>
> >>> The objpool_push can only happen o
On 2023/10/24 09:01, Masami Hiramatsu (Google) wrote:
On Mon, 23 Oct 2023 11:43:04 -0400
Steven Rostedt wrote:
On Mon, 23 Oct 2023 19:24:52 +0800
"wuqiang.matt" wrote:
The objpool_push can only happen on local cpu node, so only the local
cpu can touch slot->tail and slot->last, which ensure
On Mon, 23 Oct 2023 11:43:04 -0400
Steven Rostedt wrote:
> On Mon, 23 Oct 2023 19:24:52 +0800
> "wuqiang.matt" wrote:
>
> > The objpool_push can only happen on local cpu node, so only the local
> > cpu can touch slot->tail and slot->last, which ensures the correctness
> > of using cmpxchg witho
On Mon, 23 Oct 2023 19:24:52 +0800
"wuqiang.matt" wrote:
> The objpool_push can only happen on local cpu node, so only the local
> cpu can touch slot->tail and slot->last, which ensures the correctness
> of using cmpxchg without lock prefix (using try_cmpxchg_local instead
> of try_cmpxchg_acquir
On Mon, 23 Oct 2023 19:24:52 +0800
"wuqiang.matt" wrote:
> The objpool_push can only happen on local cpu node, so only the local
> cpu can touch slot->tail and slot->last, which ensures the correctness
> of using cmpxchg without lock prefix (using try_cmpxchg_local instead
> of try_cmpxchg_acquir
The objpool_push can only happen on local cpu node, so only the local
cpu can touch slot->tail and slot->last, which ensures the correctness
of using cmpxchg without lock prefix (using try_cmpxchg_local instead
of try_cmpxchg_acquire).
Testing with IACA found the lock version of pop/push pair cost
8 matches
Mail list logo