Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp381631imm; Thu, 26 Jul 2018 05:24:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdpql9Ksip0FzFPI5M6ET6b5gh27FGnfmaQHFGVnjawm/oLRzRIjCbqXh9n5keMpZnSf5u6 X-Received: by 2002:a63:a347:: with SMTP id v7-v6mr1726296pgn.182.1532607893218; Thu, 26 Jul 2018 05:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532607893; cv=none; d=google.com; s=arc-20160816; b=T4FH0nz6kFnjlR2SfNXCFhRZpQsbIQHwEormld2TNo9ezxJozl+TQSr3WH/flgwAbm nklAh5DXXNjhbpAZo6/+aghWYtoBAREH63B2nRIcPlCxMqOvtfLfHU5NepSgGkQ145gB LFrIThtmFs/TpX79m8hZfdryb4zshrhdDKMuTKnTxBynuUEry0UdqfHAfsbrj7dhcd9E 1G01IyecYJMVaT27QGCPiyl3/L0kIwx2SkoZjqULyQw1SAhbIM9Uc2NzcrxUojDCQCWa 9d9XUqeEIJEjerw5yGZFwTSqBBPR20h1oFGfEx3kGX4Uv4jlMw1QvE1mifGqub1X+yIW squQ== 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=VibFWfFeHqo7YN5sBq+I04uNPbGAGh9dknNyHxnFc/0gXpfVqPDaseefOmDeL8N6mR 1zAbSRAUbAgx+kF8Gam8jvPa82PvzQGqslEyThGUnxJT2oLOqD97kc3TzE10hJrCwOol fa9SnVDhSM80sE7ThEphfIiTiiXjuMCcdxInIrF/3bH0PB28daDKvwfrx7B8YEPW6MJl Z5Fv8CBDwe1dLCETY+4WHdP0KmSb3ZQzmKYTlZfjkJorRFHPi8IjDn9QMjk8Dz4TDkh6 QtG/urPyeWIECB0kmPr1MoEEAkQO38i3m22Ln4L84g9i8BoGH4ewP2B2DMTaDG5FjgoG wZcg== 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 q9-v6si1100295pll.370.2018.07.26.05.24.38; Thu, 26 Jul 2018 05:24:53 -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 S1730535AbeGZNi5 (ORCPT + 99 others); Thu, 26 Jul 2018 09:38:57 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:59492 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730173AbeGZNi4 (ORCPT ); Thu, 26 Jul 2018 09:38:56 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6QCIofS089098 for ; Thu, 26 Jul 2018 08:22:20 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 2kfbndqa8w-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 26 Jul 2018 08:22:20 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; 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 To: Jonathan Corbet , Andrew Morton Cc: Matthew Wilcox , linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport 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=917 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807260129 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