Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp740918ybt; Wed, 24 Jun 2020 10:03:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBg1Q25UouyKroE3NyUYvt0CGJNxNCY+IkUDWahFT/cNYc5vakugcsJN1UlBNxj+deh7GR X-Received: by 2002:a17:906:d9cd:: with SMTP id qk13mr25678801ejb.268.1593018231325; Wed, 24 Jun 2020 10:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593018231; cv=none; d=google.com; s=arc-20160816; b=U9vTfVsqR11MVdFto/Qfc2YDayxhYZu5fg2vE79/saegUh4HP7Bm0khYNX3syVaAmg tGq+kDbqCMzI6ZE8ddIRbTcnKLJ+zToeisF5fGbE0RpQj39+ZsvFiOOSt5fL9MSdH315 LUllOHKNzjR1duDD4g1LmTAiTPzRX85sjuSZkZWULkgQCHG9c9OSkU8lWtpiGnYFSM8O Zik2bpy2kKKHwU84COfNlfsFqS3KQapQMcGg/cCDAGiW9GWjlMMMTeP8ADDqF5cVw0YN +7ZvYjBwGxe/ha/cZcME28vhYzb81ov+Y1t8Aj7zqTW1N8OOAkZQOaNqgd0LhOp3tATc aWEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=1baVfimWLcXjNC1LOBhrvYVgFXcqgjspjMtUDc+uHOg=; b=V6ZVIgk9kO//XVXHttU2uRGHeAQoXjbA9/frK1h3HhBqztB+fOKddEEugvOwk+XadX L+ebDBlTJWuPTdWGwO+Am3yFS07LwAw3aywPtLwxkyQCwU8uCmbL9+0Ax1o28tCKuq8e r9bYVNUtZpNTsZc0pCCk/pU5UWN1Mjxl5p725mrRT5QbbZw/OJiEV+EmxhcXHe9av0mo UQ0ik6jT48Utl3L+l9cd1SJaQfbUkieM7GA+dCMcRN7nqnwaJ1vPYJd0mWAPvq5YhZ3d WP8z+rXh2zVWC4KryA/QQhSRhbRFuXjkyHRh1RWtdqKOO/EUvJ8jAwyltvlOqoHOCeCT tZiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=FsRK7tXt; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o11si13668445edt.505.2020.06.24.10.03.26; Wed, 24 Jun 2020 10:03:51 -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; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=FsRK7tXt; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405340AbgFXRBv (ORCPT + 99 others); Wed, 24 Jun 2020 13:01:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404959AbgFXRBt (ORCPT ); Wed, 24 Jun 2020 13:01:49 -0400 Received: from casper.infradead.org (unknown [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF74DC061573 for ; Wed, 24 Jun 2020 10:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=1baVfimWLcXjNC1LOBhrvYVgFXcqgjspjMtUDc+uHOg=; b=FsRK7tXtToINS4RWLZ6bldI3ZR svjWT2G3Htdr+57klE8pWMcwOgxpJge+NOntnu1bRGoXiS6VuWzE+JyGgHB9pnR9AqvcR5MF3qZVw g7ZHqtGt2hPHbtqLklJWTUGQJiLC+ph00eHFm4I5tbKi+7RanswXUOFqBQm67uT/unUvGJOkSWcbP XpIk4aVNJ0t8K7iqUjL2/DUVu/UWfkdrn79w3sULpCyBR7IljycqxW64pxfYpYuevFA/ul3bLZucw ayTdO3f54gPtRJAEygoVxwzcWV1T3uyCUD1hEGgOh1Kq++rjNEhQipjwKEQR/VD1bVt6vpsXgDF17 qWTPZvfA==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jo8mB-0000An-Aq; Wed, 24 Jun 2020 17:01:31 +0000 Date: Wed, 24 Jun 2020 18:01:31 +0100 From: Matthew Wilcox To: Joel Savitz Cc: linux-kernel@vger.kernel.org, Vlastimil Babka , John Hubbard , Andrew Morton , Rafael Aquini , Fabrizio D'Angelo , linux-mm@kvack.org Subject: Re: [PATCH v2] mm/page_alloc: fix documentation error and remove magic numbers Message-ID: <20200624170131.GQ21350@casper.infradead.org> References: <20200624164943.32048-1-jsavitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200624164943.32048-1-jsavitz@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 24, 2020 at 12:49:43PM -0400, Joel Savitz wrote: > When I increased the upper bound of the min_free_kbytes value in > ee8eb9a5fe863, I forgot to tweak the above comment to reflect > the new value. This patch fixes that mistake. > > In addition, this patch replaces the magic number bounds with symbolic > constants to clarify the logic. > > changes from v1: > - declare constants via enum instead of separate integers > > Suggested-by: John Hubbard > Suggested-by: Vlastimil Babka > Signed-off-by: Joel Savitz NAK. Just fix the documentation. It's bad form to combine two completely different things in one patch anyway.