From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80B39C433E0 for ; Wed, 27 May 2020 17:45:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 51F622089D for ; Wed, 27 May 2020 17:45:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pne5D/GR"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="eQs+PA1s" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 51F622089D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=59I3p7bz5+tHhR+jVzax/QE9l19mfxA7wxVABtNVV/0=; b=pne5D/GRiS4JjL FZXWc1SE7YdrwtAJl6ppec6yxD8a2u1kpdfWOlGQjHFY13WYM3CL2y9lXwBE94m8pvlNPAud8FQfa l9Ucg5S3lJvneEc9m/AHQbi8RPA799hc6nu1AZum1OE3bZF+50Uj2jIEAtMPxliAdSaIaVxZ2iUnA LTOjhYBAGZf9Cyr9+uDNo1YJE6m+eYlie/ONB6vcQRP2bcNxLAWedluJ0+bboWmPA/lwRszUFaPjk DIz3JRFC89e+SweSI+wwRQvQJI7VQglsZecMVqow+zEngzbINg92KQwypGXAbHjxhXqrW776PlgL9 jJNCt+RX6Gtd1edQLY5Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1je07c-00016Q-Tl; Wed, 27 May 2020 17:45:44 +0000 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120] helo=us-smtp-1.mimecast.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jdyde-0007z3-ON for linux-arm-kernel@lists.infradead.org; Wed, 27 May 2020 16:10:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590595841; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gpS5WDJIgyjBNnbz57joD1fkY56BnMjV/cB+edX+sFA=; b=eQs+PA1sqjIJqZrzF7zY/oP0eQTeCVfvHSdKoK3R+2x6cWZ5h2ln/xw4mfT+3HIfTHbG55 cBibQpxczWkQN4QjWBWx9roUCc1L5Ur7tWYoo0YkfVl5PHqUbBNTS2ilNyXSSb/lHNOtYf 03I4mCKwss19oj1Ix5Jz3OBlabqTYE0= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-426-2gSHZvOGPXCykF4Buh0ybQ-1; Wed, 27 May 2020 12:10:39 -0400 X-MC-Unique: 2gSHZvOGPXCykF4Buh0ybQ-1 Received: by mail-wm1-f71.google.com with SMTP id q7so542695wmj.9 for ; Wed, 27 May 2020 09:10:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gpS5WDJIgyjBNnbz57joD1fkY56BnMjV/cB+edX+sFA=; b=G00wm5tKbQolotTwINAzaLB4Hb1svZKuhxwEt8qpklKOXlAuHPhq22ZFIYquaLVksl tO/f1CPR98ne3Q9RZJHCYJAwEFvOoJYKVeiOpZGMbQOnuEk2MOAa9w6oGPI6DdYH9+EW Oz9C7Zl9rf57ocwpEh6F+4tPJJLSUmuR/oB6or0dZ/HE4ykm/JST5iu4WQ6q+pHArkCo f0nJU85RTFxwlbLg3UP0qfPNn5NIq0IiZwy01PSXTmwSdBMBmLEMPHY3dw8LpDe+dsxK gvbc/04JA6vfF+ybq/tMMfzTbdfcyN3P/4Q8ATMo1CGdwquXHouIxcgFADFVC1mqrycZ N0iw== X-Gm-Message-State: AOAM530n/Iwa9fXVwGA/nrJqvXEhHVS5j3wlZTD4IEPVednyqKp70BWp H9gTK+jwcS0yY3qldiovs4E3kyRqeJw0sfdjHhwbCgF2LF8236bHXI1t4nq2vZwGsM4D8M+qYTg 9tE4Du4SaOkvHUyMm0xpfYpSU3eUV1a63KNY= X-Received: by 2002:a7b:cf06:: with SMTP id l6mr4939090wmg.63.1590595838098; Wed, 27 May 2020 09:10:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwv2WOvp+dGE5Bd+63NHTAUmNpXjYKI6PXzKuriRFk4SIKF8scu4bdTkpQ8+eWY4jLf6e98w== X-Received: by 2002:a7b:cf06:: with SMTP id l6mr4939064wmg.63.1590595837858; Wed, 27 May 2020 09:10:37 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:3c1c:ffba:c624:29b8? ([2001:b07:6468:f312:3c1c:ffba:c624:29b8]) by smtp.gmail.com with ESMTPSA id a10sm3149808wmf.46.2020.05.27.09.10.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 May 2020 09:10:37 -0700 (PDT) Subject: Re: [PATCH RFCv2 0/9] kvm/arm64: Support Async Page Fault To: Marc Zyngier , Gavin Shan References: <20200508032919.52147-1-gshan@redhat.com> <20200526130927.GH1363@C02TD0UTHF1T.local> <987785b2-2533-c3d8-8f6a-4193aa82d502@redhat.com> From: Paolo Bonzini Message-ID: Date: Wed, 27 May 2020 18:10:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200527_091042_887597_46439EFB X-CRM114-Status: GOOD ( 11.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , aarcange@redhat.com, drjones@redhat.com, suzuki.poulose@arm.com, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, eric.auger@redhat.com, james.morse@arm.com, shan.gavin@gmail.com, will@kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 27/05/20 09:48, Marc Zyngier wrote: > > My own question is whether this even makes any sense 10 years later. > The HW has massively changed, and this adds a whole lot of complexity > to both the hypervisor and the guest. It still makes sense, but indeed it's for different reasons. One example is host page cache sharing, where (parts of) the host page cache are visible to the guest. In this context, async page faults are used for any kind of host page faults, not just paging out memory due to overcommit. But I agree that it is very very important to design the exception model first, as we're witnessing in x86 land the problems with a poor design. Nothing major, but just pain all around. Paolo > It also plays very ugly games > with the exception model, which doesn't give me the warm fuzzy feeling > that it's going to be great. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel