Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>> From: Jan Kiszka <jan.kis...@siemens.com>
>>
>> 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.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to