[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Does the page boundary check still necessary?
From: |
Kenneth Lee |
Subject: |
Re: Does the page boundary check still necessary? |
Date: |
Thu, 16 Feb 2023 10:28:57 +0800 |
On Wed, Feb 15, 2023 at 04:26:18PM -1000, Richard Henderson wrote:
> Date: Wed, 15 Feb 2023 16:26:18 -1000
> From: Richard Henderson <richard.henderson@linaro.org>
> To: Kenneth Lee <Kenneth-Lee-2012@foxmail.com>
> Cc: qemu-devel@nongnu.org
> Subject: Re: Does the page boundary check still necessary?
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
> Thunderbird/102.7.1
>
> On 2/15/23 15:45, Kenneth Lee wrote:
> > > > Now the chained TBs have been link with tb_link_page(), the chain will
> > > > be rebuilt if it is invalidate on page. So why is this check still
> > > > there?
> > >
> > > Even for a guest which doesn't use paging, and therefore does not need to
> > > worry about memory maps changing, we still enable breakpoints and
> > > watchpoints on a per-page basis.
> > >
> >
> > Thank you. So is this the only reason? May I write a fine grained
> > checking to remove this limitation?
>
> No.
>
Why?
>
> r~
--
-Kenneth Lee (Hisilicon)