Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1932403ybh; Thu, 23 Jul 2020 23:31:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxP7u/6uOYjv23ee3Xsi+0KfBaU1FSkgh8hg2vrXsvgFQsxUakZvkth660CvXStZx4W6gco X-Received: by 2002:a50:c402:: with SMTP id v2mr5301115edf.166.1595572293113; Thu, 23 Jul 2020 23:31:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595572293; cv=none; d=google.com; s=arc-20160816; b=USLpcDPpK1uK/XrwMaRnYsAR/OArgb6TT2B5hY3enTY+/xa6Ysl55xNKipkXOAhZup Zc46piV8rwQO1hoZuUfkiWJ3cugT3WzHAUj/s2nILJ7Y6T/XJLMSvWEXN/Dd10VkZ4ug +wmpSfj+16muHIXHKozUOB8ylOLDDOnhSsLs7A9WhY78s8utmKWunAngHbmAVsfhSd2r sAblc+LATPXRl0kLvW07yJKGlMZHjBwNF1KvylPt/K1gtt9JXZfQYM98gSm0fsFDdpVm urwoRguQLBbZREKJqeNEL4RNIHTJcMCBpG3vOPnvgUr/uGuVYe1VbN3q+i8rwJ1VwL9s 0QZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=f5Bi1N9eHmzbwm4KZS+jcd4luzKCa17r9gngXjYNYvc=; b=AScOZ0Vel2r5D7/8Wxjr4U9OHCXpisN5qNeUs/2aM2pNfwoJnxOXDfi/0DJv+MFN4Y PVduytoCV+yZDk9RPYwDdu/HCkoSOsbQlchygeKYJyl2d0H+u6P9hGqYvQe3ozWrPPlZ WrjTUx0XrcxVeBxYs4/EmeY/KinW29NBpJKq8C5Re+UBezF5jGgUi9WN7iHfaviah+7U tLubWJE7thi7TIBDkm2qtgM1ZWh1CsMmGwnAJzBx4khjFxHmzsDkrERYzsgNq0tb11tB 9F2RtQ/z54GfKfl3m1DzV0PI2aVFQXIfwsGyfyzjgJQFbgPoaSRTgPxWBgHD3HHdfBre 4dhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ch9si3283058edb.155.2020.07.23.23.31.10; Thu, 23 Jul 2020 23:31:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726737AbgGXGa5 (ORCPT + 99 others); Fri, 24 Jul 2020 02:30:57 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:51974 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726178AbgGXGa5 (ORCPT ); Fri, 24 Jul 2020 02:30:57 -0400 Received: from mail-ed1-f69.google.com ([209.85.208.69]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jyrEM-0004iy-L0 for linux-kernel@vger.kernel.org; Fri, 24 Jul 2020 06:30:54 +0000 Received: by mail-ed1-f69.google.com with SMTP id a4so2487072edr.18 for ; Thu, 23 Jul 2020 23:30:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=f5Bi1N9eHmzbwm4KZS+jcd4luzKCa17r9gngXjYNYvc=; b=sTT9Z79WjxVFbi6VmzhnJJR2iGq7m9N3+u9V5Lgww6fjnYkUqzRC+0MbLf4PRKxgfl qxraVlPiRjH0NQA7tjIMOnK0Bu/r3HOafmyK/feiS0X3+tjI9Nj3/ZO3PrpXNIf9nYOO BzVPtbMPgzPwR0OcZLsQTkWlZRH6FoNXt6mPDCJsGHAMF78R4/rO8lcXlAtysxypj3Sh hNRa8vSNYsqtUVjx2TPXUXFUz+tP1PWAgQJyUTD00tYGV7xME71sJjW87aAvgjwzSA1P ADeOLk/auUUeojgaFf49QYiQPMRrfnd6S9E9wE45qAKHzzSXbHEFMZxdpF8MoqAcZU7z W5Ew== X-Gm-Message-State: AOAM530Kged2f5VIMto3COtnulGMFaKezy/sfs8ExnGRPkndGBo8bAfT XwVlss202/VJsnlBusvhjmB2/pBS3o0NmhlJMt/bmijDUKaL3VcwK80j/o6GRtaoZoBOOcH0F/y U66vZ0M46FEO2f/Bwy9CPx6erpREvuXQya0CPUcuhKw== X-Received: by 2002:a17:906:3bd5:: with SMTP id v21mr3756079ejf.329.1595572254321; Thu, 23 Jul 2020 23:30:54 -0700 (PDT) X-Received: by 2002:a17:906:3bd5:: with SMTP id v21mr3756053ejf.329.1595572254072; Thu, 23 Jul 2020 23:30:54 -0700 (PDT) Received: from localhost (host-87-11-131-192.retail.telecomitalia.it. [87.11.131.192]) by smtp.gmail.com with ESMTPSA id r19sm48005edi.85.2020.07.23.23.30.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 23:30:53 -0700 (PDT) Date: Fri, 24 Jul 2020 08:30:52 +0200 From: Andrea Righi To: David Miller Cc: boris.ostrovsky@oracle.com, jgross@suse.com, sstabellini@kernel.org, kuba@kernel.org, xen-devel@lists.xenproject.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] xen-netfront: fix potential deadlock in xennet_remove() Message-ID: <20200724063052.GG841369@xps-13> References: <20200722065211.GA841369@xps-13> <20200723.145722.752878326752101646.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200723.145722.752878326752101646.davem@davemloft.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 23, 2020 at 02:57:22PM -0700, David Miller wrote: > From: Andrea Righi > Date: Wed, 22 Jul 2020 08:52:11 +0200 > > > +static int xennet_remove(struct xenbus_device *dev) > > +{ > > + struct netfront_info *info = dev_get_drvdata(&dev->dev); > > + > > + dev_dbg(&dev->dev, "%s\n", dev->nodename); > > These kinds of debugging messages provide zero context and are so much > less useful than simply using tracepoints which are more universally > available than printk debugging facilities. > > Please remove all of the dev_dbg() calls from this patch. I didn't add that dev_dbg() call, it's just the old code moved around, but I agree, I'll remove that call and send a new version of this patch. Thanks for looking at it! -Andrea