Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp334260ybm; Thu, 28 May 2020 04:07:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTC1owsEfwrmGw7sQ24dwziz9oar1Qdz5Df/WKiyErNHCqWG2719Qhooraw0RSi7dLZE2g X-Received: by 2002:a17:906:616:: with SMTP id s22mr2379488ejb.382.1590664030685; Thu, 28 May 2020 04:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590664030; cv=none; d=google.com; s=arc-20160816; b=UfLCshW6c7aAuz0SSOVhJqNpMTDjHUIuIesWHxki5Kkh+uK1vnmzu+xmwMJaROVeNG 0GvNLVg99tNpxOCB9wHo9F1oIsdwu3Q/aOi1AWnmdRYoZqUnjTBzOGPqd56bLgoL/A+n MgeGOVPPNiaKnjrh/PSmFDvOh0pXBdRdoubfNlZZ9SRUYNM6QwUwCGewhU1WFn29OtKX 11jV1hzbEtX56uNv4abTYIqdzS2d5iQhs5QVgXJAbadKeRD5tvlWS68AuCdm4XBx9a9I KYXlWWRz97cYFTRAH0pLaR7lz4gHtu/9NxrXbegNWU9K/LF14LGkCHrzkAbUfIUZ1pDF KoZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=F7BFfv9KPIkJIowHPbyQQuey/9+6RgX3gRy8toMxOlc=; b=sUEj9QWRH9Ay3QK1X0/ZdKJcqu1++ZJHvjAxMzpN07VDVG0H7GIUW4d0aBxBX9Q3Ck GvJ26oqY32EDTVXkX3oPn7HpPBBY4DL9J0YSYEehdgMTJoUzVaPM34ygpnHpq4sO/WBo Dwl/1pPPbPOodv1EsfveJqCvUN2YCbyOjevIYqHkj6TLMycuWr03n/SPYRswEZsTa3Qb kwTCIpYivkc2QogNSaQnDQ5FC7xPchZb+y6YFsagvUNSSgXQr5Llg59sQEah1XPhD0/p ZRJmDUNTAa0rZBoVjDAJDzURv7673CIFNeoIUlQx41ldkRvdXDpbJ+2gLUBiuz7xMD/6 tv+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o25si3636259ejh.304.2020.05.28.04.06.47; Thu, 28 May 2020 04:07:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388192AbgE1LCD (ORCPT + 99 others); Thu, 28 May 2020 07:02:03 -0400 Received: from out30-42.freemail.mail.aliyun.com ([115.124.30.42]:46550 "EHLO out30-42.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388088AbgE1LB7 (ORCPT ); Thu, 28 May 2020 07:01:59 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01419;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=17;SR=0;TI=SMTPD_---0TztdQ9a_1590663685; Received: from localhost(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0TztdQ9a_1590663685) by smtp.aliyun-inc.com(127.0.0.1); Thu, 28 May 2020 19:01:25 +0800 From: Alex Shi To: akpm@linux-foundation.org, mgorman@techsingularity.net, tj@kernel.org, hughd@google.com, khlebnikov@yandex-team.ru, daniel.m.jordan@oracle.com, yang.shi@linux.alibaba.com, willy@infradead.org, hannes@cmpxchg.org, lkp@intel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, shakeelb@google.com, iamjoonsoo.kim@lge.com, richard.weiyang@gmail.com Cc: Alex Shi Subject: [PATCH v11 03/16] mm/compaction: correct the comments of compact_defer_shift Date: Thu, 28 May 2020 19:00:45 +0800 Message-Id: <1590663658-184131-4-git-send-email-alex.shi@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1590663658-184131-1-git-send-email-alex.shi@linux.alibaba.com> References: <1590663658-184131-1-git-send-email-alex.shi@linux.alibaba.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no compact_defer_limit. It should be compact_defer_shift in use. and add compact_order_failed explanation. Signed-off-by: Alex Shi Cc: Andrew Morton Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org --- include/linux/mmzone.h | 1 + mm/compaction.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index d8cad09d34ff..545b663678ed 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -510,6 +510,7 @@ struct zone { * On compaction failure, 1<