From patchwork Tue Mar 19 23:21:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 160619 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp129115jad; Tue, 19 Mar 2019 16:22:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDZtWC9seYLvQ8V/HsFBjVHmvnKFnvDHNJ3OCTILf5GLDVUPuDKqOVWxgsJtxVu5ka+coU X-Received: by 2002:a0d:d246:: with SMTP id u67mr4370128ywd.162.1553037778401; Tue, 19 Mar 2019 16:22:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553037778; cv=none; d=google.com; s=arc-20160816; b=edky3B73Lu3FaJaWvcDNVlVTjZvPJsLmC3BRGwym9stmc7PAgnh0/dARG2J1WKtwXA zb17YrNEmiCsAk293CG21P/dengRcOwVJB+dM4wXASiQoEHUmOA90s7BkbX5/hC0Lux2 W7EYvJcdTAgoP/Fd1rHolQ7cYglpk2U+IL2I/JVvO8GSEVb9kg3O4JDp2pobM8z+220m zyHCylRnuBTQuL1LOxaPwwl82QUL6Te5aLwFBkJv+uzypNeBtGuebr3/Sg55vlVPabQw spz61f5QyhhO1LinxgT0Yy1eQoDKnNwKS/TQCxNWxi4BG4LK0P02vG28+YVThotXkWzt CWmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:message-id:date:to:from; bh=RDiNolgOMAH/xBj4GTXhfgV5bgy5TpbMUURoto++Pbc=; b=nA2knNB3TbSa6syI8DNGipdB+bUuWh2W7OTEYCZBYbFzknWIKr7CAiH64G9YkZW44m t371f/+0mZ+fJGWKtfwib2Ap6wfCVjX0y9kEb2XkIH2ruWg0YKqs4conbOW51dHSLddv FoFXOnfHrajuhdpqw6/8ZdXUc3RzzpS2G5RYd23eP27Qvza4e7bzqWbTJBT6xXJYdBhi b4YYuDyTUInIuYuX/gubs9WfLt/JsF7cVhaEZEGx0hEYqMoHWIzd14w1CC0hdTWi6vIR N9u2LCz4lzx1FCKe3h8VYXAqo05AZmKYhVfrxQa9w/Eysszqr4VhMf8DpyD5dAbeBunT svmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id j200si198997ywb.106.2019.03.19.16.22.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Mar 2019 16:22:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1h6O39-0001OW-5o; Tue, 19 Mar 2019 23:21:39 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1h6O37-0001OC-Lo for xen-devel@lists.xenproject.org; Tue, 19 Mar 2019 23:21:37 +0000 X-Inumbo-ID: bd8b745b-4a9d-11e9-bc90-bc764e045a96 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTP id bd8b745b-4a9d-11e9-bc90-bc764e045a96; Tue, 19 Mar 2019 23:21:36 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 15C451596; Tue, 19 Mar 2019 16:21:36 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CD8D83F575; Tue, 19 Mar 2019 16:21:34 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Tue, 19 Mar 2019 23:21:29 +0000 Message-Id: <20190319232130.24172-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 Subject: [Xen-devel] [PATCH] x86/mm: Fix typo in comment on top of page_lock X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Andrew Cooper , Julien Grall , Wei Liu , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Signed-off-by: Julien Grall Acked-by: Jan Beulich --- xen/arch/x86/mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c index dbec130da0..94b82e8e5e 100644 --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -2003,7 +2003,7 @@ static int free_l4_table(struct page_info *page) * 2. We never call _put_page_type() on a page while holding its page lock. * * Add a check to debug builds to catch any violations of these - * assumpitons. + * assumptions. * * NB that if we find valid, safe reasons to hold two page locks at * once, these checks will need to be adjusted.