Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136223465
D13480.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
687 B
Referenced Files
None
Subscribers
None
D13480.diff
View Options
Index: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
===================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
@@ -6619,6 +6619,11 @@
void
arc_fini(void)
{
+#ifdef _KERNEL
+ if (arc_event_lowmem != NULL)
+ EVENTHANDLER_DEREGISTER(vm_lowmem, arc_event_lowmem);
+#endif
+
mutex_enter(&arc_reclaim_lock);
arc_reclaim_thread_exit = B_TRUE;
/*
@@ -6664,11 +6669,6 @@
buf_fini();
ASSERT0(arc_loaned_bytes);
-
-#ifdef _KERNEL
- if (arc_event_lowmem != NULL)
- EVENTHANDLER_DEREGISTER(vm_lowmem, arc_event_lowmem);
-#endif
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 17, 6:09 PM (1 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25437216
Default Alt Text
D13480.diff (687 B)
Attached To
Mode
D13480: Unregister the ARC lowmem handler sooner
Attached
Detach File
Event Timeline
Log In to Comment