From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f72.google.com (mail-pg0-f72.google.com [74.125.83.72]) by kanga.kvack.org (Postfix) with ESMTP id 995466B0365 for ; Mon, 12 Jun 2017 08:09:36 -0400 (EDT) Received: by mail-pg0-f72.google.com with SMTP id p22so52489658pgn.3 for ; Mon, 12 Jun 2017 05:09:36 -0700 (PDT) Received: from mga01.intel.com (mga01.intel.com. [192.55.52.88]) by mx.google.com with ESMTPS id 82si12810263pga.93.2017.06.12.05.09.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jun 2017 05:09:35 -0700 (PDT) Date: Mon, 12 Jun 2017 15:08:30 +0300 From: "Kirill A. Shutemov" Subject: Re: [PATCH 1/2] mm: improve readability of transparent_hugepage_enabled() Message-ID: <20170612120829.2qrkjnp3nrgybfla@black.fi.intel.com> References: <149713136649.17377.3742583729924020371.stgit@dwillia2-desk3.amr.corp.intel.com> <149713137177.17377.6712234218256825718.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <149713137177.17377.6712234218256825718.stgit@dwillia2-desk3.amr.corp.intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: Dan Williams Cc: akpm@linux-foundation.org, Jan Kara , linux-nvdimm@lists.01.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Ross Zwisler , hch@lst.de On Sat, Jun 10, 2017 at 02:49:31PM -0700, Dan Williams wrote: > Turn the macro into a static inline and rewrite the condition checks for > better readability in preparation for adding another condition. > > Cc: Jan Kara > Cc: Andrew Morton > Cc: Ross Zwisler > Cc: "Kirill A. Shutemov" > Signed-off-by: Dan Williams Looks good (unless it breaks build somewhere). Acked-by: Kirill A. Shutemov -- Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org