qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC] exec: flush CPU TB cache when breakpoint address translation f


From: Max Filippov
Subject: Re: [RFC] exec: flush CPU TB cache when breakpoint address translation fails
Date: Wed, 27 Nov 2019 11:13:44 -0800

On Wed, Nov 27, 2019 at 11:06 AM Alex Bennée <address@hidden> wrote:
> Max Filippov <address@hidden> writes:
>
> > When a breakpoint is inserted at location for which there's currently no
> > virtual to physical translation no action is taken on CPU TB cache. If a
> > TB for that virtual address already exists but is not visible ATM the
> > breakpoint won't be hit next time an instruction at that address will be
> > executed.
>
> So the userspace has run once but is currently paged out?

Yes, but not necessarily paged out, just not in the CPU TLB.
Or it has run to completion and when you start it next time
it gets loaded to the same physical pages.

-- 
Thanks.
-- Max



reply via email to

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