From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <"Jan Kiszka jan.kiszka"@web.de>
Cc: Jan Kiszka <jan.kiszka@domain.hid>, xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [PATCH v3 23/24] RTDM: Early fd release with poll-free context reference tracking
Date: Sun, 18 Apr 2010 19:18:31 +0200 [thread overview]
Message-ID: <4BCB3EE7.8040801@domain.hid> (raw)
In-Reply-To: <ef0950a3fd1a8df178c2cf683187895ec74c45b7.1271596367.git.Jan Kiszka jan.kiszka@domain.hid>
Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@domain.hid>
>
> 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?
--
Gilles.
next prev parent reply other threads:[~2010-04-18 17:18 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-18 13:12 [Xenomai-core] [PATCH v3 00/24] [git pull v3] RTDM fixes and reworks Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 01/24] RTDM: Fix potential NULL pointer dereference Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 02/24] RTDM: Add rtdm_rt_capable() service Jan Kiszka
2010-04-18 13:26 ` Philippe Gerum
2010-04-18 13:30 ` Philippe Gerum
2010-04-18 13:40 ` Jan Kiszka
2010-04-18 21:09 ` Philippe Gerum
2010-04-19 7:31 ` Jan Kiszka
2010-04-19 7:37 ` Philippe Gerum
2010-04-19 7:39 ` Philippe Gerum
2010-04-18 13:30 ` Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 03/24] RTDM: Bump API version and document changes Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 04/24] Revert "rtdm: tag syscalls as conforming" Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 05/24] RTDM: Deprecate open_rt, socket_rt, and close_rt Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 06/24] RTIPC: Fix memory leak on failing socket creation Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 07/24] RTIPC: Drop support for RT socket creation/deletion Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 08/24] RTCAN: Drop support for socket creation/deletion in real-time Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 09/24] 16550A: Drop support for device opening/closing " Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 10/24] Analogy: Drop support for " Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 11/24] RTDM: Instrument rtdm_context_lock/unlock to detect misuses Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 12/24] RTDM: Add rtdm_context_put() Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 13/24] Fix historic msleep wrapping Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 14/24] irqbench: Fix x86-64 build Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 15/24] irqbench: Refactor user space helpers Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 16/24] irqbench: Auto-detect bases of port address and IRQ values Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 17/24] rttest: Resolved test device conflicts via separate name spaces Jan Kiszka
2010-04-18 17:13 ` Gilles Chanteperdrix
2010-04-18 17:28 ` Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 18/24] testing: Clean up Kconfig rules Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 19/24] RTIPC: Drop unused wrapper around close_lock_count Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 20/24] RTDM: Document device close procedure Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 21/24] Add list_first_entry wrapper for older kernels Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 22/24] Add legacy kernel support for delayed_work Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 23/24] RTDM: Early fd release with poll-free context reference tracking Jan Kiszka
2010-04-18 17:18 ` Gilles Chanteperdrix [this message]
2010-04-18 17:28 ` Jan Kiszka
2010-04-18 13:12 ` [Xenomai-core] [PATCH v3 24/24] RTDM: Add basic unit test Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BCB3EE7.8040801@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc="Jan Kiszka jan.kiszka"@web.de \
--cc=jan.kiszka@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.