Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1181245imu; Wed, 16 Jan 2019 14:16:09 -0800 (PST) X-Google-Smtp-Source: ALg8bN5Vs2PlXn5YT/E8wl8ymG2oZX3gqopQRAovlrcDnaax3yZz+6+8SGYe/AvapbpwlV0c8xWj X-Received: by 2002:a63:9306:: with SMTP id b6mr10632508pge.36.1547676969194; Wed, 16 Jan 2019 14:16:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547676969; cv=none; d=google.com; s=arc-20160816; b=xjW0V7cW3fQ07hhmyhj4H+wt1saKsdc5wtpEhqLXZiqpmzwC3XJ/QSht/vJrU+MRQ3 DA61RuSxlluz+GeUjnGOAb4wgBZa2GhQSrBAUSlp1YuOOUVbI1SR6pifw3c1YgF3QUIM UWYz6nxyena1ar1KQHkd7aqn1NAF1H99L4uudYRrd6fNNXXSjot3qW9d16T3oWQ61eZZ XHQfXkR25VQW+GCKOq+anTZnHQT7qa8A50k3V0hCQnQ+0wumB53IlwHToWApZrPP1Bhj lbDtkf2MeCKvvSiXF1PSOIuZ4suaIt7Cvz5nmb1xxEMLs8AuMZwsYiUjYwEOYOnhcUqA CezQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=oJGOxOIhTtv3sH8z7N/kKoVirvVSA3xFAXxV+5cizE0=; b=tmXANszfLUZzUaUtCeK/SU5qvixT7tfeGr0F1ONGT4QsmvpKEFbEURQGMwoNqCx3CW 1pXfVRuB3nyWD+u3nlFz1RTuUS4UjiAlwt8U0BGXn3S7Or56wA8k0HL6G8vsD+zf39K0 kuzYD2WnykHGXonwYPBPzdCLT+WCg4OjIUPlL2rEY1zB4KmGOtRW8A5gv7mRoM/GgnK7 3KnxscS2Vnpp0Ulx0UPMvATlcB0lTk7t072a7hKjuoqBWjDc92iAf81ZjaDOOKM3kqwj b4shzxeRhilTNYkgT7WoxCziYHRLwaoIJwvQVeyPIAvwhkQ8UOACH0y5hlZNAPzoAA5W 34RA== 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 86si8635638pfl.46.2019.01.16.14.15.54; Wed, 16 Jan 2019 14:16:09 -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 S2393527AbfAPO3w (ORCPT + 99 others); Wed, 16 Jan 2019 09:29:52 -0500 Received: from smtp.eu.citrix.com ([185.25.65.24]:11743 "EHLO SMTP.EU.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387666AbfAPO3v (ORCPT ); Wed, 16 Jan 2019 09:29:51 -0500 X-IronPort-AV: E=Sophos;i="5.56,486,1539648000"; d="scan'208";a="84673597" Date: Wed, 16 Jan 2019 15:29:43 +0100 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Dongli Zhang CC: , , , , Subject: Re: [PATCH 1/1] xen-blkback: do not wake up shutdown_wq after xen_blkif_schedule() is stopped Message-ID: <20190116142943.b4nlpoaeitn6esb2@mac> References: <1547646461-29803-1-git-send-email-dongli.zhang@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1547646461-29803-1-git-send-email-dongli.zhang@oracle.com> User-Agent: NeoMutt/20180716 X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL02.citrite.net (10.69.22.126) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 16, 2019 at 09:47:41PM +0800, Dongli Zhang wrote: > There is no need to wake up xen_blkif_schedule() as kthread_stop() is able > to already wake up the kernel thread. > > Signed-off-by: Dongli Zhang Reviewed-by: Roger Pau Monn? kthread_stop waits for the thread to exit, so it must obviously wake it up. Thanks, Roger.