Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>> From: Jan Kiszka <>
>> Two changes in one as they are tightly related: Once close is called,
>> remove the file descriptor from open table, allowing its reuse while
>> close for the previous user proceeds.
>> The second and major part of the patch avoids time-based polling while
>> waiting for context references to be dropped. This specifically helps in
>> scenarios where references can be held for a longer time beyond the
>> first close.
> A few set_bit and clear_bit with an xnlock locked. Could not these been
> replaced with __set_bit/__clear_bit in UP?

used_fildes: yes
context_flags: no (drivers may manipulated them as well)

Will add a corresponding patch to the next round.


Attachment: signature.asc
Description: OpenPGP digital signature

Xenomai-core mailing list

Reply via email to