All of lore.kernel.org
 help / color / mirror / Atom feed
* pthread_mutex_lock() and Xenstored
@ 2007-08-31  5:51 Peter Teoh
  2007-09-13 15:03 ` Vincent Hanquez
  2007-09-13 15:21 ` Daniel P. Berrange
  0 siblings, 2 replies; 8+ messages in thread
From: Peter Teoh @ 2007-08-31  5:51 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 514 bytes --]

pthread_mutex_lock() are not async-signal safe (ref:
http://www.gelato.org/pdf/Illinois/gelato_IL2004_libatomic_boehm.pdf)
but I still see that it is used extensively in xenstored implementation (eg, xs.c).

Moreover, pthread_mutex_lock() suffered a higher performance penalty than other synchronization option.   For a one-time effort like domain creation this is ok, but Xenstore is used repeatedly to access data, and therefore performance could potentially be enhanced.

Does all these sound logical?


[-- Attachment #1.2: Type: text/html, Size: 1382 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

end of thread, other threads:[~2007-09-15 17:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-31  5:51 pthread_mutex_lock() and Xenstored Peter Teoh
2007-09-13 15:03 ` Vincent Hanquez
2007-09-13 15:21 ` Daniel P. Berrange
2007-09-15  6:01   ` Peter Teoh
2007-09-15  9:48     ` Bastian Blank
2007-09-15 16:51       ` Peter Teoh
2007-09-15 13:50     ` Daniel P. Berrange
2007-09-15 17:57       ` John Levon

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.