Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754790AbbK0PED (ORCPT ); Fri, 27 Nov 2015 10:04:03 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:38572 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753993AbbK0PEB convert rfc822-to-8bit (ORCPT ); Fri, 27 Nov 2015 10:04:01 -0500 From: Michal Nazarewicz To: Yaowei Bai , akpm@linux-foundation.org Cc: vbabka@suse.cz, iamjoonsoo.kim@lge.com, riel@redhat.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/compaction: improve comment for compact_memory tunable knob handler In-Reply-To: <1448442448-3268-1-git-send-email-baiyaowei@cmss.chinamobile.com> Organization: http://mina86.com/ References: <1448442448-3268-1-git-send-email-baiyaowei@cmss.chinamobile.com> User-Agent: Notmuch/0.19+53~g2e63a09 (http://notmuchmail.org) Emacs/25.1.50.1 (x86_64-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWbfGlUPDDHgE57V0jUupKjgIObY0PLrom9mH4dFRK4gmjPs41MxjOgAAACP0lEQVQ4T23Sv2vbQBQHcBk1xE6WyALX107VUEgmn6+ouUwpEQQ6uRjttkWP4CkBg2M0BQLBdPFZYPsyFYo7qEtKDQ7on+t7+nF2Ux8ahD587717OmNYrOvycHsZ+o2r051wHTHysAvGb8ygvgu4QWT0sCmkgZCIEnlV2X8BtyraazFGDuxhmKSQJMlwHQ7v5MHSNxmz78rfElwAa3ieVD9e+hBhjaPDDG6NgFo2f4wBMNIo5YmRtF0RyDgFjJjlMIWbnuM4x9MMfABGTlN4qgIQB4A1DEyA1BHWtfeWNUMwiVJKoqh97KrkOO+qzgluVYLvFCUKAX73nONeBr7BGMdM6Sg0kuep03VywLaIzRiVr+GAzKlpQIsAFnWAG2e6DT5WmWDiudZMIc6hYrMOmeMQK9WX0B+/RfjzL9DI7Y9/Iayn29Ci0r2i4f9gMimMSZLCDMalgQGU5hnUtqAN0OGvEmO1Wnl0C0wWSCEHnuHBqmygxdxA8oWXwbipoc1EoNR9DqOpBpOJrnr0criQab9ZT4LL+wI+K7GBQH30CrhUruilgP9DRTrhVWZCiAyILP+wiuLeCKGTD6r/nc8LOJcAwR6IBTUs+7CASw3QFZ0MdA2PI3zNziH4ZKVhXCRMBjeZ1DWMekKwDCASwExy+NQ86TaykaDAFHO4aP48y4fIcDM5yOG8GcTLbOyp8A8azjJI93JFd1EA6yN8sSxMQJWoABqniRZVykYgRXErzrdqExAoUrRb0xfRp8p2A/4XmfilTtkDZ4cAAAAASUVORK5CYII= X-Face: -TR8(rDTHy/(xl?SfWd1|3:TTgDIatE^t'vop%*gVg[kn$t{EpK(P"VQ=~T2#ysNmJKN$"yTRLB4YQs$4{[.]Fc1)*O]3+XO^oXM>Q#b^ix,O)Zbn)q[y06$`e3?C)`CwR9y5riE=fv^X@x$y?D:XO6L&x4f-}}I4=VRNwiA^t1-ZrVK^07.Pi/57c_du'& X-PGP: 50751FF4 X-PGP-FP: AC1F 5F5C D418 88F8 CC84 5858 2060 4012 5075 1FF4 X-Hashcash: 1:20:151127:baiyaowei@cmss.chinamobile.com::ywKMgDUfA32d9XYw:00000000000000000000000000000000uY5 X-Hashcash: 1:20:151127:vbabka@suse.cz::/dCYsaqfHm/dwCG1:0001w0u X-Hashcash: 1:20:151127:linux-mm@kvack.org::wuK9gPlVEyrIU2HV:00000000000000000000000000000000000000000002rmc X-Hashcash: 1:20:151127:linux-kernel@vger.kernel.org::vynC4kMvo5m2IpJl:0000000000000000000000000000000006NDg X-Hashcash: 1:20:151127:iamjoonsoo.kim@lge.com::nkj9aNRjtFrB2gQ4:0000000000000000000000000000000000000007S1v X-Hashcash: 1:20:151127:akpm@linux-foundation.org::J90JG43PeG6BO279:0000000000000000000000000000000000006cT4 X-Hashcash: 1:20:151127:riel@redhat.com::3b23wc9WWMy2RSIg:00C1nX Date: Fri, 27 Nov 2015 16:03:57 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1631 Lines: 49 On Wed, Nov 25 2015, Yaowei Bai wrote: > Sysctl_compaction_handler() is the handler function for compact_memory > tunable knob under /proc/sys/vm, add the missing knob name to make this > more accurate in comment. > > No functional change. > > Signed-off-by: Yaowei Bai Since I'm explicitly on CC, I might just as well: Acked-by: Michal Nazarewicz > --- > mm/compaction.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/mm/compaction.c b/mm/compaction.c > index de3e1e7..ac6c694 100644 > --- a/mm/compaction.c > +++ b/mm/compaction.c > @@ -1708,7 +1708,10 @@ static void compact_nodes(void) > /* The written value is actually unused, all memory is compacted */ > int sysctl_compact_memory; > > -/* This is the entry point for compacting all nodes via /proc/sys/vm */ > +/* > + * This is the entry point for compacting all nodes via > + * /proc/sys/vm/compact_memory > + */ > int sysctl_compaction_handler(struct ctl_table *table, int write, > void __user *buffer, size_t *length, loff_t *ppos) > { > -- > 1.9.1 > > > -- Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, ミハウ “mina86” ナザレヴイツ (o o) ooo +------ooO--(_)--Ooo-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/