Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DEE3C6FD1C for ; Mon, 20 Mar 2023 19:18:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230248AbjCTTSJ (ORCPT ); Mon, 20 Mar 2023 15:18:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbjCTTRQ (ORCPT ); Mon, 20 Mar 2023 15:17:16 -0400 Received: from mail-pf1-x449.google.com (mail-pf1-x449.google.com [IPv6:2607:f8b0:4864:20::449]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FAB5497D0 for ; Mon, 20 Mar 2023 12:09:21 -0700 (PDT) Received: by mail-pf1-x449.google.com with SMTP id p36-20020a056a000a2400b005f72df7d97bso6687749pfh.19 for ; Mon, 20 Mar 2023 12:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679339360; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=HUPvCK3ymy0+cnyobGRdsYJBcqoJwtjACAhIOqCIVHU=; b=SDv4oGqnSHYEYEtm5hQgLXiorBu/02OCRZuU/AaNAm3ry0Z6K85YGDlNwDyVSgt7V2 kch1+bYJQLOHK7easWhw8xQqaY9jciwLQdU5k1sy0qPfuJS6rn9dWcR6N+C0RynY7gjD WmMJDCj8hXNzkzSYbq9B1sMH92GfoLkwHZVs2qqzcK5mrIr3F0z8g6IgDAWj7TRSnXRb wYEw70Rd5KrlPpnUqn2DeWJ4ycQysKFZmTGKkPuQHEUupC4nrc2mcSuxIljZtFS5F7Ws C48ynkDgi2qfL0U3x2h+k/Z7Zsj8fIu5SkjMS/0qpdJrAvh71fOgStI0YSdqoUuENV0n eJ9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679339360; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HUPvCK3ymy0+cnyobGRdsYJBcqoJwtjACAhIOqCIVHU=; b=lDLacsUqxBe/gKGaiwRxolyGDFCdSDZ/UUnIi/UNcsp3a8IMODbzKY1cRdS5o7tYvS RIQWnmqy5InZOXuONJX1bUoY56g/f+qTbGilRvrSt/rhxKUyCLo8/n2BkrPuQO4H/jvZ o7WqTlXKV5Zv5pINGqHX6YzQo0FvEoB1r5fhFrp9cXwoisnTLDDYdNxHf/pQeDRDQvtX WItqeABf3KLUUxH06rOLCAc3qaZBmpjq/C3nBNZrYRDyFXcPOlGOfFA/gZa2vN2uJmRC uqm12tdg/SrRiVg9zqlb60MeF5/1Yg2DGYfaDP1C9IZI+x9K/xYF/fAsS1kp1ie1O6QB 7PaQ== X-Gm-Message-State: AO0yUKWY5FbWn6ooa19bianPtwI9qmdIdhLfCLa8qPXVFW8bLiZkbfel L2txhFvRfy8ww1v2KmjZmS7Ua/f1nMQ= X-Google-Smtp-Source: AK7set/AxeSv8Y4jLii27wD+Ebg5sYFCgiwV3KArRehi+kLLw6P9E/Gh3Qez3ZQdbqZXFjXvezfamCQSi/k= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:903:41cc:b0:1a0:440e:ecf9 with SMTP id u12-20020a17090341cc00b001a0440eecf9mr7752314ple.5.1679339359650; Mon, 20 Mar 2023 12:09:19 -0700 (PDT) Date: Mon, 20 Mar 2023 12:09:18 -0700 In-Reply-To: <20230202182809.1929122-1-bgardon@google.com> Mime-Version: 1.0 References: <20230202182809.1929122-1-bgardon@google.com> Message-ID: Subject: Re: [PATCH 00/21] KVM: x86/MMU: Formalize the Shadow MMU From: Sean Christopherson To: Ben Gardon Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Paolo Bonzini , Peter Xu , David Matlack , Vipin Sharma , Ricardo Koller Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 02, 2023, Ben Gardon wrote: > Patches 4-6 prepare for the refactor by adding files and exporting > functions. For future reference, please do not conflate "export" with "make globally visible" (here and in many of the changelogs). The distinction matters, especially for modules, as an exported symbol is quite different than a globally visible symbol. We (sadly) lose sight of this in KVM far too often due kvm.ko exporting an asburd number of symbols for kvm-{amd,intel}.ko, and as a result we've ended up with non-KVM code using helpers that realy should be KVM-only. This is something I hope to remedy in the near-ish future, and so I want us to start getting the terminology right.