Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp489386pxb; Mon, 8 Nov 2021 17:13:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/vniQZ9Ov5GZC3EPLvg6/brn6NIJJ/vgxbqxzlhyTnaWkNmuNu8wrGe7d9KX3s+3nicx9 X-Received: by 2002:a05:6402:2792:: with SMTP id b18mr4595377ede.245.1636420428091; Mon, 08 Nov 2021 17:13:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636420428; cv=pass; d=google.com; s=arc-20160816; b=srtzTn9JIOqF/GMXCplC2J7AP3OQ6zCF1R6asQttFa6/CL8KlqiMEuyjzK6JmPMwq1 5RUVtAlLDB2/GgtwmKa1NrEKxXv0RKr0b96UG4N5rIfw/tDqbIfTW5I80LxWZtetcCWz mkLXp9UdijIdQoL1Gqa2p+Q1NKstOdIxLwsBwW9wiFKl1yqJauCMTVPdEBDFTjMqdlrE HJfLN0AMSFVHvqDtnZGF1g42hZeaKITfJDc015fDXn3IEedpgB7KTvZpZ82IhSWib77F +BRgLDH7aN4uAB7/TC/H3eRsb4KhixdI5zGQH1MfhT7R+HIWuMnQwn5G+qnhrEBacqCv JQ5A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:in-reply-to:user-agent:date:message-id:references :cc:to:subject:from:dkim-signature:dkim-signature; bh=gi4omwCWikStnBVOOGZ1Qw9XggCqfKgmEeCJma7yYys=; b=v96acWjiV+NINqv1a1YsJW/mzIRrnbFb+ThnuFHISMEwx+l0b2VYaBs5O4wJnvOUYk zg8pKpxjK9Hwg/68CTu+YUcfx+uO+1FmwTQnoY183rX27QbBh1ZbcMyYZY5BE6CpdKpB xQeV268+DL68Pzc0pEBaBgTHTnF3efGXyUyn3yzplBnve6exwHgSLpubKYMPMPS3UY8t R/3YKJJs0kHTKOX+ClOixZfdrOH02UByvtoSI4qUIkt0rr3Uo/JFOoysubEFZF89NZG3 c3FSWp+cNv3iUrNP7optxUpT436r10CMNVntC0VjYu2h8j8GYq6iyL15PZpsOZ6xkmxb xlIg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=SMXjcqUV; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Imtf2Naj; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cc25si22461347edb.236.2021.11.08.17.13.21; Mon, 08 Nov 2021 17:13:48 -0800 (PST) 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; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=SMXjcqUV; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Imtf2Naj; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235519AbhKIAsZ (ORCPT + 99 others); Mon, 8 Nov 2021 19:48:25 -0500 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:57800 "EHLO mx0b-00069f02.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235349AbhKIAsJ (ORCPT ); Mon, 8 Nov 2021 19:48:09 -0500 Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1A902vuQ019145; Tue, 9 Nov 2021 00:44:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : subject : to : cc : references : message-id : date : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=gi4omwCWikStnBVOOGZ1Qw9XggCqfKgmEeCJma7yYys=; b=SMXjcqUVzIhllnxrm3iKskB6LGX8B7gMi41mQd4BsBk5nvim4zG/ItGhGJt9joRvkHf0 yN50h4YBLWhOKynfR3BPDiduak726B5Pe+53UBUxkuGpkSlThlPHY4O7guyY6Wy6SzCV MyNsNPu1cIvQrOmkyJanI82VBLXg5NVw5UN+a0mNOOmxAfTntnCZ449W8xMVRVhdi855 rl/+VOvJQ8xlFaeTW2FoflUqUc1OpxyOtZGCkyVgf2yOz4PRFpgjH1Va1RfNLXfjwx6C 82L+THgeT5T532PZtldLDR/0rBOIu9m5MeZA4tafFwrAX9UQzi5n5v5icCurajywXPg+ tA== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by mx0b-00069f02.pphosted.com with ESMTP id 3c6sbk7ctx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Nov 2021 00:44:27 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 1A90ab4M054251; Tue, 9 Nov 2021 00:43:15 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2101.outbound.protection.outlook.com [104.47.55.101]) by userp3020.oracle.com with ESMTP id 3c63fs5j3x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Nov 2021 00:43:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l73QnIPi5zi3OIJCIDVucVRuThc087vw0A10Xmrrb0yRm3VTDDYigSRAnVLcCXYHZoQOkGzzz/K0lAj/Jl+oDgcLtEHAGyDpMSP+b6aANatVhesMCkaxXNuL7aIMLAfZJmEiAOJtodYpjyCTs31uEPPpYjN/xwOtvf0yeTExhsgpEEOH5L0CC5v3yGubT/sX36ElpXXbkWzO4NGnuiOdy3HGGGutCjuj6oIV6HcayjGPOoRs1T7Qs1X8JI2ZALjcfQ6sr1Z9ld6tZnaASnlEd+fXxCAXi3hWVRlyq6Sh3DEykXg3a0NnagQqjeqULZnOK45P2w6eilws3jbRw/dZuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gi4omwCWikStnBVOOGZ1Qw9XggCqfKgmEeCJma7yYys=; b=TGGpX1NiGaFD/vIaxS8amChip4O3vc0sLo+OJQiJgszS4r7uuv+JBEAYyYZKTxU2o9uLvXXeTq5Tuu4BvwDSxDmRpSXv3jGaZu+x4jwLun2ba2LomocQACnqSybGlX7qfohdMRkJyqD3qEEG96NtEp3ObBkT1qByHLqs09x5JjjGta9gb95HXaLMwav/Cvgs5+YpyGcvPXvunoX5Dv4ZU+HJpNcKBhOtn8xU1obfcGYEeQSeaLgYNHr3P7e/ApSa6lRu9i41Z8b1xCoxH0HIveDZkLyleLachV/v1F1OIRRHTg9hkl/gHBaqYmwpl3604sHEEaXIVgpONw8r5HLCFw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gi4omwCWikStnBVOOGZ1Qw9XggCqfKgmEeCJma7yYys=; b=Imtf2NajxdgXcuQR/Uss9kyERmI1+74tXpE5tjWREGbIMFTMhxohN1xY4RjQ2JaEXgRkaJPYPATJn6gCAFOk48XVI50TDaVbr3G2SXOsBdOSSEgLkh6HhhzTAexDpeNTM3eEmVL4rCmc9/qbQb0wG/YLwOAtxuM+vQ0H/PDkQAo= Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=oracle.com; Received: from CH2PR10MB4008.namprd10.prod.outlook.com (2603:10b6:610:c::22) by CH0PR10MB5273.namprd10.prod.outlook.com (2603:10b6:610:db::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11; Tue, 9 Nov 2021 00:43:12 +0000 Received: from CH2PR10MB4008.namprd10.prod.outlook.com ([fe80::74b8:818d:18e5:e6c6]) by CH2PR10MB4008.namprd10.prod.outlook.com ([fe80::74b8:818d:18e5:e6c6%6]) with mapi id 15.20.4669.016; Tue, 9 Nov 2021 00:43:12 +0000 From: "Maciej S. Szmigiero" Subject: Re: [PATCH v5.5 00/30] KVM: Scalable memslots implementation To: Sean Christopherson Cc: James Morse , Alexandru Elisei , Suzuki K Poulose , Atish Patra , David Hildenbrand , Cornelia Huck , Claudio Imbrenda , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Ben Gardon , Marc Zyngier , Huacai Chen , Aleksandar Markovic , Paul Mackerras , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Paolo Bonzini References: <20211104002531.1176691-1-seanjc@google.com> Message-ID: Date: Tue, 9 Nov 2021 01:43:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <20211104002531.1176691-1-seanjc@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: AM5PR0601CA0075.eurprd06.prod.outlook.com (2603:10a6:206::40) To CH2PR10MB4008.namprd10.prod.outlook.com (2603:10b6:610:c::22) MIME-Version: 1.0 Received: from [172.20.10.2] (37.248.218.22) by AM5PR0601CA0075.eurprd06.prod.outlook.com (2603:10a6:206::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Tue, 9 Nov 2021 00:43:06 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c0295772-27f8-442c-1af3-08d9a319e86a X-MS-TrafficTypeDiagnostic: CH0PR10MB5273: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8tPilmumMsaMapdlIA/7MpDKfZNx82L0xPCaFgKdOrbJRaKGotNtR5+/+Nsam24Ds1jUPHd09UyfU2bBRMLFsCzQ3sCggc1tXKPxWOGy9Kw73j0e10mVuSaR4jhW2EPu6aQmBf5sbmt0Ns3x75wA8WeuuxaVW84po/CkUkLXiUjn91fjkns/e2AGNVFu6S19zU4zmxp/IsSjOn6yudK1NeZsSczZBe1ffRLOJecFjRxegcWRnnUtR8BFkQ7W19k8u2dNXlHtZcZaE/Ka4JOALFxhDJMYXgxX320dnir2Svt/T9IGz9XDELqDYtt2N8G7jsI9NBTCmAnfYqdK9/Q1HRxMkOhSgiRj0gmGk9P6BRwSmT8hQtGT9Vfdxr3I3qXDrj+Q2x0fU8Zpjqsc+drtKL3Xm81mqCHl96YCgyKUgCbBUZ38b5p0djbhoZz7O4ygtBtz+pQQHR9UGIxIOZBXr4HL8+EiP/g/6P7NFR7qgWAi8Wg59ssnjUCmpDyHghAjocpD6DxQ+PGesr6ZxFzw5Y9HZDrkB+sJIKPFPT7dpblPVNtZTsCxQErMxHKFlyen0nsA8pHBFqvs0Fs8+j7B2WusIyTsPIS8Gt75n845xTcCtJ8P6qWqeD+D/0ER2kn1r26aziYmMK4Q0/Uopf0mba4nq0thqhjlWvTTusSfxl8OvuPaxMLGHc91shC+cQK06bXJH7lhCX/mT3rxgYx5UYvF6BZ6O6a+WDbj1uq6BNw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR10MB4008.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(6666004)(83380400001)(8936002)(7416002)(508600001)(2906002)(316002)(7406005)(38100700002)(86362001)(186003)(53546011)(5660300002)(6916009)(31686004)(4326008)(956004)(31696002)(6486002)(66946007)(36756003)(54906003)(26005)(2616005)(66476007)(66556008)(16576012)(8676002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TDlMb2VaWkJOM1pwQXcxbGNJaW5iTmYrMVFKYi9YVElRRzFpbW5rNTRCL2Y0?= =?utf-8?B?VWhSK3IrbTJhYlVWcSs0ZXBCbFFPR1FISHlkVG9lNW9mV2lCVnVwQTQ5TG81?= =?utf-8?B?SUhqZm90TnNqTXBSOTdSYWxSQVhwaWxhZjJZOFkvN3g1MlpjaUdCeEc2VmJY?= =?utf-8?B?dThvMFlRTTFFK3F2cUE1VzRNa1dFRHgrQU9tcVl1SzBMd3lGW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OczVjM0c3bk1LTVdrTHdicG1PY1MrTXM3ZzFPamJTUC9P?= =?utf-8?B?SDZWSDlXYy92Ukc4Ukd6Nm1qM1RPRlcyV3BFdXRhaWIrWCtaQVNNdnRrQnlh?= =?utf-8?B?VWxSczVndzg4d050ZmdkemtNdXV1YWU2M2hoZG4vRStNOHBZNmZreUFCeUZh?= =?utf-8?B?dDE2aHhWRkRaWGxBOUJyMi9pUVhhenlCSG5xZmdLVVNNam5SRDdiWGNoeE82?= =?utf-8?B?VXdFNkoxTmVYbE5PMTBYaWZFSkZ3PT0=?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c0295772-27f8-442c-1af3-08d9a319e86a X-MS-Exchange-CrossTenant-AuthSource: CH2PR10MB4008.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2021 00:43:11.9902 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: GY3NyjCklfBPx0NLlG6jY0+3TymEHaJL4baSyDgVc6TSOA4lwxhgY6Z8dISlsgBJnc40psGOQQOcYjGupejYGsDCJjwd9GN6vSK4fcs4fHI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5273 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10162 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 spamscore=0 mlxscore=0 bulkscore=0 phishscore=0 suspectscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111090001 X-Proofpoint-GUID: o8MDst9-JhB_tcd3WQyku-EzuaRshyOO X-Proofpoint-ORIG-GUID: o8MDst9-JhB_tcd3WQyku-EzuaRshyOO Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04.11.2021 01:25, Sean Christopherson wrote: > This series is an iteration of Maciej's scalable memslots work. It > addresses most, but not all, of my feedback from v5, hence the "5.5" > moniker. Specifically, I did not touch the iteration over gfn and hva > ranges as I would likely do more harm than good, especially in the gfn > iterator. > > The core functionality of the series is unchanged from v5 (or at least, > it should be). Patches "Resolve memslot ID via a hash table" and "Keep > memslots in tree-based structures" are heavily reworked (the latter in > particular) to provide better continuity between patches and to avoid > the swap() logic when working with the "inactive" set of memslots. But > again, the changes are intended to be purely cosmetic. > > Paolo, ideally I'd like get to patch 03 (and therefore patch 02) into 5.16. > The patch technically breaks backwards compatibility with 32-bit KVM, but > I'm quite confident none of the existing 32-bit architectures can possibly > work. RISC-V is the one exception where it's not obvious that creating > more guest memslot pages than can fit in an unsigned long won't fall on its > face. Since RISC-V is new in 5.16, I'd like to get that change in before > RISC-V can gain any users doing bizarre things. > > s390 folks, please look closely at patch 11, "KVM: s390: Use "new" memslot > instead of userspace memory region". There's a subtle/weird functional > change in there that I can't imagine would negatively affect userspace, > but the end result is odd nonetheless. > > Claudio, I dropped your R-b from "KVM: Integrate gfn_to_memslot_approx() > into search_memslots()" because I changed the code enough to break the s390 > build at least once :-) > > Patches 01 and 02 are bug fixes. > > Patch 03 is fix of sorts to require that the total number of pages across > all memslots fit in an unsigned long. The existing 32-bit KVM > architectures don't correctly handle this case, and fixing those issues > would quite gross and a waste of time. > > Patches 04-18 are cleanups throughout common KVM and all architectures > to fix some warts in the memslot APIs that allow for a cleaner (IMO) > of the tree-based memslots code. They also prep for more improvements > that are realized in the final patch. > > Patches 19-28 are the core of Maciej's scalable memslots work. > > Patches 29-30 take advantage of the tree-based memslots to avoid creating > a dummy "new" memslot on the stack, which simplifies the MOVE case and > aligns it with the other three memslot update cases. Thanks for the updated series Sean - that's an impressive amount of cleanups for the existing KVM code. I've reviewed the non-arch-specific and x86-specific patches till patch 22 (inclusive). Further patches are more invasive and require a more through review - will try to do this in coming days. The arch-specific but non-x86-ones patches look OK to me, too, at the first glance but here it would be better if maintainers or reviewers from particular arch gave their acks. By the way, do you want your patches and my non-invasive patches (patches below number 23) merged without waiting for the rest of the series to be fully ready? This way there is less risk of conflicting changes to KVM being merged in meantime while we are still discussing the remaining patches. Or worse - changes that don't conflict but subtly break some assumptions that the code relies on. For this reason I am strongly for merging them independently from the more invasive parts. Thanks, Maciej