|
|
Subscribe / Log in / New account

User-space interrupts

User-space interrupts

Posted Oct 8, 2021 0:34 UTC (Fri) by dancol (guest, #142293)
Parent article: User-space interrupts

> Here, vector is a number between zero and 63; one file descriptor can be created for each vector.

Ugh. So do I understand correctly that we have yet another process-wide resource --- uipi vector numbers in this case --- not centrally allocated by any process-wide authority? How is a shared library supposed to know what vector number to use? Should it guess? What if two libraries do that?

Either the vector number namespace needs to be expanded or libc needs to grow an allocator.


to post comments

User-space interrupts

Posted Oct 8, 2021 19:00 UTC (Fri) by BenHutchings (subscriber, #37955) [Link]

Plus you can only have one handler function per thread (or process? it's not clear). So there will have to be some definitive user-space library (not necessarily the C library) to manage this resource.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds