All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Wright <anthony@overnetdata.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: xen 4.4.0 unnecessary dependency on Perl
Date: Mon, 28 Jul 2014 21:25:24 +0100	[thread overview]
Message-ID: <53D6B1B4.3040702@overnetdata.com> (raw)

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.

             reply	other threads:[~2014-07-28 20:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28 20:25 Anthony Wright [this message]
2014-07-29  9:02 ` xen 4.4.0 unnecessary dependency on Perl 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

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=53D6B1B4.3040702@overnetdata.com \
    --to=anthony@overnetdata.com \
    --cc=xen-devel@lists.xensource.com \
    /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.