]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async: use bitset<> to do the popcnt 18681/head
authorKefu Chai <kchai@redhat.com>
Thu, 2 Nov 2017 07:20:24 +0000 (15:20 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 2 Nov 2017 07:22:11 +0000 (15:22 +0800)
commit79476d4e25ec6ef50859cfc80b1a504f5e910cd7
treeebd1d26596be43ef354aa2234943610521509c93
parent540b4cf575f8298975af0aeab81eb11854667010
msg/async: use bitset<> to do the popcnt

libstdc++ uses popcnt to count the bits. it's faster and simpler.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/msg/async/dpdk/dpdk_rte.cc