Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp432687ybl; Thu, 12 Dec 2019 21:42:01 -0800 (PST) X-Google-Smtp-Source: APXvYqy8xmkQfdRxCFMzu8wBG+eceZ1kwdWgrqs5xTlVdmqEBuQDreZXerJaKhZEuAIRXr3B9GTO X-Received: by 2002:a9d:6395:: with SMTP id w21mr12911978otk.3.1576215721302; Thu, 12 Dec 2019 21:42:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576215721; cv=none; d=google.com; s=arc-20160816; b=uAHLdrWtsid33sCn8Pv1XssctIE9qoM2dtunbn83DmrPoCla8trRJ/HTGeNNRgIMLj WYAb3rsqALcAI611WdHF9I4MkNSURxD1DGuiqTTrDiU01nOjigG6BiBeY8Lflf/dtfV2 SknDURp71R1Uwf8N/iHqkNbHrMRMgThIzA1tGqPRSpMtBgFtk9D+t1GsQn+bfU71qDcD 6F+7eJI8KjQcQzXJ0ZbkTmWvzHGaelptno2Vb+5a9K3QW9Ok5B5utfuH1eMlhT+OUnDu NqHiFSEgpU67wOIAAxvGPWikH7k5KJ93LttCTIRXRsBlkXo8vF6etPjxBsMB5Slhj3j6 ddGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=hxtrzniPs6dTXyOLlKqHpoBeEqubEqnNqAdx/0Dnu30=; b=sy6mfM1nK5qGmQ+mRKu6bxLsXfUAVYui9KOFeFVduwNchOz2LYJDdM+Q7UKaZ7dL0c 1DeKaXGDY8QEn9YXASCFRVx8ZVt2wKqEIJdB9ZcfsCcxNIPOP02V6kj7/GUnlZo1r4Zz 3zl7zInR2Q2HXiI6t4a47KvD8DCKyjHTxqIQlE2L5R6irpJaTHTT+P22A88bZOIzLrtS 9A87Lw1zvs+vGR1QM9+BLmnO8ao9bu4mRdNBht1HhxBnhNjzqEw77gjrqs4Logms4zQx IOGlIXohStD1C6wyX3ksGAgKSV0nOm6I5c7131hQ1yJQ3cjbMRvz/GISWNuEybHNDeRR /loQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a136si4728366oib.252.2019.12.12.21.41.47; Thu, 12 Dec 2019 21:42:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732120AbfLMFkp (ORCPT + 99 others); Fri, 13 Dec 2019 00:40:45 -0500 Received: from mx2.suse.de ([195.135.220.15]:40704 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725799AbfLMFko (ORCPT ); Fri, 13 Dec 2019 00:40:44 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id F0FB8ACAE; Fri, 13 Dec 2019 05:40:42 +0000 (UTC) Subject: Re: [Xen-devel] [PATCH net-next] xen-netback: get rid of old udev related code To: David Miller , pdurrant@amazon.com Cc: xen-devel@lists.xenproject.org, wei.liu@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org References: <20191212135406.26229-1-pdurrant@amazon.com> <20191212.110513.1770889236741616001.davem@davemloft.net> From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= Message-ID: Date: Fri, 13 Dec 2019 06:40:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191212.110513.1770889236741616001.davem@davemloft.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12.12.19 20:05, David Miller wrote: > From: Paul Durrant > Date: Thu, 12 Dec 2019 13:54:06 +0000 > >> In the past it used to be the case that the Xen toolstack relied upon >> udev to execute backend hotplug scripts. However this has not been the >> case for many releases now and removal of the associated code in >> xen-netback shortens the source by more than 100 lines, and removes much >> complexity in the interaction with the xenstore backend state. >> >> NOTE: xen-netback is the only xenbus driver to have a functional uevent() >> method. The only other driver to have a method at all is >> pvcalls-back, and currently pvcalls_back_uevent() simply returns 0. >> Hence this patch also facilitates further cleanup. >> >> Signed-off-by: Paul Durrant > > If userspace ever used this stuff, I seriously doubt you can remove this > even if it hasn't been used in 5+ years. Hmm, depends. This has been used by Xen tools in dom0 only. If the last usage has been in a Xen version which is no longer able to run with current Linux in dom0 it could be removed. But I guess this would have to be a rather old version of Xen (like 3.x?). Paul, can you give a hint since which Xen version the toolstack no longer relies on udev to start the hotplug scripts? Juergen