Re: RCU red-black tree (was: Re: [PATCH 4/6] kvm tools: Add rwlock wrapper)

Ingo Molnar
2011-05-31T15:25:54Z

* Sasha Levin <levinsasha928@gmail.com> wrote:

> On Tue, 2011-05-31 at 15:09 +0200, Ingo Molnar wrote:
> > * Sasha Levin <levinsasha928@gmail.com> wrote:
> >
> > > I've started working on converting our MMIO code to use RCU rbtree.
> >
> > Well, why would we want to switch the MMIO code away from the brlock
> > right now? mmio tree reconfigurations are very, very rare.
> >
> > Won't something like the qcow cache be more suitable for that? That
> > has both frequent read and write activities.
>
> We don't have a qcow cache at the moment :)

Wasnt one in the works by Prasad?

> It was either the MMIO or the ioport tree. We don't have to pull
> them into our master tree either - it's mostly a proof of concept
> I'm doing on a separate tree.

Sure.

Thanks,

Ingo