All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] dynamic loader latencies
@ 2011-08-26 16:34 Jeff Weber
  2011-08-29 13:26 ` [Xenomai-help] Fwd: " Jeff Weber
  2011-08-29 20:32 ` [Xenomai-help] " Philippe Gerum
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Weber @ 2011-08-26 16:34 UTC (permalink / raw)
  To: Xenomai Help

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

The Linux ELF dynamic linker/loader ld-linux.so uses a "lazy" model by
default, and defers symbol resolution, shared object resolution to the time
when the symbol is first referenced.  This sounds like a large latency
threat to dynamically linked RT applications running in primary mode. Can
this happen, or is this unlikely?

If this is a latency risk, the only solutions I know of are:

1) Statically link all RT applications

2) Invoke all dynamically linked applications with LD_BIND_NOW=1 environment
to force the dynamic loader to resolve all  symbols  at program startup

3) Link dynamic applications with "-z now" GNU ld option to effect same as
2) above.

Comments?

thanks,
Jeff

[-- Attachment #2: Type: text/html, Size: 900 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-29 20:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-26 16:34 [Xenomai-help] dynamic loader latencies Jeff Weber
2011-08-29 13:26 ` [Xenomai-help] Fwd: " Jeff Weber
2011-08-29 13:49   ` Gilles Chanteperdrix
2011-08-29 20:32 ` [Xenomai-help] " Philippe Gerum

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.