Received: by 10.223.176.5 with SMTP id f5csp3043987wra; Mon, 5 Feb 2018 14:52:52 -0800 (PST) X-Google-Smtp-Source: AH8x226QShhLYzOXDlc9hvZVoFJPcpCfVeA59Hx381yIfceTTm6W2LT27TNuvDK4Ax9VZCxrE6qU X-Received: by 10.98.150.20 with SMTP id c20mr350977pfe.200.1517871172232; Mon, 05 Feb 2018 14:52:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517871172; cv=none; d=google.com; s=arc-20160816; b=XZfi/3rYaDz6T2dPVd3YSg0HV4yHSDswIuUk0PdzY0aBfE0u54c/v84enIcEfHlaUb uYp238dM25gb2wZzus6EHW0X/gZuj5/cBvx0tDH0BoEHNt0y4J+Le8rcUAylDr882FLv Sg+eTb0kBymMSI5NaNE/GbWqii7HaO0x8ePtJIz4TaFTITBO44p+hczDi1tU2hzcvEVn ZqVEyjETSkVfjlVpE11dRkU90dnMuoKXF/yPivZBlEjQ/IKSHzzcFEDV7N/9z8ReZ8RQ JW+8yqrL97/72fUgOSScLhS47G/e7WEnCpxQHDynaNVaoPtk6JudLw8eIcGr4I3/+jAL jx7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date:dmarc-filter:arc-authentication-results; bh=MwTLL8fE3lQoJ7bFoZVjw9DbBxsSEOjggGUlQLfGmbk=; b=WPyhFtU0SzCRirdg/NVY1d8rbUjtKwVR6lmStWh4pPHM/VytEcDI65oBA+Un4Q4kz9 W3Ts1Y2KwINXYTeXgNCEIvOI0jQ3NsiLHvmldH8UIjjqJ9IS6h068QhUMuhLZn6/02RR jJFSDwc+Nb310L5T4Jk+xZ/uM9ZiG/X9M0ro1zGrz2W3wQb/NAqVwcBKr5KI+0LErZT+ tKsZfmJImV8KvjUktBtvjvm7B2wPw2BxpIILaBucjrMSp897AIq9KtbJgHCCFVlBz4SO KOLj0MrVjo3zw02ekfzznM3oXp/fDgkXhswcxY/rBu5/Dc8mLGKBtHv2mLUA/mMuQI+S XfeQ== 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 x1si2813376pgv.124.2018.02.05.14.52.28; Mon, 05 Feb 2018 14:52:52 -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 S1752037AbeBEWvi (ORCPT + 99 others); Mon, 5 Feb 2018 17:51:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:56128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750796AbeBEWvc (ORCPT ); Mon, 5 Feb 2018 17:51:32 -0500 Received: from [10.135.48.227] (unknown [12.248.85.146]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 62ABF20B80; Mon, 5 Feb 2018 22:51:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62ABF20B80 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=sstabellini@kernel.org Date: Mon, 5 Feb 2018 14:51:24 -0800 (PST) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-X260 To: boris.ostrovsky@oracle.com, jgross@suse.com cc: sstabellini@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] pvcalls-front improvements Message-ID: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, this small series introduces a per socket refcount to increase the efficiency on socket release operations, and makes releasing passive sockets safe. Cheers, Stefano Stefano Stabellini (2): pvcalls-front: introduce a per sock_mapping refcount pvcalls-front: wait for other operations to return when release passive sockets drivers/xen/pvcalls-front.c | 196 +++++++++++++++++++------------------------- 1 file changed, 84 insertions(+), 112 deletions(-)