From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Wright Subject: xen 4.4.0 unnecessary dependency on Perl Date: Mon, 28 Jul 2014 21:25:24 +0100 Message-ID: <53D6B1B4.3040702@overnetdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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.