Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167939969
D36562.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D36562.id.diff
View Options
diff --git a/sys/riscv/riscv/pmap.c b/sys/riscv/riscv/pmap.c
--- a/sys/riscv/riscv/pmap.c
+++ b/sys/riscv/riscv/pmap.c
@@ -3172,8 +3172,8 @@
if ((l2pg = pmap_alloc_l2(pmap, va, (flags & PMAP_ENTER_NOSLEEP) != 0 ?
NULL : lockp)) == NULL) {
- CTR2(KTR_PMAP, "pmap_enter_l2: failure for va %#lx in pmap %p",
- va, pmap);
+ CTR2(KTR_PMAP, "pmap_enter_l2: failed to allocate PT page"
+ " for va %#lx in pmap %p", va, pmap);
return (KERN_RESOURCE_SHORTAGE);
}
@@ -3185,8 +3185,8 @@
if ((flags & PMAP_ENTER_NOREPLACE) != 0) {
l2pg->ref_count--;
CTR2(KTR_PMAP,
- "pmap_enter_l2: failure for va %#lx in pmap %p",
- va, pmap);
+ "pmap_enter_l2: failed to replace existing mapping"
+ " for va %#lx in pmap %p", va, pmap);
return (KERN_FAILURE);
}
SLIST_INIT(&free);
@@ -3232,8 +3232,8 @@
vm_page_free_pages_toq(&free, true);
}
CTR2(KTR_PMAP,
- "pmap_enter_l2: failure for va %#lx in pmap %p",
- va, pmap);
+ "pmap_enter_l2: failed to create PV entry"
+ " for va %#lx in pmap %p", va, pmap);
return (KERN_RESOURCE_SHORTAGE);
}
if ((new_l2 & PTE_W) != 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 26, 1:01 PM (19 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37285776
Default Alt Text
D36562.id.diff (1 KB)
Attached To
Mode
D36562: riscv: better CTR messages in pmap_enter_l2()
Attached
Detach File
Event Timeline
Log In to Comment