From: Mathieu Desnoyers Date: Mon, 28 Nov 2011 14:05:36 +0000 (-0500) Subject: rculfhash: document fini_table X-Git-Tag: v0.7.0~43^2~31 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=61adb3377baa87703f7d1b50ec5b576258f74ba8;p=userspace-rcu.git rculfhash: document fini_table Signed-off-by: Mathieu Desnoyers --- diff --git a/rculfhash.c b/rculfhash.c index 61dc09c..8c835de 100644 --- a/rculfhash.c +++ b/rculfhash.c @@ -1158,6 +1158,11 @@ void remove_table(struct cds_lfht *ht, unsigned long i, unsigned long len) partition_resize_helper(ht, i, len, remove_table_partition); } +/* + * fini_table() is never called for first_order == 0, which is why + * free_by_rcu_order == 0 can be used as criterion to know if free must + * be called. + */ static void fini_table(struct cds_lfht *ht, unsigned long first_order, unsigned long last_order)