* [PATCH][RFC]
@ 2001-05-18 23:48 Vitaly Luban
0 siblings, 0 replies; only message in thread
From: Vitaly Luban @ 2001-05-18 23:48 UTC (permalink / raw)
To: linux-kernel, linux-net
[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]
Attached patch is an implementation of "signal-per-fd"
enhancement to kernel RT signal mechanism, AFAIK first
proposed by A. Chandra and D. Mosberger :
http://www.hpl.hp.com/techreports/2000/HPL-2000-174.html
which should dramatically increase linux based network
servers scalability.
Patch is made against 2.4.4 tree.
This patch allows to set signal-per-fd mode per each
file descriptor by introducing new fcntls "F_SETAUXFL"
and "F_GETAUXFL" with one possible argument "O_ONESIGFD"
to F_SETAUXFL defined.
When set, no additional siginfo will be queued for an
RT signal, generated by event on file descriptor, while
there are already one queued, though event report field
in already queued struct siginfo - "si_band" is updated.
I'd also like to hear an opinion on the signal filtering
capability. I.e, it's relatively easy to filter signals
upon an interest mask, supplied by the same F_SETAUXFL in
the form of POLL_... This will bring functionality of RT
signals event notification on the level with 'select' or
'poll' one, while more efficient and scalable. If there's
an interest in such a feature, I'd be eager to publish a
patch.
Thanks,
Vitaly.
[-- Attachment #2: one-sig-perfd-2.4.4.patch.gz --]
[-- Type: application/x-gzip, Size: 15758 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-18 23:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-18 23:48 [PATCH][RFC] Vitaly Luban
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®