Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106953500
D29310.id85917.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
657 B
Referenced Files
None
Subscribers
None
D29310.id85917.diff
View Options
Index: sys/kern/subr_intr.c
===================================================================
--- sys/kern/subr_intr.c
+++ sys/kern/subr_intr.c
@@ -418,6 +418,9 @@
goto found;
}
+ log(LOG_WARNING, "interrupt table full when allocating for \"%s\"",
+ isrc->isrc_name);
+
irq_next_free = maxirqs;
return (ENOSPC);
@@ -445,6 +448,10 @@
if (irq_sources[isrc->isrc_irq] != isrc)
return (EINVAL);
+ /* signal availability to isrc_alloc_irq(), if needed */
+ if (irq_next_free >= maxirqs)
+ irq_next_free = isrc->isrc_irq;
+
irq_sources[isrc->isrc_irq] = NULL;
isrc->isrc_irq = INTR_IRQ_INVALID; /* just to be safe */
return (0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 12:25 AM (3 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15723396
Default Alt Text
D29310.id85917.diff (657 B)
Attached To
Mode
D29310: kern/intr: switch to allocating handles forward
Attached
Detach File
Event Timeline
Log In to Comment