Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5811289iog; Thu, 23 Jun 2022 05:59:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vExDd8s71HqveGND23TP0+q0/YKgvbHdm66URu9cHwtnEMxzY0hEdGI3iSI046Gr+S0oh0 X-Received: by 2002:a17:907:7f0e:b0:722:a7e9:6f7f with SMTP id qf14-20020a1709077f0e00b00722a7e96f7fmr8239000ejc.228.1655989152170; Thu, 23 Jun 2022 05:59:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655989152; cv=none; d=google.com; s=arc-20160816; b=fc17pDHXpfFjr3tMxczC0pn4C3L/rkxcFMKrToAVmHAxBV6XBqGynG+4okikWEOCY7 7FbuongROpJWvpzz70eGw1hl7mvOpcQR8gaz6lm9nobBH9HZllgBnhcSYhApdKaLsg/w Ay/6NbZ4mpQTXN4QVJPZlmIGqpC0FaDDdk7QERx+Af8rKXOjARmlq/jsNQm9ZeJLvNhe Zo7s6wqOUU5EQgOh9iOzcKTj1/GWtAm1B07Cj52HER2s/9xNzEqmPxQqV6Qnsk8zxznF nXIvvdBZSeHf1Ip0G7iMJ1VA1X333qwNA8FwGuFubfVvPPnzgIjm2d/+/PcTBKQueGOr nwSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=IwQIdTPOL0hcDLLiZO+ZnH1H9mqh4iSUrszqHqXfKJc=; b=b/EdWktOjOeeClUiDbLjv4UFmXlqyz7e5/xZpYafZCKsWCgYZCqKKMQXbW1tBk51Tj dx17YDB38f+6qJk2GbRMrxS+6+2An7LMVvWMx8Lt2CjVAJPuu6kayvuGbaotmy21zvHT wT2HoPqnAjPgWzrrtNwm3+GTahwjLDP3PT5SWsSz8YI3vVccUgQFYTqcJBy5dJIMd2Gi EFEFchH2ZBppimCdhz2KdaokiZkKMx7qhT7fEL0yTrP+IGcwZrPCOoVjrXPgmWMYBemc k15tYC7MdFBokpf48bFcLzlrJSM0YOCzMS7Csp27mogSC7BFdoJ1uubcNpkZgsHqlR4X N/NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=BNfNzZIS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb8-20020a170907960800b007262b99fc96si238949ejc.948.2022.06.23.05.58.45; Thu, 23 Jun 2022 05:59:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=BNfNzZIS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231837AbiFWM5I (ORCPT + 99 others); Thu, 23 Jun 2022 08:57:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229741AbiFWM5H (ORCPT ); Thu, 23 Jun 2022 08:57:07 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96BF44B87B; Thu, 23 Jun 2022 05:57:06 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 5564321B17; Thu, 23 Jun 2022 12:57:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1655989025; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IwQIdTPOL0hcDLLiZO+ZnH1H9mqh4iSUrszqHqXfKJc=; b=BNfNzZISdwN6dTOvSVYKGZafp2YfIvseJA0TCW0PiO4whijnaYKYDM8hVcwHRGoZ4QTfVk leCP35Oaw2HuejLPN93Q5mccJnMwjK/L6qfssXBkWzjy3y7dtoelT1JpXUNNaRmZXuX2EG bIeKBExMFKB5AvuTchIeVoPJ5rAmt6E= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1570113461; Thu, 23 Jun 2022 12:57:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Jf+GAyFjtGJqGQAAMHmgww (envelope-from ); Thu, 23 Jun 2022 12:57:05 +0000 Message-ID: <88ca4ce6-0f8a-0084-9074-7e72a341536b@suse.com> Date: Thu, 23 Jun 2022 14:57:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v4] xen/gntdev: Avoid blocking in unmap_grant_pages() Content-Language: en-US To: Demi Marie Obenour , Stefano Stabellini , Oleksandr Tyshchenko , David Vrabel , Jennifer Herbert Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20220622022726.2538-1-demi@invisiblethingslab.com> From: Juergen Gross In-Reply-To: <20220622022726.2538-1-demi@invisiblethingslab.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------MjLJ9LQCj5UmEMxFvomyfUd0" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------MjLJ9LQCj5UmEMxFvomyfUd0 Content-Type: multipart/mixed; boundary="------------CM7Lbh2cN3VZwePM0uCnSORv"; protected-headers="v1" From: Juergen Gross To: Demi Marie Obenour , Stefano Stabellini , Oleksandr Tyshchenko , David Vrabel , Jennifer Herbert Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Message-ID: <88ca4ce6-0f8a-0084-9074-7e72a341536b@suse.com> Subject: Re: [PATCH v4] xen/gntdev: Avoid blocking in unmap_grant_pages() References: <20220622022726.2538-1-demi@invisiblethingslab.com> In-Reply-To: <20220622022726.2538-1-demi@invisiblethingslab.com> --------------CM7Lbh2cN3VZwePM0uCnSORv Content-Type: multipart/mixed; boundary="------------EZrvq5EHS1RGY5UKrUtgHHZI" --------------EZrvq5EHS1RGY5UKrUtgHHZI Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjIuMDYuMjIgMDQ6MjcsIERlbWkgTWFyaWUgT2Jlbm91ciB3cm90ZToNCj4gdW5tYXBf Z3JhbnRfcGFnZXMoKSBjdXJyZW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aW52aXNpYmxldGhpbmdzbGFiLmNv bT4NCg0KUmV2aWV3ZWQtYnk6IEp1ZXJnZW4gR3Jvc3MgPGpncm9zc0BzdXNlLmNvbT4NCg0K DQpKdWVyZ2VuDQo= --------------EZrvq5EHS1RGY5UKrUtgHHZI Content-Type: application/pgp-keys; name="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Disposition: attachment; filename="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsBNBFOMcBYBCACgGjqjoGvbEouQZw/ToiBg9W98AlM2QHV+iNHsEs7kxWhKMjri oyspZKOBycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ8uxGq2 kaV2KL9650I1SJvedYm8Of8Zd621lSmoKOwlNClALZNew72NjJLEzTalU1OdT7/i 1TXkH09XSSI8mEQ/ouNcMvIJNwQpd369y9bfIhWUiVXEK7MlRgUG6MvIj6Y3Am/B BLUVbDa4+gmzDC9ezlZkTZG2t14zWPvxXP3FAp2pkW0xqG7/377qptDmrk42GlSK N4z76ELnLxussxc7I2hx18NUcbP8+uty4bMxABEBAAHNHEp1ZXJnZW4gR3Jvc3Mg PGpnQHBmdXBmLm5ldD7CwHkEEwECACMFAlOMcBYCGwMHCwkIBwMCAQYVCAIJCgsE FgIDAQIeAQIXgAAKCRCw3p3WKL8TL0KdB/93FcIZ3GCNwFU0u3EjNbNjmXBKDY4F UGNQH2lvWAUy+dnyThpwdtF/jQ6j9RwE8VP0+NXcYpGJDWlNb9/JmYqLiX2Q3Tye vpB0CA3dbBQp0OW0fgCetToGIQrg0MbD1C/sEOv8Mr4NAfbauXjZlvTj30H2jO0u +6WGM6nHwbh2l5O8ZiHkH32iaSTfN7Eu5RnNVUJbvoPHZ8SlM4KWm8rG+lIkGurq qu5gu8q8ZMKdsdGC4bBxdQKDKHEFExLJK/nRPFmAuGlId1E3fe10v5QL+qHI3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HQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------EZrvq5EHS1RGY5UKrUtgHHZI-- --------------CM7Lbh2cN3VZwePM0uCnSORv-- --------------MjLJ9LQCj5UmEMxFvomyfUd0 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmK0YyAFAwAAAAAACgkQsN6d1ii/Ey9/ pgf/eNQa9Pf7E8x2YxUld0WpDOH6NxiTgM+wwHd/VsfBNuwXmthu0iGFvImOHIPJ21gD7Ibz1N4N JFOp4Dh60QJ04EjrnT8SDaz7Mu9lsA1dHr6MMXokdbSRTijHVhzpMphN63AnZOvHCJn2FUzp+UvE riOxkKCB3yIohXFV3oajCQHmZBb83wMizl02J/hA7pAez4pen8JiQYMnkq7djZ+vXc1E0PAcZf17 5QPSXEbR4ghoUqkd8rFVq4vUClmyqRJwsOtuYdSd6VS3U1vjg1MW712MBTyT/snO+5snXZp53jE7 QRHhn7aLmtPAt/nC6Gf+lmgxBdtpdIah0mJByVQixA== =t+Ri -----END PGP SIGNATURE----- --------------MjLJ9LQCj5UmEMxFvomyfUd0--