Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp119545imm; Thu, 26 Jul 2018 15:09:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdpd/tZzeNmBnGTjFqnOb5ZpEzV3Tqng9VWu3DV+v8JOVxmRIeY7ApgZh+0QMLlHKvmuToa X-Received: by 2002:a17:902:9687:: with SMTP id n7-v6mr3441840plp.33.1532642969046; Thu, 26 Jul 2018 15:09:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532642969; cv=none; d=google.com; s=arc-20160816; b=K/grBvkIjp7O7ZA7v4DdXnBZM69V9sLtXGqIGYH1PiYpdh+z7sZlj/+jFUNQENnchw twv5KqyBRwT8oIMDGdWEye0+3NalmT4EUqV9tbGwjpQTVw7bI9UA057DiUUKRvYJcas0 LlvkUKiVcvKHHllKde6GN0oMiGoZriAammBaCHt4Y+68/K/AAB287RmNnBzLwncvtHdC +D+ntu77X8oM7uu3U+BOy95v8V8DnqGwSX0KwALIS/upDZEoYvEKdxFhx7AQpY5BjaeQ IBcdb1iOgJvk3PEmXzs+FuW0yf8QKWqOdmWhpYYvdNqcaZGkXL96FJI8jkqIHCYuez1P Z+yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=iOG04wzq/hpQEkhpNtWe0gYXoNnZiI/7iesxImjPOZw=; b=xOiz8ac7Ozt0xtRQLLcDQR9zkH/t4T3MrcqZwaU6Q4Kmxis7rPKJ9EG50wCCRRs5tt vrHgmSKnitoJxJKBae846DgGpWNBpBJ4KvkoiCasBUxcKhDL1f8KCOEosunT7Y1NLQxg UMiin3h6LMsV6UuPO80l5DK5oVTSl2FfqjLHfD1DC8davuTFgWEUWS+A2xfCXx/qRMCo lTs7Axp3WD5Q/gcPFSqSID4cJxzLo4hJZGoOyn8ur2qWcLHsQFNek0EiZ8cRGXwThIz0 u1x+Q4K+BQw9pz8rbPxLvKjU+UG0IFQXvyCnR4tR1uj/vH+2joE1zjcP+NYbdghJ1BD+ BJXg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y62-v6si2400820pfd.254.2018.07.26.15.09.14; Thu, 26 Jul 2018 15:09:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731673AbeGZX1N (ORCPT + 99 others); Thu, 26 Jul 2018 19:27:13 -0400 Received: from ms.lwn.net ([45.79.88.28]:34452 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731394AbeGZX1N (ORCPT ); Thu, 26 Jul 2018 19:27:13 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 7E8BD2B6; Thu, 26 Jul 2018 22:08:26 +0000 (UTC) Date: Thu, 26 Jul 2018 16:08:25 -0600 From: Jonathan Corbet To: Mike Rapoport Cc: Andrew Morton , Matthew Wilcox , Michal Hocko , linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 6/7] docs/mm: make GFP flags descriptions usable as kernel-doc Message-ID: <20180726160825.0667af9f@lwn.net> In-Reply-To: <1532626360-16650-7-git-send-email-rppt@linux.vnet.ibm.com> References: <1532626360-16650-1-git-send-email-rppt@linux.vnet.ibm.com> <1532626360-16650-7-git-send-email-rppt@linux.vnet.ibm.com> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Jul 2018 20:32:39 +0300 Mike Rapoport wrote: > This patch adds DOC: headings for GFP flag descriptions and adjusts the > formatting to fit sphinx expectations of paragraphs. So I think this is a great thing to do. Adding cross references from places where GFP flags are expected would be even better. I do have one little concern, though... > - * __GFP_MOVABLE (also a zone modifier) indicates that the page can be > - * moved by page migration during memory compaction or can be reclaimed. > + * %__GFP_MOVABLE (also a zone modifier) indicates that the page can be > + * moved by page migration during memory compaction or can be reclaimed. There are Certain Developers who get rather bent out of shape when they feel that excessive markup is degrading the readability of the plain-text documentation. I have a suspicion that all of these % signs might turn out to be one of those places. People have been trained to expect them in function documentation, but that's not quite what we have here. I won't insist on this, but I would suggest that, in this particular case, it might be better for that markup to come out. Then we have the same old question of who applies these. I'd love to have an ack from somebody who can speak for mm - or a statement that these will go through another tree. Preferably quickly so that this stuff can get in through the upcoming merge window. Thanks, jon