[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-discuss
Subject:    Re: spin loop 100x faster in user mode (CPL=3) than superuser (CPL=0)?
From:       Peter Maydell <peter.maydell () linaro ! org>
Date:       2021-11-21 13:04:58
Message-ID: CAFEAcA8X0q3SZZ8MdfAA6ixnQmWrQnrDXwJ_H8-MWB7PMCz78A () mail ! gmail ! com
[Download RAW message or body]

On Fri, 19 Nov 2021 at 20:56, Garrick Toubassi <gtoubassi@gmail.com> wrote:
> But the question remains as to whether the behavior is expected that if you have \
> pages which are executable and also written to, the writes will be persistently \
> slow?  Or is that a possible (fringe) bug?

I think that is just always going to be slow, because we work generally
on page granularity for access permissions and whether we need to take
slow paths, so we can't have a page which is both fast-path access
for writes and also which has generated translated code.

-- PMM


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic