Re: [dpdk-dev] [PATCH v2] stack: fix reload head when pop fails

2021-09-24 Thread Olivier Matz
Hello, On Tue, Sep 21, 2021 at 06:17:24PM +0200, Julien Meunier wrote: > The previous commit 18effad9cfa7 ("stack: reload head when pop fails") > only changed C11 implementation, not generic implementation. > > List head must be loaded right before continue (when failed to find the > new head). W

[dpdk-dev] [PATCH v2] stack: fix reload head when pop fails

2021-09-21 Thread Julien Meunier
The previous commit 18effad9cfa7 ("stack: reload head when pop fails") only changed C11 implementation, not generic implementation. List head must be loaded right before continue (when failed to find the new head). Without this, one thread might keep trying and failing to pop items without ever lo