[OpenBIOS] [PATCH] RFC: Increase dictionary size on SPARC64

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Mon Apr 12 22:36:19 CEST 2010


Hi all,

Thanks to some great work by Igor, the reason for my random debugger 
crashes has been found. It appears that the default dictionary size is 
too small on SPARC64 and repeatedly updating the translations property 
is enough to cause the forth dictionary to overflow the memory allocated 
for it.

I'd like to propose the attached patch which doubles the dictionary 
memory from 256k to 512k as currently used by PPC. My concern about 
applying the patch directly is that I'm not sure whether or not any 
corresponding changes to entry.S also need to be made. AFAICT the 
initialisation code handles 19 x 512k pages when setting up the MMU 
(which should be more than enough) but thought I should get a second 
opinion first.


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openbios-sparc64-dictmem.patch
Type: text/x-diff
Size: 939 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20100412/37e47470/attachment.bin>


More information about the OpenBIOS mailing list