Message ID | 1532517970-16409-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 E69121805 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 25 Jul 2018 11:26:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D63CA29960 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 25 Jul 2018 11:26:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA47029B3F; Wed, 25 Jul 2018 11:26:37 +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 61DBA29960 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 25 Jul 2018 11:26:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E96166B028A; Wed, 25 Jul 2018 07:26:32 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id E40CE6B028E; Wed, 25 Jul 2018 07:26:32 -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 CBB5C6B028F; Wed, 25 Jul 2018 07:26:32 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by kanga.kvack.org (Postfix) with ESMTP id 695FF6B028A for <linux-mm@kvack.org>; Wed, 25 Jul 2018 07:26:32 -0400 (EDT) Received: by mail-ed1-f69.google.com with SMTP id s18-v6so2980861edr.15 for <linux-mm@kvack.org>; Wed, 25 Jul 2018 04:26:32 -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=U6nO6fSchS5T2zLPZtwc5SgKxfu74o98OUbsfsv6nw8apJl7odieODdY9/LxEZX9ou vsW3Kmcx5h4uJ8iNGYcNjEi5FOgka97ZUrRvehNxJ/PWEHfNPUJTH+RmQFv/JnUipRr+ gjCriQH6qvjOGgbQdvRwo53abmdbLzRQHnQq4hEk8aSp0fta+ZYQn2+w3+gdyOiuk8X2 2VQ/iIvha4+pAHA6CrxJbRzB50hPemX0EQDi4EZg9ohhYs7jUFFQsS0Gvj+su2yAGAPQ 0lU0EB0A8yb0k/gsL1cYffWnfCvv5fqy3Hq1K2nGslmBkZLPLyZFypebLuonjcdsvcI8 UzGA== 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: AOUpUlGJ5bUfGJ9y/Emv3uSmUkQaycIdhBIRbpRqx0T0LYn/qDhPdA3D puCYT5Oue2e7/qx0KH2kgN1mwKZ09rKsJ8/7EnV3b+0FSv24oceqV/yeJO3Pc2anuybVWB1Ls7M L+gyMOvPFpFgsdpcg+acTYjFQNK/nJB8qHnAczfL1vyBE4biDvskYhGKG80+KTSM= X-Received: by 2002:aa7:da9a:: with SMTP id q26-v6mr22352505eds.115.1532517991989; Wed, 25 Jul 2018 04:26:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdjWqOa6PeYwL+L1diuWsJnl1a/m5MYO4YsM6GhwK0QAei4Zk3lM9YhY1+NFWnhxm0Dwv/G X-Received: by 2002:aa7:da9a:: with SMTP id q26-v6mr22352470eds.115.1532517991385; Wed, 25 Jul 2018 04:26:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532517991; cv=none; d=google.com; s=arc-20160816; b=g0TZcsrfNxK2P26lyGMUFq1X0vmtEHQ3Z1yBWMKH54y5zl8TExj27RRiKAprSZRr7U xX/7iz+KpKY0RZiIIIY9YXJoFC88xxEjZ6WzncF7D7QyoGAx0tyq7BbPs/g2sinr5O12 t125M2W0UoKlLv0J4Sxdi9lVbhkD/WD/vDGdpBZ7lVPJQ6vKTiPcu6kbJzhWFBwwhBE7 FByQ0KW1h/Z0xj/mx7vTsNeC9Pu7V7GHKQruAxBxisYb2j7mCJMx7t/0sm/isA5OUWqV 1zbflox0dr6+4eT7cDo+x/8gULcYTzo9m6nrY6E17sCdRmpJlIZT3krhVMju0xwc8xPX fphw== 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=FUiB4+8iTsKUy2VFnBYSLMRzLaSw2gBnZ6RA6Owoq+y5ttijagwb3sWt9Cl8uFudRt Utcd1WNhG6zKzxQoIoKKWCcedCUZWmLmsF5J5oyD38GPARvaK3+b2GsXpKI11CsZsNBY /bVHFPGO3CmiXpVwNyGwC62GoIDLbIB8nOFLOrzOymAvIJZeqshLI7tcM3JmGjZF822j YnqBnsTkDz8BvyM7/fkbyLKhCSI75ASeAm4EkmYc88B7G6+3MSB3Up+RyNmitPwtKhvq WsDIMtW6VLLHEeRtRGV8gWEelg85VVBfuNgHI37yY5eV/hNKZ+KyDucmkQUs82l7hK1k MfMw== 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 h7-v6si1696266edb.124.2018.07.25.04.26.30 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jul 2018 04:26:31 -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 w6PBPJ8G086245 for <linux-mm@kvack.org>; Wed, 25 Jul 2018 07:26:29 -0400 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0a-001b2d01.pphosted.com with ESMTP id 2keqphhb6p-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for <linux-mm@kvack.org>; Wed, 25 Jul 2018 07:26:29 -0400 Received: from localhost by e06smtp07.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>; Wed, 25 Jul 2018 12:26:26 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 25 Jul 2018 12:26:23 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w6PBQMhd28835938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 25 Jul 2018 11:26:22 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8073C4C046; Wed, 25 Jul 2018 14:26:37 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 153364C059; Wed, 25 Jul 2018 14:26:36 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.8.110]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 25 Jul 2018 14:26:35 +0100 (BST) Received: by rapoport-lnx (sSMTP sendmail emulation); Wed, 25 Jul 2018 14:26:20 +0300 From: Mike Rapoport <rppt@linux.vnet.ibm.com> To: Jonathan Corbet <corbet@lwn.net>, Andrew Morton <akpm@linux-foundation.org> Cc: linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport <rppt@linux.vnet.ibm.com> Subject: [PATCH 4/7] docs/core-api: move *{str,mem}dup* to "String Manipulation" Date: Wed, 25 Jul 2018 14:26:07 +0300 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532517970-16409-1-git-send-email-rppt@linux.vnet.ibm.com> References: <1532517970-16409-1-git-send-email-rppt@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18072511-0028-0000-0000-000002E001AD X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18072511-0029-0000-0000-00002397ED3E Message-Id: <1532517970-16409-5-git-send-email-rppt@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-25_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=913 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807250124 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(-)