Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107382566
D30024.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
D30024.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/interrupt.h b/sys/compat/linuxkpi/common/include/linux/interrupt.h
--- a/sys/compat/linuxkpi/common/include/linux/interrupt.h
+++ b/sys/compat/linuxkpi/common/include/linux/interrupt.h
@@ -208,6 +208,7 @@
unsigned long data);
extern void tasklet_enable(struct tasklet_struct *);
extern void tasklet_disable(struct tasklet_struct *);
+extern void tasklet_disable_nosync(struct tasklet_struct *);
extern int tasklet_trylock(struct tasklet_struct *);
extern void tasklet_unlock(struct tasklet_struct *);
extern void tasklet_unlock_wait(struct tasklet_struct *ts);
diff --git a/sys/compat/linuxkpi/common/src/linux_tasklet.c b/sys/compat/linuxkpi/common/src/linux_tasklet.c
--- a/sys/compat/linuxkpi/common/src/linux_tasklet.c
+++ b/sys/compat/linuxkpi/common/src/linux_tasklet.c
@@ -227,6 +227,13 @@
tasklet_unlock_wait(ts);
}
+void
+tasklet_disable_nosync(struct tasklet_struct *ts)
+{
+ atomic_inc(&ts->count);
+ barrier();
+}
+
int
tasklet_trylock(struct tasklet_struct *ts)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 14, 8:53 AM (18 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15792766
Default Alt Text
D30024.diff (1 KB)
Attached To
Mode
D30024: linuxkpi: Introduce tasklet_disable_nosync()
Attached
Detach File
Event Timeline
Log In to Comment