Re: SMC for page crossing traces

Xin Tong <[email protected]>
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <CALKntY2RcGFXjqyZwTSBL2Eamm3hZJyv3dQVfmGrdAYuzRTXVQ@mail.gmail.com>
another optimization for SMC is not to installed pages that have code
translated from into the TLB with write permission. later a write will
miss the TLB and BOCHS can take a longer path to handle that (i.e.
call decWriteStamp). this will eliminate the need to call
decWriteStamp on every write.

Xin


On Thu, Oct 25, 2012 at 1:23 AM, Stanislav <[email protected]> wrote:
> Yes, it is already changes in SVN. Including few more observations that you
> didn’t see yet …
>
>
>
> Unfortunately SVN services are not available right now for Bochs. Might be
> you could look on latest SVN snapshot that Volker put on the Bochs webpage.
>
>
>
> Stanislav
>
>
>
> From: Xin Tong [mailto:[email protected]]
> Sent: Thursday, October 25, 2012 1:01 AM
> To: [email protected]
> Subject: [Bochs-developers] SMC for page crossing traces
>
>
>
> I am reading this code and wondering why the entry is not invalidated when
> the second part of the trace is written into.
>
>
>
>  if (mask & 0x1) {
>
>     // the store touched 1st cache line in the page, check for
>
>     // page split traces to invalidate.
>
>     for (i=0;i<BX_ICACHE_PAGE_SPLIT_ENTRIES;i++) {
>
>       if (pAddr == pageSplitIndex[i].ppf) {
>
>         pageSplitIndex[i].ppf = BX_ICACHE_INVALID_PHY_ADDRESS;
>
>         // SHOULD pageSplitIndex[i].e BE INVALIDATED HERE?
>
>       }
>
>     }
>
>   }
>
>
>
> Xin
>
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.