lib/interval_tree: fast overlap detection
[sfrench/cifs-2.6.git] / drivers / vhost / vhost.c
index 9cb3f722dce13aea78b5e81152e27ca1346f10f9..d6dbb28245e6d28129e6c7d18b52589d6ba2a2bb 100644 (file)
@@ -1271,7 +1271,7 @@ static struct vhost_umem *vhost_umem_alloc(void)
        if (!umem)
                return NULL;
 
-       umem->umem_tree = RB_ROOT;
+       umem->umem_tree = RB_ROOT_CACHED;
        umem->numem = 0;
        INIT_LIST_HEAD(&umem->umem_list);