qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spin loop 100x faster in user mode (CPL=3) than superuser (CPL=0)?


From: Peter Maydell
Subject: Re: spin loop 100x faster in user mode (CPL=3) than superuser (CPL=0)?
Date: Sun, 21 Nov 2021 13:04:58 +0000

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]