Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1044740ybh; Tue, 10 Mar 2020 13:26:50 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtIY3H2sqVEFK0I3C3sztaoEBmKVSMpyIYV8GDQoOrXffnmb0veB1bh+hqrYTfbuX88mWAb X-Received: by 2002:a05:6830:13c4:: with SMTP id e4mr18677505otq.139.1583872010227; Tue, 10 Mar 2020 13:26:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583872010; cv=none; d=google.com; s=arc-20160816; b=tawfeuZ1Tz0lFHTA/J8tms4Ydq99Z9mK6GxkZ32M+K7Atc5P1A8AAWQzTb7GQ6xPvn /nLhoY1p2S4cez2ZmLWL0MQL/ZFpVk1yPa1JoPutGKXmpUECQzgSxjEyGYX75A943ap5 9lUqTagQT2RZadBVQ9EmGvScEHCUJQPJA7K/b6Bdw3lF1/uG06oWo/R4/V/eVQrGLlVk NEbbzeaQ4FQHLdfmiV3HFhfWWyp0qm1n+jFOHnvqvsszfNGoCe7GerKpkBzyjof/pJhg rOQkQVSVg1aZeVcTepXfWIE6V70A6bY8clqvT/6n3AJSCIeaNHsTQ/ycNJ72qbMSQZUz S7dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JqYk8R4UPwKS97k6zpIyj5riBjZ7GjDwEcUa5Ekupac=; b=DsOcbkUvOGS9C1AWphScUc4Aib092NxF1R5icPtOex8t7W2I38kbccVtWaS7bKu1cj jGgs9GRmX0XaJL2DrCpc4orxzSZ+sX8r3KGxvNJCXW1F151IBNJd7U1b2gR1NGAoeXtB 6B/Zdi1Q1PmCBM28/JT6aqEz7dL/e3AqcuRb6/rJD9hlVrxpruwbvXkzIPpeE184eKCL LafKcc8M6ubTljpdObXmRyXilZuVHSpAepuHfFwLMKzUKlp6zjhqyPNKD6e+3mPWBow/ dzyptrr69I7AQg/LEzCq6jKO/ynUNmb6zO+fry2gOTSp/MCpLL9evy7kohCQmpL0xBxM gwjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tCkxaKUG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d24si6127419oij.121.2020.03.10.13.26.33; Tue, 10 Mar 2020 13:26:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tCkxaKUG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726380AbgCJU0O (ORCPT + 99 others); Tue, 10 Mar 2020 16:26:14 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:36287 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbgCJU0O (ORCPT ); Tue, 10 Mar 2020 16:26:14 -0400 Received: by mail-wm1-f68.google.com with SMTP id g62so2861614wme.1; Tue, 10 Mar 2020 13:26:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=JqYk8R4UPwKS97k6zpIyj5riBjZ7GjDwEcUa5Ekupac=; b=tCkxaKUGWKNb+HTFdm5JbBkMM4KtNpMAde+z/oWZh3mOGSVZ2p5N/0MdlVGcB8K27b 3ARO+n2hD1B00XYU/Y/P9RfKsDcCWTRsIkZYDjf1fWtRuvqJJUzrfduyJbeidLDwsxJi apRYCKwT1z4pdpgXFVifYp++iYW1EHHw4fdRZUAP5VdrWn4scSsSsvpA2uYe8u3nMsx6 4gZyM6cLKDY8khJubIx5bQR1L+922dEpo4MAtMLgJQ5/GoxL814HlZTenVZeWdeTbyuE 531KTbZpXTCmUlUfmx9MDq8sCPIlcKWJDuulZy+9563ns1wcWGpLzHpEW8qlzpfBeNSL 7/0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=JqYk8R4UPwKS97k6zpIyj5riBjZ7GjDwEcUa5Ekupac=; b=V6wN2DPztC6sn5Or5tulihCVHS5QJYVs0I1ReTM+1D0OmVAldrKEO17JpfLcT6Yvx0 dsY85I1fAAuitKMaJdaN5JtID6Gex7Da4J7pVobcPfplDkMscJ419/8g656Y0aCCgYlQ 9Dz6BgA6Abf9nKTpcvv9tizSUdLB8LFBtRrtbQ8XjZE1Bg3BWgiy61dCWyA904sU9bYO i9W1eAGwNf/8fGoINsEN/LyhDRw64GuF1ZrM/XxD9o9ezryhWimHXMdKbZke+BcAHFaj J58rQssxwwcakkEAoUO8JPBsJBXp/zjGbHdPlfeDPD1Ei6/3KwWQAJwfJ/PmfHxyLOhL Kq8Q== X-Gm-Message-State: ANhLgQ3FZCQz9o6JnVTf8est9Memn+lzlCKBydU0wljBgvROql6dTO7/ Ht7ZVmFnAFC9eYQblqwsxL341P8= X-Received: by 2002:a1c:7e08:: with SMTP id z8mr3581832wmc.166.1583871972104; Tue, 10 Mar 2020 13:26:12 -0700 (PDT) Received: from avx2 ([46.53.249.42]) by smtp.gmail.com with ESMTPSA id c2sm5593845wma.39.2020.03.10.13.26.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 13:26:11 -0700 (PDT) Date: Tue, 10 Mar 2020 23:26:09 +0300 From: Alexey Dobriyan To: Anshuman Khandual Cc: Hugh Dickins , linux-mm@kvack.org, "David S. Miller" , Andrew Morton , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [RFC 3/3] mm/vma: Introduce some more VMA flag wrappers Message-ID: <20200310202609.GA6287@avx2> References: <1583131666-15531-1-git-send-email-anshuman.khandual@arm.com> <1583131666-15531-4-git-send-email-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 03, 2020 at 02:43:21PM +0530, Anshuman Khandual wrote: > On 03/03/2020 12:04 PM, Hugh Dickins wrote: > > On Mon, 2 Mar 2020, Anshuman Khandual wrote: > >> vma_is_dontdump() > >> vma_is_noreserve() > >> vma_is_special() > >> vma_is_locked() > >> vma_is_mergeable() > >> vma_is_softdirty() > >> vma_is_thp() > >> vma_is_nothp() > > Improved readability? Not to my eyes. > > As mentioned before, I dont feel strongly about patch 3/3 and will drop. Should be "const struct vm_area_struct *" anyway.