Received: by 10.223.185.116 with SMTP id b49csp3859367wrg; Tue, 6 Mar 2018 06:14:48 -0800 (PST) X-Google-Smtp-Source: AG47ELtpp4GWhAsIivYh6QwvWhX1wkhc/X3GhcrUZagB1/goMMSRup1TbaRYydK+aMggsPxC+Wd7 X-Received: by 10.101.101.206 with SMTP id y14mr14843549pgv.297.1520345688590; Tue, 06 Mar 2018 06:14:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520345688; cv=none; d=google.com; s=arc-20160816; b=Ur56DVVyAOJ5RMD8g+NPUk+UbyOsolciFkZotChkS/Gfgoa/gtau8Hcmh3jdic+e1w 3alonxxKhLFBWErJb0cLIVVhAuu43khoWLZf/itAhtz2nmpvojYUeR3xE38kLGVEphIZ ZSKO0a6Mw2GrGpCp9XN2Ov7ckaEIqwScwxH6j81nwIVcfBYr2/S4klDPv5A1fZVK4VKn ePVKllYwG5cHh/TZgmkqXGQIb1nhM/k9j8q9kRKDF4qJ6aBwOotFCdk95jNNScKitK3F QKP4kl6IFNh/q4CS6Sd8goGt052xv5gPeXHEUSSaBNbmyS7bClAXua7bJesRE9eqBpYr ZS3w== 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:arc-authentication-results; bh=2amBYKcAx8K9nWSqnBcHWVsmu2cPISa7Ft3/2GRdJpU=; b=p2lMtfWJzvIEEkZNxKgzKqFHOUID1G4amADyp3WbF8jxOJE7WgCEfy5ZVM8xIDm+90 xDwAXhFoAoi/ymrL0um6Oka9dkzJoRd8JY0KyrOubMfQ6i0/ivL98AZFvCISPHVTS07U tyC40ED7XYxgwKPkEfpPH15Zb2kdsDKGMz5ktg0TZnweqdsA7+hYOqCcRmL9epFYYu36 5fJcPbOa1TVpQesiGHJUC8yAH+1GnP25MbRcneGw2QzdkyIZeQ3T+6hU942dtwPFGRRd 6Z3VjgRaSQBQmUr6pilb5ZPramCzWM67WPcw8Yv3G1GHNoUUoNes8LiMZuz+iCVwiQry oYGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=JMAtVyCa; 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 e5-v6si11483938plk.185.2018.03.06.06.14.34; Tue, 06 Mar 2018 06:14:48 -0800 (PST) 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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=JMAtVyCa; 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 S932941AbeCFONj (ORCPT + 99 others); Tue, 6 Mar 2018 09:13:39 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:60026 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753454AbeCFONY (ORCPT ); Tue, 6 Mar 2018 09:13:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2amBYKcAx8K9nWSqnBcHWVsmu2cPISa7Ft3/2GRdJpU=; b=JMAtVyCaPXCFf7ZSksgqy1daK XyVC3ITkikj7+5peDFX8UsZ4fDAn2xpayieYHcEIWQchBHtN4sAkWf1Yev68njnHfbQPla3HJsO2q NsHz2DOebbU5QQZTlT71XbCeWBmx5GGlfUZ1PN/FGTfdSfBMUdjEvo6kyw68GZTK1C22dBEb+EGaF KIfmXXez1vcEuwShAL+27Idy6cRuZsUEsYg+HxyavajxhPffvpWZkeGRmaAYcCHSbWuL37UHIFj4k 7A7isCMVZrSGFPGs7XJIJkn9QznOfPvEdhGFCauJSDXUl7UsQqNZ/tJr6ul2bpdG0VF50M9aZ2lK1 upyluYxew==; Received: from willy by bombadil.infradead.org with local (Exim 4.89 #1 (Red Hat Linux)) id 1etDLB-0005iG-KV; Tue, 06 Mar 2018 14:13:17 +0000 Date: Tue, 6 Mar 2018 06:13:17 -0800 From: Matthew Wilcox To: Mike Rapoport Cc: Igor Stoppa , david@fromorbit.com, keescook@chromium.org, mhocko@kernel.org, labbott@redhat.com, linux-security-module@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com Subject: Re: [PATCH 1/7] genalloc: track beginning of allocations Message-ID: <20180306141317.GC13722@bombadil.infradead.org> References: <20180228200620.30026-1-igor.stoppa@huawei.com> <20180228200620.30026-2-igor.stoppa@huawei.com> <20180306131856.GD19349@rapoport-lnx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180306131856.GD19349@rapoport-lnx> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 06, 2018 at 02:19:03PM +0100, Mike Rapoport wrote: > > +/** > > + * gen_pool_create() - create a new special memory pool > > + * @min_alloc_order: log base 2 of number of bytes each bitmap entry > > + * represents > > + * @nid: node id of the node the pool structure should be allocated on, > > + * or -1 > > + * > > + * Create a new special memory pool that can be used to manage special > > + * purpose memory not managed by the regular kmalloc/kfree interface. > > + * > > + * Return: > > + * * pointer to the pool - success > > + * * NULL - otherwise > > + */ > > If I'm not mistaken, several kernel-doc descriptions are duplicated now. > Can you please keep a single copy? ;-) I think the problem is that Igor has chosen to put the kernel-doc with the function declaration. I think we usually recommend putting it with the definition so it's more likely to be updated.