db and rcu fixes