[dpdk-dev] [PATCH v6 0/4] hash: integrate RCU QSBR

David Marchand david.marchand at redhat.com
Sat Oct 24 11:09:32 CEST 2020


On Thu, Oct 22, 2020 at 12:51 AM Dharmik Thakkar
<dharmik.thakkar at arm.com> wrote:
>
> Integrate RCU QSBR to make it easier for the applications to use lock
> free algorithm.
>
> Resource reclamation implementation was split from the original
> series, and has already been part of RCU library. Rework the series
> to base hash integration on RCU reclamation APIs.
>
> Refer 'Resource reclamation framework for DPDK' available at [1]
> to understand various aspects of integrating RCU library
> into other libraries.
>
> [1] https://doc.dpdk.org/guides/prog_guide/rcu_lib.html
>
> Introduce a new API rte_hash_rcu_qsbr_add for application to
> register a RCU variable that hash library will use.
>
> Functional tests and performance tests are added to cover the
> integration with RCU.

Fixed some style issues/checkpatch warnings.
The unit test code especially is not really checkpatch compliant,
maybe worth a separate cleanup later.

Removed unrelated changes (like removing empty lines, fixing typos in
unrelated parts).

Series applied, thanks.


Little note: checkpatch now has a check on repeated words better than
a script of mine:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/scripts/checkpatch.pl?id=1a3dcf2e6b35faa1176b9cd8200094fbce16ba19
Probably worth it for people to update their checkpatch.pl.


-- 
David Marchand



More information about the dev mailing list