I booted a ThunderX with this diff applied.
Details
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 27199 Build 25465: arc lint + arc unit
Event Timeline
Diff broken by rS354193 'Set the userspace execute never bit on kernel mappings' (looks like that sets UXN in the else case instead).
sys/arm64/arm64/pmap.c | ||
---|---|---|
1174–1175 | While you're here, I'd like to suggest that it would good from a stylistic standpoint to add ATTR_AP(ATTR_AP_RW). |
sys/arm64/arm64/pmap.c | ||
---|---|---|
1292 | Just an FYI, and not a comment on this patch. I think that we should be implementing break-before-make here. Occasionally, we have used pmap_qenter() to replace a valid mapping. That is why I did not change this to the simpler pmap_store() when I introduced pmap_store(). |
sys/arm64/arm64/pmap.c | ||
---|---|---|
1292 | I think this can happen with some implementations of sf_buf_map() (though not on arm64). Are there other examples? |
sys/arm64/arm64/pmap.c | ||
---|---|---|
1292 | I won't swear to it, but I thought that I recently saw pmap_qenter() being used to remap a virtual page to a different physical page on a different NUMA node. |
Can you commit this or shall I commit D22241 first? They conflict as they both change pmap_qenter() and pmap_kenter().