Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4181878imm; Mon, 18 Jun 2018 10:26:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKDtDrhGIh1iCDRFrKNfuluEsE7U0PeaB5eHmRo9HAf9itPFG2ggLydLEO1ALThs3PlGRro X-Received: by 2002:a63:7206:: with SMTP id n6-v6mr11705802pgc.174.1529342795746; Mon, 18 Jun 2018 10:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529342795; cv=none; d=google.com; s=arc-20160816; b=MfxQ7iYl2MCpITcs8Ik/gmeNoG9cW+ZNin7iiTL7HYNqrqJ/etV9AUpde5GEXoZrda ltCJnr5M9Wmfzki/DCoW1vIuOnvAdI8hSxuTBGf589wu9ln0TQzhsrF/BpU3qqGMoPQo hZln1cm+L27ybW/FxB0PwoC5SzbnLo6NKKRlnSQdEBn8OXPEpKcr+iuzz0zvcCRM6GY1 Ga/SCVS90lgYWuNeQ3FeVsrIkb/R3zQjnGnAF/PY3qNpWjUyl4HF5lz9CGfVhoN+LMmP ljJ0xNOWwEqVNNssC0XCJuUIPqrx9ir4fhU+Dcjjy8LZjXlTdsvYKqlZ+i53VqMnE3cc MRDA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=M87h/tftk1QAZelX0jtKbsPMx6CqKhWupzXoNkS25R0=; b=HSygH9+k/aA+e5PJmS93Lt1WEtIUOiA14dqDpQDkQyS8vkqSH5DzfjDVqtIld34LUi ikBL5aRXAIIqFaARncTeI5u4Zci9PPqTF7gpjgisid/XU/yIlIOSfENoLgRBvIMw0fx8 Zz2xgNqLNuZuSLU4g4I34bKcfILmYhTwvXOpj3WL2JQ1Z3wusfAcamwymul7HKGQ8UX+ N1Z/e4jxZ3U36lIntKUvazTyk63S+AS/5W2LtIERDw0cujzzITKpx+pGD+HvplNR670w f8WMLgxcKg0rx7ogxk/rWOKAhTaGEVmDQbzGyTO82Wr2a2eihMsiqAgXCkcd95LyubVU 3pRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KCEdLaND; 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 f34-v6si14617755ple.52.2018.06.18.10.26.22; Mon, 18 Jun 2018 10:26:35 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KCEdLaND; 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 S935472AbeFRRZ3 (ORCPT + 99 others); Mon, 18 Jun 2018 13:25:29 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58100 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934963AbeFRRZ1 (ORCPT ); Mon, 18 Jun 2018 13:25:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To: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=M87h/tftk1QAZelX0jtKbsPMx6CqKhWupzXoNkS25R0=; b=KCEdLaNDKGyh1TSxPJ5LIveRo Je0C3PjRLavv+AyCSpfjOlMUUAW4GWcHaFHpur2CPqaDJUOYhnyL3f/50bK6BQCcwGlkU4eAst+Fv 1jObsA955/KnR5Yu0RXW7rVSFQ8VKIHsImzTVvlrmibrZPDG8iyrX6nPX9FYaLUbtyHs7jy5CQYki txfPFZJbi3UNrjU3ARIgSkPN+/qjftAlWdCTtb7SYTd/E4eIRno5gm4eRDZa0iPInhMwSkjBPtzQU PJV0lI2BAruAdpPq3dcJdNfylyVkuMNrVFZLIR2ASKhSEfThDrWmXkGNcMUexRgqKXnpDmtz7vbgb snOoLiHhg==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fUxuB-00045s-Jn; Mon, 18 Jun 2018 17:25:27 +0000 Subject: Re: [PATCH 04/11] docs/mm: bootmem: add kernel-doc description of 'struct bootmem_data' To: Mike Rapoport , Jonathan Corbet Cc: Andrew Morton , linux-doc , linux-mm , lkml References: <1529341199-17682-1-git-send-email-rppt@linux.vnet.ibm.com> <1529341199-17682-5-git-send-email-rppt@linux.vnet.ibm.com> From: Randy Dunlap Message-ID: Date: Mon, 18 Jun 2018 10:25:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1529341199-17682-5-git-send-email-rppt@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/18/2018 09:59 AM, Mike Rapoport wrote: > Signed-off-by: Mike Rapoport > --- > include/linux/bootmem.h | 17 ++++++++++++++--- > 1 file changed, 14 insertions(+), 3 deletions(-) > > diff --git a/include/linux/bootmem.h b/include/linux/bootmem.h > index 7942a96..1526ba1 100644 > --- a/include/linux/bootmem.h > +++ b/include/linux/bootmem.h > @@ -27,9 +27,20 @@ extern unsigned long max_pfn; > extern unsigned long long max_possible_pfn; > > #ifndef CONFIG_NO_BOOTMEM > -/* > - * node_bootmem_map is a map pointer - the bits represent all physical > - * memory pages (including holes) on the node. > +/** > + * struct bootmem_data - per-node information used by the bootmem allocator > + * @node_min_pfn: the starting physical address of the node's memory > + * @node_low_pfn: the end physical address of the directly addressable memory > + * @node_bootmem_map: is a bitmap pointer - the bits represent all physical > + * memory pages (including holes) on the node. > + * @last_end_off: the offset within the page of the end of the last allocation; > + * if 0, the page used is full > + * @hint_idx: the the PFN of the page used with the last allocation; drop one "the" above. > + * together with using this with the @last_end_offset field, > + * a test can be made to see if allocations can be merged > + * with the page used for the last allocation rather than > + * using up a full new page. > + * @list: list entry in the linked list ordered by the memory addresses > */ > typedef struct bootmem_data { > unsigned long node_min_pfn; > -- ~Randy