[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC/PATCH] i386: Atomically update PTEs with mttcg
From: |
Benjamin Herrenschmidt |
Subject: |
Re: [Qemu-devel] [RFC/PATCH] i386: Atomically update PTEs with mttcg |
Date: |
Fri, 30 Nov 2018 13:12:08 +1100 |
User-agent: |
Evolution 3.30.2 (3.30.2-2.fc29) |
On Thu, 2018-11-29 at 16:12 -0800, Richard Henderson wrote:
> > You mean translating once for the load and for the udpate ? Do you
> > expect that translation to have such a significant cost considering
> > that all it needs should be in L1 at that point ?
>
> I guess if the update is rare-ish, the re-translating isn't a big deal. And I
> suppose we'd have to retain the RCU lock to hold on to the translation, which
> probably isn't the best idea.
Yeay I toyed with this a bit but it ended up very messy real quick.
Cheers,
Ben.