Message ID | 1532607722-17079-5-git-send-email-rppt@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3F8ED14BC for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 26 Jul 2018 12:22:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E7082AE5C for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 26 Jul 2018 12:22:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22F762B11C; Thu, 26 Jul 2018 12:22:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A6C092AE5C for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 26 Jul 2018 12:22:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 79C766B000E; Thu, 26 Jul 2018 08:22:23 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 7207F6B0010; Thu, 26 Jul 2018 08:22:23 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5094D6B026A; Thu, 26 Jul 2018 08:22:23 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-oi0-f70.google.com (mail-oi0-f70.google.com [209.85.218.70]) by kanga.kvack.org (Postfix) with ESMTP id 13BDD6B000E for <linux-mm@kvack.org>; Thu, 26 Jul 2018 08:22:23 -0400 (EDT) Received: by mail-oi0-f70.google.com with SMTP id x18-v6so1208670oie.7 for <linux-mm@kvack.org>; Thu, 26 Jul 2018 05:22:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:in-reply-to:references:message-id; bh=XM+7L2BilOtR0Lf4ViYxHiZv5B/fzeAqge+WEoT92wM=; b=Czrpmswl7BTNWkF/P8BtGvvof4yvxXSD/WL/63kvTiODE3m8DEnMIg+Dd5SlJNkCPU AsSaoptxIjrrPECid8zTNC/5ELSWAmJxw50oQNUTTNhBBuWHVMJMxcxIshv3w4khsjX7 bIIFtzlTgq7Rf5XZ1oFm9vP6y+Vub5pyHLzTYRCdwdfrjsb0qwjyZ/PJLxjZ1zCxWfLQ uwA2Fw9SfBc0QGdcv0DHKsGJGhx94JPDwUx4BLyrwOamjvlfoVttNpLsFI2iJEMsm74Y bNWNE7ycRnKf0HH5efyJLNAAIZLt7oaNop2ZbDTfJlavuFe1c1eshx4+Tlx3bV7gf6ED j7xQ== X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of rppt@linux.vnet.ibm.com) smtp.mailfrom=rppt@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com X-Gm-Message-State: AOUpUlHDkEdlDbt8Za3+hnupBM2TRbWA/8qB5fm7auEy1OEhGStmnqsG Z37Odi1SV+M2io49n4jRBd0QJ1Fvdcd13zGbrHtsbALavfI0CApe8yFuCmmc3Q7h5A3Ud/AWFrj SIyhooSoDPyT0uuR9Fuv28uVul3WmuVHqy5GLGZKVhuca4+FkbtJ95qnWla50axE= X-Received: by 2002:aca:ecd0:: with SMTP id k199-v6mr1806993oih.227.1532607742869; Thu, 26 Jul 2018 05:22:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdDL5O5RGvVm2F2BbJu/sCXudZ4VPM9llYvRlys/NvhlQfenSMdTlO8wpVvjgZ27Mt/Abq8 X-Received: by 2002:aca:ecd0:: with SMTP id k199-v6mr1806945oih.227.1532607742166; Thu, 26 Jul 2018 05:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532607742; cv=none; d=google.com; s=arc-20160816; b=iG8Ys+Kh/bIq9cX3nh3EIolLpyAbPB26pFN9C1LdS2n/uso0o6ZNBPj5P4zW8TeVTX wrOjlUr1yI2bYV+qsR5HLfoawBYxZcwGcEZXCeyyUKoMZ7MuUDxZ03qupJgZkXgyyScX LjcVre57N4jZlOXq/b1SLW03y9S2xzhDn2osB0i3Mwd5liJFgXxAlR6qXn4fmOEj5APp h7qFQ/V8uW+hsNRgS0JVTkUCo47p5s9jm93wEdGQK/QDag9PjtBMZmTG7P07tjmB6rrt ZgcWP77G+G182Ij14SKroai47s9dVi/nb7jmwK1nHFElW9l1FXiB1eQt2PenYYYP1o7/ 3hCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:references:in-reply-to:date:subject:cc:to:from :arc-authentication-results; bh=XM+7L2BilOtR0Lf4ViYxHiZv5B/fzeAqge+WEoT92wM=; b=Hs6/8ra3WqQkmrPQFcI+FsAyzXiKcmQV1VwtJPCxT8pNvhE6jsBB92iJTcbxkIUIzI OSGBvCRO6AsMToREkzkJCfnpLS7ESWwohzuU7rHHQlKh6Tma5T+uDoWiFDITenekt9XM uj/wdLmdXw3KeSawVVEucMLg8KRZrK0y2IX3A1CCIl9THelIlnGVMS3rdzqpab9sVx28 KVKawPd54Dz4us+hfB7aCkWBnEDJod1PGZIkOzR0dsZ48sZVAjRfF/UF9arkYGga1zoc nAIcUVnr7iazwpXJ32Y9vpDHQVoMXnDTWAInWoa7zkayq9qYhd+8Ko3Rh0BSw+JxIZe9 aS2w== ARC-Authentication-Results: i=1; mx.google.com; spf=neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of rppt@linux.vnet.ibm.com) smtp.mailfrom=rppt@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com. [148.163.156.1]) by mx.google.com with ESMTPS id j66-v6si780472oif.40.2018.07.26.05.22.21 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 05:22:22 -0700 (PDT) Received-SPF: neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of rppt@linux.vnet.ibm.com) client-ip=148.163.156.1; Authentication-Results: mx.google.com; spf=neutral (google.com: 148.163.156.1 is neither permitted nor denied by best guess record for domain of rppt@linux.vnet.ibm.com) smtp.mailfrom=rppt@linux.vnet.ibm.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6QCJf4x142386 for <linux-mm@kvack.org>; Thu, 26 Jul 2018 08:22:21 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 2kfc5vwfak-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for <linux-mm@kvack.org>; Thu, 26 Jul 2018 08:22:21 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <linux-mm@kvack.org> from <rppt@linux.vnet.ibm.com>; Thu, 26 Jul 2018 13:22:18 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 26 Jul 2018 13:22:15 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w6QCMEWU23462054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 26 Jul 2018 12:22:14 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0DB264C04A; Thu, 26 Jul 2018 15:22:29 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 86BE74C04E; Thu, 26 Jul 2018 15:22:27 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.8.177]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 26 Jul 2018 15:22:27 +0100 (BST) Received: by rapoport-lnx (sSMTP sendmail emulation); Thu, 26 Jul 2018 15:22:12 +0300 From: Mike Rapoport <rppt@linux.vnet.ibm.com> To: Jonathan Corbet <corbet@lwn.net>, Andrew Morton <akpm@linux-foundation.org> Cc: Matthew Wilcox <willy@infradead.org>, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport <rppt@linux.vnet.ibm.com> Subject: [PATCH v2 4/7] docs/core-api: move *{str,mem}dup* to "String Manipulation" Date: Thu, 26 Jul 2018 15:21:59 +0300 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532607722-17079-1-git-send-email-rppt@linux.vnet.ibm.com> References: <1532607722-17079-1-git-send-email-rppt@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18072612-0012-0000-0000-0000028F1FAB X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18072612-0013-0000-0000-000020C10C71 Message-Id: <1532607722-17079-5-git-send-email-rppt@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-26_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=916 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807260129 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
memory management documentation updates
|
expand
|
diff --git a/Documentation/core-api/kernel-api.rst b/Documentation/core-api/kernel-api.rst index 25e9496..39f1460 100644 --- a/Documentation/core-api/kernel-api.rst +++ b/Documentation/core-api/kernel-api.rst @@ -39,6 +39,10 @@ String Manipulation .. kernel-doc:: lib/string.c :export: +.. kernel-doc:: mm/util.c + :functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user + vmemdup_user strndup_user memdup_user_nul + Basic Kernel Library Functions ============================== @@ -168,7 +172,7 @@ The Slab Cache :export: .. kernel-doc:: mm/util.c - :export: + :functions: kfree_const kvmalloc_node kvfree get_user_pages_fast User Space Memory Access ------------------------
The string and memory duplication routines fit better to the "String Manipulation" section than to "The SLAB Cache". Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> --- Documentation/core-api/kernel-api.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)