projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculfhash cleanup: count percpu deletes in the positive range
[urcu.git]
/
rculfhash.c
diff --git
a/rculfhash.c
b/rculfhash.c
index 1487980c832c115154937cda4b185024636f9e44..6045f5965c4d55207a84145031a1763a447d748c 100644
(file)
--- a/
rculfhash.c
+++ b/
rculfhash.c
@@
-583,7
+583,7
@@
void ht_count_del(struct cds_lfht *ht, unsigned long size)
cpu = ht_get_cpu();
if (unlikely(cpu < 0))
return;
cpu = ht_get_cpu();
if (unlikely(cpu < 0))
return;
- percpu_count = uatomic_add_return(&ht->percpu_count[cpu].del,
-
1);
+ percpu_count = uatomic_add_return(&ht->percpu_count[cpu].del, 1);
if (unlikely(!(percpu_count & ((1UL << COUNT_COMMIT_ORDER) - 1)))) {
unsigned long count;
if (unlikely(!(percpu_count & ((1UL << COUNT_COMMIT_ORDER) - 1)))) {
unsigned long count;
This page took
0.023595 seconds
and
4
git commands to generate.