Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp728181imm; Thu, 26 Jul 2018 10:56:21 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdTRdCJmSqt+SW7LGGfILlrFbuOnx+g1T2+KElwZn/RQQUUMpuH+cqSR5MW2w9LqTZhl3bY X-Received: by 2002:a63:f449:: with SMTP id p9-v6mr2910395pgk.213.1532627781517; Thu, 26 Jul 2018 10:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532627781; cv=none; d=google.com; s=arc-20160816; b=OOP6ThG46IadM5qwsLAIOSy8B46Hm+BGyXpWbB3TSVlT2JI8SkWK9PcV/EYF4O9fXQ 7SY22MFMmqHWAWb2wEXJcweLY2vlf3yal2ucPxTnEoLJPqMxi1yS+tp05O08HZ/n6PpW P+VQ5ChQlj0EECxdnW9PSU6gQgbf5ixPFTUbaJkBx6uYvrpyJFLeW1dPJqGlFt307uaS 2ZAVd7QpG+1IuUMW4gGrz2g5MN+yEp0wrtPaATZT3Mu9aSFhrkQq9O9YMmDZ6EPXGpM7 xeKlo832IohKtzcvAvre5asDnRnzr4y9uSCSKd9FnEPLzM8sA6ERblKrnfzHjhP1EE9o l4Og== 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=0srcHCOVB0Xd9oQabWfBm343yd3wlWFiUkGNPmakvB22OW6YACApjrgn9G9KYKppPG KFdNqV0OfObpxTmpHoHUgvWMvJ/ND6XMOxe5VcpHTAWP1vbZUXwOOvvnS7OR7phuU630 em/IIovlzV5YUadvklqwOlmK5nb2XLbPU0c3yRx9UA4T8LR8/HaX1ZR6PQM7shIf2AIP nn8rTxyWkccBnyxKZCkNllKoOVy9YP/SovW9NcYs/iH8hH1iIG0h+qBOzCrBMPrimFjC wtjb6uYvo911fBttNIIvarwHT1SQS1k+5c9HfY2+inLWiRuPKuF7enJg2fi7AX6Aj8t3 bm0w== 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 62-v6si2034053pfu.79.2018.07.26.10.56.06; Thu, 26 Jul 2018 10:56:21 -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 S2389016AbeGZSuv (ORCPT + 99 others); Thu, 26 Jul 2018 14:50:51 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:46950 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388992AbeGZSuv (ORCPT ); Thu, 26 Jul 2018 14:50:51 -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 w6QHTgeB022417 for ; Thu, 26 Jul 2018 13:33:02 -0400 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0a-001b2d01.pphosted.com with ESMTP id 2kfgdu6mxw-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 26 Jul 2018 13:33:01 -0400 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 26 Jul 2018 18:32:59 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) 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) Thu, 26 Jul 2018 18:32:55 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w6QHWshW38273202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 26 Jul 2018 17:32:54 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 87793AE045; Thu, 26 Jul 2018 20:33:01 +0100 (BST) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A4D9CAE056; Thu, 26 Jul 2018 20:32:59 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.204.214]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 26 Jul 2018 20:32:59 +0100 (BST) Received: by rapoport-lnx (sSMTP sendmail emulation); Thu, 26 Jul 2018 20:32:52 +0300 From: Mike Rapoport To: Jonathan Corbet , Andrew Morton Cc: Matthew Wilcox , Michal Hocko , linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport Subject: [PATCH v3 4/7] docs/core-api: move *{str,mem}dup* to "String Manipulation" Date: Thu, 26 Jul 2018 20:32:37 +0300 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532626360-16650-1-git-send-email-rppt@linux.vnet.ibm.com> References: <1532626360-16650-1-git-send-email-rppt@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18072617-0028-0000-0000-000002E0AD29 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18072617-0029-0000-0000-00002398A0AB Message-Id: <1532626360-16650-5-git-send-email-rppt@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-26_04:,, 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-1807260180 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