Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170095121
D58829.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
698 B
Referenced Files
None
Subscribers
None
D58829.diff
View Options
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -1076,18 +1076,11 @@
{
struct intr_handler *ih = (struct intr_handler *)cookie;
struct intr_event *ie = ih->ih_event;
- struct intr_entropy entropy;
int error __unused;
CTR3(KTR_INTR, "swi_sched: %s %s need=%d", ie->ie_name, ih->ih_name,
ih->ih_need);
- if ((flags & SWI_FROMNMI) == 0) {
- entropy.event = (uintptr_t)ih;
- entropy.td = curthread;
- random_harvest_queue(&entropy, sizeof(entropy), RANDOM_SWI);
- }
-
/*
* Set ih_need for this handler so that if the ithread is already
* running it will execute this handler on the next pass. Otherwise,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 4, 12:08 PM (15 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36743127
Default Alt Text
D58829.diff (698 B)
Attached To
Mode
D58829: ithread: don't collect entropy in swi_sched()
Attached
Detach File
Event Timeline
Log In to Comment