OpenSolaris

Printable Version Enter a New Search
Bug ID 6657273
Synopsis fix memlist_find() in pci_memlist.c
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:boot-x86
Keywords
Responsible Engineer Kerry Shu
Reported Against snv_82
Duplicate Of
Introduced In
Commit to Fix snv_85
Fixed In snv_85
Release Fixed solaris_nevada(snv_85)
Related Bugs
Submit Date 30-January-2008
Last Update Date 12-March-2008
Description
memlist_find() needs to calculate the required chunk size according to the chunk address alignment. Otherwise, it will fail to find a satisfied chunk. For example, if there is a memory chunk with address = 0x3000, size = 0x1000 on the list. If we call memlist_find(list, 0x1000, 0x1000) to find a size of 0x1000 and with 0x1000 alignment chunk, the required chunk size calculated in memlist_find() will be 0x1fff which is larger than the existing chunk size 0x1000. So memlist_find() will return failure instead of retuning the satisfied chunk address of 0x3000.
Work Around
N/A
Comments
N/A