Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2927734ybh; Sat, 25 Jul 2020 06:01:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQiAexrSAwZSfAMnspk+JFKjDxQ6gWJ1y7MZNKksIYLzYFBVBvr8+srM9+XDqzGxN4/9Fu X-Received: by 2002:a17:906:434c:: with SMTP id z12mr12819908ejm.33.1595682092293; Sat, 25 Jul 2020 06:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595682092; cv=none; d=google.com; s=arc-20160816; b=wPnHdmeKzzYX5rFlYvARJOkvt2QidiJtd9VNMHXckAdtCAeevHcDdUT0QOY1LNtCqE 6WWO/jWMeobt50gAohGexOiPBWvoXW1n5fzFszk5jFoPXyrfk/plNRjXLX6oiEbyMNAG khi6cxkejphgCsN/UKftY/7DdMPKj9e5qLecEq/lGHrOLNzMWumajlcZ6vy0SXJI+Q+Q ChD1tLJfO6o8iTWgZUnk8rtrvPvHMfg7xu5TwGKHRhUmvUA4UQzVqlrVq1SHeFSymflz ZW3T/W/gJw36EUM6h5pqwzg8FfOcmysm4JwAl5EYEKHVeQpxN/Cm8bcQjODcL0rcYx28 tHYQ== 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:to:from; bh=jN0lsIDJYxP2ZERaOSXSrxqf8nvDRD5efOOzkjBXqig=; b=OuwFzlLrN8QzmjuwC3dcEPDmjheUA5PzrREKWbE14rvC+BGiVMyiblmARdWe/5+goZ +watrmxk/jmKA0bzJpjP/AXyVHFUZk6WIENpL/PEunkQKm1yFx5j7WogfpaYPcaDgBi8 HK3bPHVmY5bL7dFlDrqJDKN8lTFR5TahDpMe9zJQ5qk9PD7l5VwwGsohBQvWvZtBcYnf i0xzR0e82qdLYhhohzVJrdbt0lC/zlfR1m+Zl/495jyLr5S+HgHWyxMelc4Dt5+Tubky tiE/Q3sxA4J19kCTMANPZ1gIrL6jeDiA37kp9Zf4hETf2GVnKffAZn2znjkibk9fBKaz Gdvg== 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 b16si2258768ejc.500.2020.07.25.06.01.09; Sat, 25 Jul 2020 06:01:32 -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 S1727847AbgGYNAl (ORCPT + 99 others); Sat, 25 Jul 2020 09:00:41 -0400 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:37774 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727086AbgGYNAi (ORCPT ); Sat, 25 Jul 2020 09:00:38 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=19;SR=0;TI=SMTPD_---0U3l6fmD_1595682015; Received: from aliy8.localdomain(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0U3l6fmD_1595682015) by smtp.aliyun-inc.com(127.0.0.1); Sat, 25 Jul 2020 21:00:21 +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, kirill@shutemov.name, alexander.duyck@gmail.com, rong.a.chen@intel.com Subject: [PATCH v17 03/21] mm/compaction: correct the comments of compact_defer_shift Date: Sat, 25 Jul 2020 20:59:40 +0800 Message-Id: <1595681998-19193-4-git-send-email-alex.shi@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1595681998-19193-1-git-send-email-alex.shi@linux.alibaba.com> References: <1595681998-19193-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 f6f884970511..14c668b7e793 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -512,6 +512,7 @@ struct zone { * On compaction failure, 1<