Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103041541
D25283.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
D25283.diff
View Options
Index: head/sys/vm/vm_map.c
===================================================================
--- head/sys/vm/vm_map.c
+++ head/sys/vm/vm_map.c
@@ -2379,6 +2379,11 @@
{
vm_map_entry_t new_entry;
+ if (!map->system_map)
+ WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL,
+ "%s: map %p entry %p start 0x%jx", __func__, map, entry,
+ (uintmax_t)start);
+
if (start <= entry->start)
return;
@@ -2409,6 +2414,11 @@
{
vm_map_entry_t entry;
+ if (!map->system_map)
+ WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL,
+ "%s: map %p start 0x%jx prev %p", __func__, map,
+ (uintmax_t)start, prev_entry);
+
if (vm_map_lookup_entry(map, start, prev_entry)) {
entry = *prev_entry;
vm_map_clip_start(map, entry, start);
@@ -2430,6 +2440,11 @@
{
vm_map_entry_t new_entry;
+ if (!map->system_map)
+ WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL,
+ "%s: map %p entry %p end 0x%jx", __func__, map, entry,
+ (uintmax_t)end);
+
if (end >= entry->end)
return;
@@ -3725,6 +3740,7 @@
vm_map_entry_t entry, next_entry;
VM_MAP_ASSERT_LOCKED(map);
+
if (start == end)
return (KERN_SUCCESS);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 21, 4:21 AM (22 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14754253
Default Alt Text
D25283.diff (1 KB)
Attached To
Mode
D25283: vm: Add missing WITNESS warnings for M_WAITOK allocation
Attached
Detach File
Event Timeline
Log In to Comment