Hello, Michael,

Just curious about the purpose of the rcu_dereference_index_check() in
vhost_has_feature().  I don't see how it fits in.  The closest thing
I see if the use in handle_rx(), where it selects vq->log or NULL.  But
in that case, I would expect the usual RCU usage pattern to wrap an
rcu_dereference() around the vq->log.

Enlightenment?

                                                        Thanx, Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to