FIX: You may experience slow performance when an SH4-based or MIPS-based platform is running in All-Kernel mode in Windows CE 5.0 (896365)



The information in this article applies to:

  • Microsoft Windows CE 5.0

SYMPTOMS

Consider the following scenario. You are running Microsoft Windows CE 5.0 on a SH4-based or MIPS-based platform that is running in All-Kernel mode. You may experience slow performance after you perform certain operations. For example, when you use control panel items, dialog boxes may take a long time to appear.

CAUSE

This problem occurs because the access mode on shared memory has been changed from read-only to read/write between two read accesses for the same memory locations. The initial load marks the corresponding translation look-aside buffer (TLB) entry for read-only. However, the subsequent read with read/write access does not clear the read-only TLB entry. This behavior creates a range of addresses, and a page fault is generated every time that the range is accessed. These page faults continue until that range is cleared from the TLB by other system activity. This hotfix flushes the incorrect TLB entries when the initial page fault occurs.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 5.0 Core OS QFE 896365. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites

This software update is supported only if all previously issued software updates for this product have also been applied.

Restart requirement

After you apply this software update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart the computer after you apply this software update.

Software update replacement information

This software update does not replace any other software updates.

File information

The English version of this software update package has the file attributes or the later file attributes that are listed in the following table.
   Date         Time   Size       File name
   ----------------------------------------------------------------------
   13-Apr-2005  23:41  3,022,336  Wincepb50-050413-kb896365-mipsii.msi
   13-Apr-2005  23:41  3,137,024  Wincepb50-050413-kb896365-mipsii_fp.msi
   13-Apr-2005  23:41  3,064,832  Wincepb50-050413-kb896365-mipsiv.msi
   13-Apr-2005  23:41  3,189,760  Wincepb50-050413-kb896365-mipsiv_fp.msi
   13-Apr-2005  23:41  2,721,280  Wincepb50-050413-kb896365-sh4.msi
The English version of this software update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Size       File name
   -------------------------------------------

   Path: Public\Common\Oak\Lib\Mipsii\Debug
   29-Mar-2005  22:01  2,131,838  Nkmain.lib
   29-Mar-2005  22:01  2,304,396  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsii\Retail
   29-Mar-2005  22:01  1,387,070  Nkmain.lib
   29-Mar-2005  22:01  1,530,460  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Debug
   29-Mar-2005  22:01  2,198,384  Nkmain.lib
   29-Mar-2005  22:01  2,371,094  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Retail
   29-Mar-2005  22:01  1,441,578  Nkmain.lib
   29-Mar-2005  22:01  1,584,978  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Debug
   29-Mar-2005  22:02  2,165,326  Nkmain.lib
   29-Mar-2005  22:02  2,339,610  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Retail
   29-Mar-2005  22:02  1,395,772  Nkmain.lib
   29-Mar-2005  22:02  1,539,838  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug
   29-Mar-2005  22:03  2,236,934  Nkmain.lib
   29-Mar-2005  22:03  2,411,366  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail
   29-Mar-2005  22:02  1,455,986  Nkmain.lib
   29-Mar-2005  22:02  1,600,072  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Sh4\Debug
   29-Mar-2005  22:00  1,762,324  Nkmain.lib
   29-Mar-2005  22:00  1,903,202  Nkprmain.lib

   Path: Public\Common\Oak\Lib\Sh4\Retail
   29-Mar-2005  22:00  1,221,588  Nkmain.lib
   29-Mar-2005  22:00  1,349,848  Nkprmain.lib

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

All-Kernel mode is enabled when the CONFIG section of the binary image builder (BIB) file contains a setting for ROMFLAGS in which bit 2 of the value is not set.

Modification Type:MinorLast Reviewed:5/26/2005
Keywords:kbBug kbfix kbQFE KB896365 kbAudDeveloper