Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109801964
D35048.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
402 B
Referenced Files
None
Subscribers
None
D35048.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/sched.h b/sys/compat/linuxkpi/common/include/linux/sched.h
--- a/sys/compat/linuxkpi/common/include/linux/sched.h
+++ b/sys/compat/linuxkpi/common/include/linux/sched.h
@@ -134,9 +134,9 @@
if (need_resched() == 0)
return (0);
- spin_lock(lock);
- cond_resched();
spin_unlock(lock);
+ cond_resched();
+ spin_lock(lock);
return (1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 10, 5:44 PM (6 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16581085
Default Alt Text
D35048.diff (402 B)
Attached To
Mode
D35048: LinuxKPI: Fix typo in cond_resched_lock
Attached
Detach File
Event Timeline
Log In to Comment