Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4473516imm; Fri, 18 May 2018 05:49:29 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoz9oegNjsKceuvr+zVTVu0QZeCz+IPUFpvcCPzclk5X/mwUt6BlZD2dkpSOxbZJv7iUOZC X-Received: by 2002:a17:902:3a5:: with SMTP id d34-v6mr9580895pld.103.1526647769285; Fri, 18 May 2018 05:49:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526647769; cv=none; d=google.com; s=arc-20160816; b=neIBpElqtJbxLG+0uHteJQ8Zxgiqri4SjAdtrk00VV4rrbdPL55X6fJ3702VyL1O0J mafmPm6omstubbhgksk3SgiJKiyD0mANWfFiLJJWov+0F69bDeDtZ1GLUA8B9hSmKlso r/yyy2AMreJGwdmpwlhiwXNpSALVxVZw5eSWO8sTXIURTJ7ccL8bAp2fYBybKwTXaPws NVTj0HU0n3z+lTnq7oSwQ4Dd3Msy0XGNy+4k6gWcDzjC2pY6tVrRUeLtZ0LOlr3HOSZ2 6wH8SuXDyl8ZzwlfO2obRfQ1316eceBOUcxTYu8NIGfA4EhT5AtgcvHys7ayJ3eFL36k qKvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=+xkdzZ6HnjwXasJ5UgwHTlqr9Beemr5NWG1ZgRe+hw4=; b=VQAQDdUZsuTPjfBfNSbTX/ze1q2Ubyup3GWLwqiKAJyT8r0LxIhQA/vTBOThb5LIQK 2N4/iqVk7ldltzvDK5aBlaNlUHFYr0S1OTJsgZyomU8tcjdja2WrHn6mqAO58KfHNSeD ERIsyfvwavzmysxCnLNEarYZxzGJgVit2HuxdTBLW8iFBdmc9QX+uUxCnY8jRY402ro7 j8dFxBKHQgMM7Ozbj12M+FEWQDKuWs37mfv3udmwYjSe9e5XMoziFbn7VsOxphe8bch2 SMieq2mUyUyjP5nSXtdPsJRStKqtTo6gAVL2izUeOpwJZcvfj0rDDrakGyDZO+AiVbXL 2OEg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v10-v6si7833376plz.190.2018.05.18.05.49.15; Fri, 18 May 2018 05:49:29 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752014AbeERMr6 (ORCPT + 99 others); Fri, 18 May 2018 08:47:58 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:57594 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751112AbeERMrz (ORCPT ); Fri, 18 May 2018 08:47:55 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7F11181FE15F; Fri, 18 May 2018 12:47:54 +0000 (UTC) Received: from redhat.com (ovpn-125-92.rdu2.redhat.com [10.10.125.92]) by smtp.corp.redhat.com (Postfix) with SMTP id C3EDA83B99; Fri, 18 May 2018 12:47:53 +0000 (UTC) Date: Fri, 18 May 2018 15:47:53 +0300 From: "Michael S. Tsirkin" To: Paolo Bonzini Cc: Eduardo Habkost , linux-kernel@vger.kernel.org, Radim =?utf-8?B?S3LEjW3DocWZ?= , Jonathan Corbet , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, kvm@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH] kvm: rename HINTS_DEDICATED to KVM_HINTS_REALTIME Message-ID: <20180518154721-mutt-send-email-mst@kernel.org> References: <1526568841-35372-1-git-send-email-mst@redhat.com> <20180517184658.GA1543@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Fri, 18 May 2018 12:47:54 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Fri, 18 May 2018 12:47:54 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mst@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 18, 2018 at 11:41:23AM +0200, Paolo Bonzini wrote: > On 17/05/2018 20:46, Eduardo Habkost wrote: > > My understanding of the original patch is that the intention is > > to tell the guest that it is very unlikely to be preempted, so it > > can choose a more appropriate spinlock implementation. This > > description implies that the guest will never be preempted, which > > is much stronger guarantee. > > > > Isn't this new description incompatible with existing usage of > > the hint, which might include people who just use vCPU pinning > > but no mlock? > > If you use hugetlbfs and vhost-user you don't really need mlock for the > QEMU process, do you? The QEMU process is not doing much in that case > and hugetlbfs gives you pinned memory automatically. > > Paolo Same with PCI device passthrough: VFIO pins all guest memory right now. -- MST