dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [patch #3118] incomplete cash flush in libjit


From: Rhys Weatherley
Subject: [Pnet-developers] [patch #3118] incomplete cash flush in libjit
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

This mail is an automated notification from the patch tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[patch #3118] Latest Modifications:

Changes by: 
                Rhys Weatherley <address@hidden>
'Date: 
                Sun 06/06/2004 at 05:01 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Patch applied - 6 June 2004 - Thanks.






/**************************************************************************/
[patch #3118] Full Item Snapshot:

URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3118>
Project: DotGNU Portable.NET
Submitted by: Miroslaw Dobrzanski-Neumann
On: Sat 06/05/2004 at 23:11

Category:  None
Priority:  5 - Normal
Resolution:  None
Assigned to:  None
Originator Email:  
Status:  Closed


Summary:  incomplete cash flush in libjit

Original Submission:  the function jit_flush_exec() asumes the given pointer to 
lay on cache line boundary but no check is done. If the passed pointer is in 
between the last fragnent of the passed block can stay not flushed.

Consider the following cache lines with 4 bytes each
o is the first byte in a cache line

oxxxoxxxoxxx
012301230123

if the passed address points to 3 with size of 2 the first byte will be flushed 
the second not.

The attached patch fixes this making no restriction on the address and the 
block size

Follow-up Comments
------------------


-------------------------------------------------------
Date: Sun 06/06/2004 at 05:01       By: rweather
Patch applied - 6 June 2004 - Thanks.






File Attachments
-------------------

-------------------------------------------------------
Date: Sat 06/05/2004 at 23:11  Name: jit-alloc.c.diff  Size: 2KB   By: miroslaw
flushes the whole memory block from cache
http://savannah.gnu.org/patch/download.php?item_id=3118&amp;item_file_id=3344






For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=3118>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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