Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10737654ybi; Thu, 11 Jul 2019 10:06:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2Bdo/YsdqLoHQBrRkk59ByLjKtxf6voG8jm5e9GARiWtTk5cJlcLpKGqlOqVt6foNZ+DY X-Received: by 2002:a63:211c:: with SMTP id h28mr5490317pgh.438.1562864807986; Thu, 11 Jul 2019 10:06:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562864807; cv=none; d=google.com; s=arc-20160816; b=Y8P7vQV4PgzkPY+9+3ZoHGCcTXwekhpYU4SjwQi+FHlGfwNjMHILyk3zthoXLHT/fy v/0dcOnO3ldaHRSAKXqqY9ag9D1oPEuPKE00xQQSgADKFdwT3hh4o5zSch3SOuDSURvd wQu0f3AZ5JqckufbQZjpK/2+YUNSpXcCFH5tpdfqocz5PdXZWn44sCEvg0xoYxvY1B+F KdgS7GvvL9KC2xnG8b8kFerzsDjmyD8o68yaZZERyBPqvWzI7Z9ZvHiT+/CwGtTlqdex xGj+AGTGPy5+QspuYJ3rkLN7PBLGV44pgX66kthichnCjJVqw0PCvi5hNdP+C5nVNtrY xo+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=HKtFz5m3SJUoyJfannzFhRIi22aRe40IcnDLShyAIms=; b=0apEHm+1PG1McRUj3BZQRZHmlfByool1WzqxfP0slN2bI7NQFXva8mbN+mFD6EhMSP mNTJmNQZlxwBaWNsFtbZLpGnuGNGM/ECkclaFYXEnIyIMf2uydgbcsbVRs1GZ9Cj/qQ3 VHdy7BvPO8pJ9DtupdR4Juo66XvF/Tz0A4cLHGuptKEmpDTjWnx6LjlatqhUYcGvYeJz fw4h9QxK1AnS5co5JvKXHvZ2+t7spbGn0K5XLrJUCsqNVVE99fvdhlxPorqZCkyj7yt1 d9OKe98EYklL1UEya31Hyjq/sVLBidcVg0wKwuMUaucLM0LpVm1m/BVyy5OImokk/FaL m7oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="Xq/mB+cl"; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i23si5614995pgh.26.2019.07.11.10.06.32; Thu, 11 Jul 2019 10:06:47 -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; dkim=pass header.i=@google.com header.s=20161025 header.b="Xq/mB+cl"; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728776AbfGKREt (ORCPT + 99 others); Thu, 11 Jul 2019 13:04:49 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:42184 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728753AbfGKREt (ORCPT ); Thu, 11 Jul 2019 13:04:49 -0400 Received: by mail-ed1-f65.google.com with SMTP id v15so6511832eds.9 for ; Thu, 11 Jul 2019 10:04:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HKtFz5m3SJUoyJfannzFhRIi22aRe40IcnDLShyAIms=; b=Xq/mB+cljDpLj6RZErA+YWYh1tWZ0TFRNucp2cHzuiS2f1eND6fu+H2y045styTbIQ fEoozXGqxKJKa5WX2kcEOXu2M3EP4FduHJAFh1I93u6CxwVCJEAi12pZVflzW6KTLwRj Qs8x8zvsQxqW0il6sR9EBgUvAlY1JJhQbbs2nvH/PWwbFTRfrVR1iJklMeQFGu467CMm /mDjhB25cexBd5RbE23MesURCjRRpLf/czUryrZqZB7b4ndKDkRu4vgvvWsb9mCANWRJ usWAwGxjpqz3fzvuckYa/HDH/8A4RLcgCS4Mk1ZjSHFtw/GyicdVAs9HklwJOM6O/5RK jIdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HKtFz5m3SJUoyJfannzFhRIi22aRe40IcnDLShyAIms=; b=Hrkui+TdUX9hpuzBNzUAfRUHjh7/GVsbCcW9bNEo3HMWcXFB1M4w73BXaq6SwG1y99 5GAB4mtya7cCaK9YDZENX5pHOURFk8l2Twq+SoS0bcN9dk5cpIb0vdz/Hxad1hAAAYpa I2g2zdE+HTprreaNIWcABJ19ldXty56pWP6/8ap46QGxg3dU1O4nSegZuySkoTJ88YN6 kP69ESx/rS3dvfp17JzGMNTGQQlcJyBfeWifvBcpm0eOPkkQJ58QMV62ztGku3tSlFHf OLhAwH5+YCBb10MdAGUu+j2PqHGXVJmeyTWvPFfR9TvlxdEBQWLakR9fdujxkProeaMw zjRA== X-Gm-Message-State: APjAAAVGOizxlQPbwM66AG+g3uXvIEaGxtdJiAuv5+wRFW6Mp0TOUEvG hhXq/ejWcmUjh5ltLJhK6hsjV8Gq5TsNNqkzofPv1A== X-Received: by 2002:a50:a511:: with SMTP id y17mr4619439edb.259.1562864687272; Thu, 11 Jul 2019 10:04:47 -0700 (PDT) MIME-Version: 1.0 References: <21fd772c-2267-2122-c878-f80185d8ca86@redhat.com> In-Reply-To: <21fd772c-2267-2122-c878-f80185d8ca86@redhat.com> From: Eric Hankland Date: Thu, 11 Jul 2019 10:04:36 -0700 Message-ID: Subject: Re: [PATCH v2] KVM: x86: PMU Event Filter To: Paolo Bonzini Cc: Wei Wang , rkrcmar@redhat.com, linux-kernel@vger.kernel.org, Stephane Eranian , kvm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for your help. The "type"->"action" change and constant renaming sound good to me. On Thu, Jul 11, 2019 at 4:58 AM Paolo Bonzini wrote: > > On 11/07/19 03:25, Eric Hankland wrote: > > - Add a VM ioctl that can control which events the guest can monitor. > > ... and finally: > > - the patch whitespace is damaged > > - the filter is leaked when the VM is destroyed > > - kmalloc(GFP_KERNEL_ACCOUNT) is preferrable to vmalloc because it > accounts memory to the VM correctly. > > Since this is your first submission, I have fixed up everything. > > Paolo