Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1064840ybg; Wed, 10 Jun 2020 23:19:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHepAfjFMipLvTUUK9cdUqgzLoA7KFGExoBQeNHUezs/4ugZ21s3cc3qmweLuZtvUdUGjT X-Received: by 2002:aa7:cd6c:: with SMTP id ca12mr5711958edb.36.1591856368755; Wed, 10 Jun 2020 23:19:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591856368; cv=none; d=google.com; s=arc-20160816; b=bxD6A/3Jt2CW6POjrLS1hxt7WI7nxBI8kvoJYE/2HLy3Z3yMJaNetwplZfPctjMFUU 0mZ860IOH3Bm2wtnA/noHbiRQh+Mir8d1m3WxSDXA8BcGfhaPcB40WQov+0WRef4Q6J+ tmB+wtF1HnKZTK3fqMvq4hiCQRZUVtUBzwmanaYiXPlfNpL6ww2CaKd9E6VNjMlGio4F yNKQgKd/pKJPwXEkdyYX8WF5TKu2w7HWCyyLAvt01urJRXcCnewdZvWpgqkvVUNYOB8n zgalMN/VMKQUsetHOACUoVpPcXBbnO1CdzA7lB9q7VDo3XH5VQsPUWZVGksj5bsfD7RE B33A== 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=lI2FEqWLkQw6ZKeHo3aNaocSiCGo8S6HcON7hra+7P4=; b=wc54ooZTorwRlMBfvwaV5Wgjpy41/RQiv1AnYwVnrjxhuuGHx/VS9J6NrBfRuDuj9D zr8E0tVh9Ds0ccGZ/dAJQJZV8z6TByDPusToLbl1XjuIsIqYzxxPx1GL8zpZYnbwKkW4 brTo4/d5jkTSy0Gif+jtnDAy3NFPpPEkzaAVmT9UnNAAKMuzsK7jdWzR4Ju0bg3rzW7E RuWUh7L1RIdwN4/QvPcVY4/yKfoQO6He2dsxFuiY/siIKg92/R6a5CJOd5KIIqiQEIwx hpybvwYWOreo+Mt8RAd4FAsjXA1iDuc4xrm5eLshgEkeKQvh3CWvm3MY+WQeKuqRx7gx aEKQ== 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 li7si1343215ejb.607.2020.06.10.23.19.06; Wed, 10 Jun 2020 23:19:28 -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 S1726663AbgFKGRN (ORCPT + 99 others); Thu, 11 Jun 2020 02:17:13 -0400 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]:32795 "EHLO out30-130.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726462AbgFKGRK (ORCPT ); Thu, 11 Jun 2020 02:17:10 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R851e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01422;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=16;SR=0;TI=SMTPD_---0U.EnD9o_1591856225; Received: from localhost(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0U.EnD9o_1591856225) by smtp.aliyun-inc.com(127.0.0.1); Thu, 11 Jun 2020 14:17:06 +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 Subject: [PATCH v12 03/16] mm/compaction: correct the comments of compact_defer_shift Date: Thu, 11 Jun 2020 14:16:36 +0800 Message-Id: <1591856209-166869-4-git-send-email-alex.shi@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1591856209-166869-1-git-send-email-alex.shi@linux.alibaba.com> References: <1591856209-166869-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 df1f08486d81..7ae464188588 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -512,6 +512,7 @@ struct zone { * On compaction failure, 1<