patchDotGNU Portable.NET - Patches: patch #3118, incomplete cash flush in libjit

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3118: incomplete cash flush in libjit

Submitter:  Miroslaw Dobrzanski-Neumann <miroslaw>
Submitted:  Sat 05 Jun 2004 11:11:38 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Sun 06 Jun 2004 05:01:24 AM UTC, comment #1: 

Patch applied - 6 June 2004 - Thanks.

Rhys Weatherley <rweather>
Group administrator
Sat 05 Jun 2004 11:11:38 PM UTC, 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

Miroslaw Dobrzanski-Neumann <miroslaw>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #7535:  jit-alloc.c.diff added by miroslaw (2KiB - application/octet-stream - flushes the whole memory block from cache)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-06-06 rweather Open/ClosedOpen Closed
2004-06-05 miroslaw Attached File- Added jit-alloc.c.diff, #3344

Back to the top

Powered by Savane 3.15-94dd.
Corresponding source code