[Bug]: Don't Use Memory Attribute Protocol in Core and Optimize SetMemoryAttributes #1132
Open
1 task done
Labels
state:needs-triage
Needs to triaged to determine next steps
type:bug
Something isn't working
urgency:low
Little to no impact
Is there an existing issue for this?
Current Behavior
There is an instance of GetMemoryAttributes in DxeCore to avoid calling SetMemoryAttributes if no attributes are different. The memory attribute protocol should only be used by bootloaders or other non-core components. To not lose the performance gain, add smarts to SetMemoryAttribute to only go down the set path if the attributes are not the same.
Expected Behavior
n/a
Steps To Reproduce
n/a
Build Environment
Version Information
Urgency
Low
Are you going to fix this?
I will fix it
Do you need maintainer feedback?
No maintainer feedback needed
Anything else?
No response
The text was updated successfully, but these errors were encountered: