From patchwork Sat May 21 11:44:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Gelmini X-Patchwork-Id: 9130353 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A0C3960762 for ; Sat, 21 May 2016 11:44:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9163D27B89 for ; Sat, 21 May 2016 11:44:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 84E5228114; Sat, 21 May 2016 11:44:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40AB227B89 for ; Sat, 21 May 2016 11:44:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751932AbcEULov (ORCPT ); Sat, 21 May 2016 07:44:51 -0400 Received: from mail-lb0-f195.google.com ([209.85.217.195]:36145 "EHLO mail-lb0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751215AbcEULou (ORCPT ); Sat, 21 May 2016 07:44:50 -0400 Received: by mail-lb0-f195.google.com with SMTP id r5so6864140lbj.3; Sat, 21 May 2016 04:44:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=EtGY/5muSJJ3J7aHqYIuM7omiUAzF/2izKHF7rwa3b8=; b=R/VmbhMF6t4D9rFLK5VXh49GTk7Xm0gEFJHwpd4HeQM2LrzHyD2WpKWBGbfpZ59ued iKOpa+Q1GLy0Foku2dmOx6uF2SaABP9/VCrEJTo/CJB4L3nroRzDyX8sTmR2GhaIomKj YfMNgXWHJpXB9KijyF/29DHdyy664q8SuPnvT+yJTCb3n/4L72GKNIsVkmqPvDq0KL3O QCnm8PvmLyC+J7L5riTjUrl+6q1f+i+nJWKGiiwbDV9/+jUj2Gvl2/JHYYxipCMkKXVi adqQ6N2z4z5uxm3KVngo0KHmf0GcoIX6tISsDeIsUFIB2uMaRrYvhs9VBShQKrq9n8LW brIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=EtGY/5muSJJ3J7aHqYIuM7omiUAzF/2izKHF7rwa3b8=; b=AO9XytmbPUg0JMnzh49Vg2fOnqaoqDk6Ban6/+q6F2aiOzsFF+p1SWIlIfL0HKtlZw g/47xNUXiptyXtqntR2qchkI0pe1o+s7e/js8vB+8kXVTu6FTuorZk1gpC1UbewdXprx qNjzYrdoUbtqR9uSgqUAU0PTCkH0pIS/peii+aEFOK8LLgJNjS6m2iHK8PcLkRrxJogh r9jdtcX5DYNKb2X9YVw4Fw+iMrKXqqE+xRrPKakl5O1a6Gngld9QJSRqjZizGl2kwfwe 1ENd+RTsNXph70Kk6r4a9PJ3MbnxkgLDx8rRgC6G4sNihPMZdez+I5Ahp1E+LjDpY3Hc K9eQ== X-Gm-Message-State: AOPr4FV1izlM3yt1gJuI1lWVumhewpbBFJWmv44aP1ZeiExrS5IiNcpMtsD2QjMGQTezGA== X-Received: by 10.112.133.166 with SMTP id pd6mr2721027lbb.125.1463831088686; Sat, 21 May 2016 04:44:48 -0700 (PDT) Received: from glen.ipredator.se (anon-35-25.vpn.ipredator.se. [46.246.35.25]) by smtp.gmail.com with ESMTPSA id qi4sm3919518lbb.9.2016.05.21.04.44.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 21 May 2016 04:44:47 -0700 (PDT) From: Andrea Gelmini To: andrea.gelmini@gelma.net Cc: trivial@kernel.org, pbonzini@redhat.com, rkrcmar@redhat.com, corbet@lwn.net, kvm@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH 0059/1529] Fix typo Date: Sat, 21 May 2016 13:44:43 +0200 Message-Id: <20160521114443.2110-1-andrea.gelmini@gelma.net> X-Mailer: git-send-email 2.8.2.534.g1f66975 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Andrea Gelmini --- Documentation/virtual/kvm/locking.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/virtual/kvm/locking.txt b/Documentation/virtual/kvm/locking.txt index 19f94a6..f2491a8 100644 --- a/Documentation/virtual/kvm/locking.txt +++ b/Documentation/virtual/kvm/locking.txt @@ -89,7 +89,7 @@ In mmu_spte_clear_track_bits(): old_spte = *spte; /* 'if' condition is satisfied. */ - if (old_spte.Accssed == 1 && + if (old_spte.Accessed == 1 && old_spte.W == 0) spte = 0ull; on fast page fault path: @@ -102,7 +102,7 @@ In mmu_spte_clear_track_bits(): old_spte = xchg(spte, 0ull) - if (old_spte.Accssed == 1) + if (old_spte.Accessed == 1) kvm_set_pfn_accessed(spte.pfn); if (old_spte.Dirty == 1) kvm_set_pfn_dirty(spte.pfn);