xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* xen 4.4.0 unnecessary dependency on Perl
@ 2014-07-28 20:25 Anthony Wright
  2014-07-29  9:02 ` Ian Campbell
  0 siblings, 1 reply; 6+ messages in thread
From: Anthony Wright @ 2014-07-28 20:25 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

The shell script tools/hotplug/Linux/locking.sh contains a single
section of 8 lines of perl that causes xen 4.4.0 to be dependent on
perl, something that isn't mentioned anywhere in the documentation. The
section of code is trying to deal with a race condition and is
accompanied by the comment "Perl is very fast so use that".

To me it would seem wise to minimise the number of xen's dependencies
and so use Python instead or if speed is really important here, a custom
C program. We have a custom Linux distro that includes xen and to us the
size of the distro is very important. This single 8 line section of code
introduces a dependency on Perl and so adds another 10M to 20M.

Anthony.

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

end of thread, other threads:[~2014-09-01  8:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-28 20:25 xen 4.4.0 unnecessary dependency on Perl Anthony Wright
2014-07-29  9:02 ` Ian Campbell
2014-07-29 10:54   ` Ian Jackson
2014-07-30 12:49     ` Anthony Wright
2014-07-30 14:26       ` Ian Jackson
2014-09-01  8:10       ` Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).