Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp680699imm; Wed, 25 Jul 2018 04:27:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcv5cpcg7isNo1sEIErTmrRqGczD5HrziXvYWKAmk0qzZkIUA7el3L2akYRyzCMy5v+hNXw X-Received: by 2002:a63:bf43:: with SMTP id i3-v6mr20242334pgo.342.1532518059173; Wed, 25 Jul 2018 04:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532518059; cv=none; d=google.com; s=arc-20160816; b=hhlvLJ/eOIQjHd5LWm29/1oT4/RHYfqThyY4dK67FHp8XEE6yvq12BM18Q/o/rQO5U o40aCBGe0eqh7oABAoagDhjFytiiy224ScKKKyRhseh9zE2ibTfnITgc4k0g24GRVMiS AiFAYs16/fnk8yGOW+jCTKNQG09aBI2HXMvYwuYKHR9pdx2tB4lwFcqTHOZkP+lv08ph jQg0BKv6c4QwC4EKlQn/UpiwkEiUEjFHpDweoUILowMaT3TEgy+Q1Ik5CwqSaV63sCZt PFzgepm3eSXIkrHPaFxkzIP8N4kPfLovbcB7OQwj45P8bScBKzLLQYa4ssqLukkdwJX4 vvng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from:arc-authentication-results; bh=XM+7L2BilOtR0Lf4ViYxHiZv5B/fzeAqge+WEoT92wM=; b=tMLIIntn/K4Wa68N2fc+4ygpSkYf3H8cEE1ddj+SNHqwsPQpro+W2e2h1tkZIaZDWo cxjd8fDQA4I4+FzL1OFQoLAUem7gQc6m8PNOYiXmV2u97K18QTdNAAzOe1S4t8C7eV8Z rlysO6j3VRn55DxddSwDr1fMqkPo5po+ZJa+FoegDu59l6EnSw7agWe8iwKlUx5XcwEF 8Py6vrxgaINf1AAZfNdCPfyQKh6EcrQ4q6ypnMn+u2iWfwF4jIaS/BGK3mH/szUdFcjS OIrL9lmBkphGA1NmYR8zHCqKIIFhiQDGn7zURwdaIhzI+H44qboMFOWS7T1jDiQmiPRs 1dJQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7-v6si14887104pfb.227.2018.07.25.04.27.24; Wed, 25 Jul 2018 04:27:39 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728943AbeGYMho (ORCPT + 99 others); Wed, 25 Jul 2018 08:37:44 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:57610 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728882AbeGYMho (ORCPT ); Wed, 25 Jul 2018 08:37:44 -0400 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 w6PBPLH3086376 for ; 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 2keqphhb6k-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; 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 from ; 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 To: Jonathan Corbet , Andrew Morton Cc: linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport 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=917 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807250124 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The string and memory duplication routines fit better to the "String Manipulation" section than to "The SLAB Cache". Signed-off-by: Mike Rapoport --- Documentation/core-api/kernel-api.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ------------------------ -- 2.7.4