Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp472335img; Tue, 26 Feb 2019 03:23:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IYD5lhL+In3SGf2a/StnevCBxXlOD1qIUX4mZnyyYWfLMZc/qbgdK4IA+gOz8nXuAXEe09Q X-Received: by 2002:a62:8384:: with SMTP id h126mr25294021pfe.243.1551180220097; Tue, 26 Feb 2019 03:23:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551180220; cv=none; d=google.com; s=arc-20160816; b=PsuMqk5SNuL1cJ1gb0YjUsMndu6/lRPDWeYNnn9HT//2e4OwiMwACwQHww8Y2F7P89 UJ4SLOjejpBR1Ns1SF6AGtxt7LORIvig2GjI5QzqX3OTOwQAfCPWFybWupZI2VEzeAae uA/IMwPvC12SV7SFpnVFAKHf7nBkbsq+YNkN05lL79PeHHZihVOSYJ863A/U33cxYgHU xLEKbHrwOmBuJEi5YiZE/kTvSUHTgbKrMhwHuUfq4opkCGg2xjAJxxW/cIHjFN9lxAB3 f8pRXPM2jEy6UNixFhmEbZvfAeEISqahA7LIgeEupmYCxxT1+EK5202iQEqFrfDjxvG2 j7Pw== 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:date:message-id:from :references:cc:to:subject:dkim-signature; bh=LZoP1tXlJEvSW0N+wsoE+Eyfk/MfkVu/zJR2HZr0Dk0=; b=o67ZlRCc2bHoLjSu4hIW+jFfnPztHzkQEo4u17R0Wvp2Sef8oZ8/acGZJ/opKSst4V 5FCqeWG6WfzxveGp67VGtiaCaNXO0nWPruH+lh63xupvvHu+4L5Iu2yAII6w4N5owN0H tbnC0L0SvLOKj/wnOwvGjDD7p22BQZX3E7jYfKXuUgLmkClkQuVJGfdkhZ7C/j8YMKJY 2DpPQ77CTxDJQ5PL5rTLBRP0v4LZ1WO1nVkPLRE799hW54m2Yo17zvJpvVM8bDToZUUA XYzPyyZDlWOR+9vR11aU/1zehp06TPlMjY9irBga8s65uU/aD8TDGOFFScoP5pmSkuhg 9Y2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=Jmv5MX0V; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si12909314pfh.133.2019.02.26.03.23.25; Tue, 26 Feb 2019 03:23:40 -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; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=Jmv5MX0V; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728382AbfBZLVS (ORCPT + 99 others); Tue, 26 Feb 2019 06:21:18 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:57096 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726115AbfBZLVS (ORCPT ); Tue, 26 Feb 2019 06:21:18 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x1QBIfZd163256; Tue, 26 Feb 2019 11:21:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=LZoP1tXlJEvSW0N+wsoE+Eyfk/MfkVu/zJR2HZr0Dk0=; b=Jmv5MX0VamdiDIkRUAKZQnC5pm9XKA3YBgq/3rvktkswBBiPL8gtAjlOlprFMMHHe+tw 6qEcDa/wf4457LWtWMLiHNewLIoi1ttXvRx3VYo0y3eemB5e/ydxsQ/KvKOnT9o75bTu qWKN2cEd8PsJx4UyroGRRN3dn51Lro8wK2pqF5KI51KZsJTCK4qh+nl+gll8fWhgDRT2 kUIupw46T1rqLc4Dk90QiYWS9haFur0kVlXUUfIk7tiCDEYf0+mYr7DbzX8HPESrV5RN moRXh0nhUzGi80VpiDXKAnJbxwcKE2gbKVQisoG9yJ/Sm3Sr8vGUQY8Ye5rT2pNt4wIn Kg== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2130.oracle.com with ESMTP id 2qtupe466a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 26 Feb 2019 11:21:08 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x1QBL6wR003337 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 26 Feb 2019 11:21:07 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x1QBL661009880; Tue, 26 Feb 2019 11:21:06 GMT Received: from [192.168.1.67] (/94.61.137.133) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 26 Feb 2019 03:21:06 -0800 Subject: Re: [PATCH RFC 20/39] xen-blkback: module_exit support To: Konrad Rzeszutek Wilk Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, Ankur Arora , Boris Ostrovsky , Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= References: <20190220201609.28290-1-joao.m.martins@oracle.com> <20190220201609.28290-21-joao.m.martins@oracle.com> <20190225185719.GA16013@char.us.oracle.com> From: Joao Martins Message-ID: <29073305-4c54-99c1-74e1-7bdc6090f88d@oracle.com> Date: Tue, 26 Feb 2019 11:20:59 +0000 MIME-Version: 1.0 In-Reply-To: <20190225185719.GA16013@char.us.oracle.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9178 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=5 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=667 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902260085 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/25/19 6:57 PM, Konrad Rzeszutek Wilk wrote: > On Wed, Feb 20, 2019 at 08:15:50PM +0000, Joao Martins wrote: >> >> Implement module_exit to allow users to do module unload of blkback. >> We prevent users from module unload whenever there are still interfaces >> allocated, in other words, do module_get on xen_blkif_alloc() and >> module_put on xen_blkif_free(). > > This patch looks like it can go now in right? > Yes. Joao