From patchwork Wed Dec 13 04:33:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13490337 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75B1EC4332F for ; Wed, 13 Dec 2023 04:33:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E69E66B03DF; Tue, 12 Dec 2023 23:33:21 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E19BA6B03E0; Tue, 12 Dec 2023 23:33:21 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CBA8E6B03E1; Tue, 12 Dec 2023 23:33:21 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id B49326B03DF for ; Tue, 12 Dec 2023 23:33:21 -0500 (EST) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 825E9140ABA for ; Wed, 13 Dec 2023 04:33:21 +0000 (UTC) X-FDA: 81560525802.29.68C9DC8 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf30.hostedemail.com (Postfix) with ESMTP id 99CB880016 for ; Wed, 13 Dec 2023 04:33:19 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=Tv5JkdxA; dmarc=none; spf=none (imf30.hostedemail.com: domain of rdunlap@infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=rdunlap@infradead.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1702441999; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=BOGx4vYrU5GrgTY39jAMH2cXZ04K82JMOmcHOoL9elA=; b=bvZ/IaCKT0RAJxFOULsMJWG3/hq5bH1fH8SMnpT98vSvS847gb68r8UmDQ6rCnydEDSELo tm2I6DKb2YC4tih5AukEQYdC57u06rTFDx0/W7ypldZJwDR4SCM/HK0ewVixGhGZPGlS3X F4RjZ0vG416b65syr5FDCUzih4jygcY= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=Tv5JkdxA; dmarc=none; spf=none (imf30.hostedemail.com: domain of rdunlap@infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=rdunlap@infradead.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1702441999; a=rsa-sha256; cv=none; b=Gpuzn/alUgLw62EAaykU3KDEy/ByAGrC3Fpi6mUqxMRNofsQZbw0p0L5Xr7WuDs1spL3bN iw7Tz7pr3HpLVYPxrNsAJiOGrjITMTKkmIRWafVZN/BoiyHVwhY8NQUDcRnaXL2WkpybtB ziTf6NtUkjbH2e0JdHZV7xP9/ub5esQ= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=BOGx4vYrU5GrgTY39jAMH2cXZ04K82JMOmcHOoL9elA=; b=Tv5JkdxAXPxaQF0MZln313Rqdn S2fg7Vhb2qF/gXtG98YEMriApAvbJoyjnQ6ZvdFK0+oytoqo3Sg9rQyG35CBTuh6ivm440AdPq4P/ 7breRZV3iO6rZduAe0uJo/RgHsRJd55DOkkt0YOdoDCVUwDst1aiDJfcth0/N7XGC/KdLznqHobJh VbeiBHvMSTxTQGAjI0sccxKlw0uJkAhNg7KKu4rt31Bk2uNIGn29qF91OY84wbFDJa0Fdg6ukrU5R Gujy3eDqsSfVp5iCSxEsdpWxN0NhqGwwZAY4dn75ZJkTPSFFhlzDyVx6SlhJfpouwpete6jyEKvlZ tu6CfLnw==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rDGvt-00DaF5-0A; Wed, 13 Dec 2023 04:33:17 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Andrew Morton , linux-mm@kvack.org Subject: [PATCH] gfp: gfp_types.h: fix typos & punctuation Date: Tue, 12 Dec 2023 20:33:16 -0800 Message-ID: <20231213043316.10128-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 99CB880016 X-Stat-Signature: qtxdsb8ztk7b5s8tus74y7fpwqqhspyk X-HE-Tag: 1702441999-981996 X-HE-Meta: U2FsdGVkX1+hHlpTsNlXgYP+CT8onvyL1wxiIIJ7MvrUBy9FDz0ga1a2kmvdY7esixRgXWjMi2KOkqmnqNdtc2hC/7hxB8qXJXcV4QAS1vOmpM6lqbCKeAXKOqfKeWysH4GIy+/1ZFO2D1ttH9Fkj5UPBMvNDZ2byz04DK+bW3dU+/HFLrcA5q9s8BeSZ5PenIQJf9Vqk3TWCwY9NZlsw2HuaYjW+s1G+RjAYHsR+htNELaE6ngwoTJZp9Bz14prCygbKZi8PVCukAU0uR3CV+uKmVh5pdsbs97+UUfW+1/8OcDXDUNqzttF9troHWjPA3NW7RkVsBLrsMNOX8ZkrIYHdvS8hJCz40GLzf0vtQmPfR+uPPk8YALdd6Q0G0H7mvfuKSBGs2PXzqqmCG07pMBzyiKRkqKnI0ADJ4Jtj1SsfvCLINFH69Jd7LoYqiHi4TVjV0TvwUQNq9PM8KHK9hSiqVyM+ZUot13aiJuqsB1o8Bge02Re0sypilGbBFCJLjhcex5xg2xpMTe243H7TcRg/541E/qqRppW5HVrVXjne/cC9vWVjRbgO71hXzilIQwgPdanM2J9QfROyE1AB8L3vQjlyNzWrp2gjoF/EMaIkfvMB6U4nBEiDmZwm0Vh3Je7Nujv+9GYSjRK8n1YIZclulvdJmPxt+QobAGDod8T8cEIUkVjWdvgpH6GTHkBSRvt8MYaunQ7DP/hLojpEVqw7GsxLC7DwqoVT1XHEO0qJWHL6Jd/Zb1amTbfbMNYZ1/rOadcOgGYyIGxdG3HR9KIitgv+4fosXHRmCO9YhagEIRSS3JHQauhltLKKlavxHtr6hRvJcAVeTygxnARBFJ645xF89y/A66ys1n9dlk1Fhhpx3NfruCky3+kvCi3a2g/tk8TpAxFPzgin3J4CR6E8DRu7aHaec9M9UhNaSleRunF5skeNN9brTYfc7Es3wNRQ60x7sYucdCQvgn SBJuPV2k K9gzS0lbT6OcamvHD+jAfAYaGmC72ubfJaZsWBhj96neWHC5lCVTaO+SiveibVg4NnWWS/naN9rxYgq/uR/p1srxiq5SkrwUaC7daZPx8FManVPcTKXRTDRfw7lrYyl0PgRJTfSCeEApXcl3lGgvQPmvNpiLmP0ZPY4PwYz8S/15wSYOs3N864JiaLcPxkPLT+rxGe0VjBO22fM+ioYUka4hnajsC4i+gaF45d6DfOKYkRUUzdluDkX/FJjHyQUXB9btf7XGlOD0hn93yTdXzadDAtJYSgCM8kGsPsj+WoKqbRagvSe4kpAMb04UAUwg+5jpRhdcYhRp87Z970Qsk4dQhdbCubLllay+MIMWvsbSf24xJgF0clzqSUpNx3grF8UL8Y/tnnBONyXw= 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: List-Subscribe: List-Unsubscribe: Correct typos/spellos and punctutation. Signed-off-by: Randy Dunlap Cc: Andrew Morton Cc: linux-mm@kvack.org --- include/linux/gfp_types.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff -- a/include/linux/gfp_types.h b/include/linux/gfp_types.h --- a/include/linux/gfp_types.h +++ b/include/linux/gfp_types.h @@ -162,25 +162,25 @@ typedef unsigned int __bitwise gfp_t; * %__GFP_RECLAIM is shorthand to allow/forbid both direct and kswapd reclaim. * * The default allocator behavior depends on the request size. We have a concept - * of so called costly allocations (with order > %PAGE_ALLOC_COSTLY_ORDER). + * of so-called costly allocations (with order > %PAGE_ALLOC_COSTLY_ORDER). * !costly allocations are too essential to fail so they are implicitly * non-failing by default (with some exceptions like OOM victims might fail so * the caller still has to check for failures) while costly requests try to be * not disruptive and back off even without invoking the OOM killer. * The following three modifiers might be used to override some of these - * implicit rules + * implicit rules. * * %__GFP_NORETRY: The VM implementation will try only very lightweight * memory direct reclaim to get some memory under memory pressure (thus * it can sleep). It will avoid disruptive actions like OOM killer. The * caller must handle the failure which is quite likely to happen under * heavy memory pressure. The flag is suitable when failure can easily be - * handled at small cost, such as reduced throughput + * handled at small cost, such as reduced throughput. * * %__GFP_RETRY_MAYFAIL: The VM implementation will retry memory reclaim * procedures that have previously failed if there is some indication - * that progress has been made else where. It can wait for other - * tasks to attempt high level approaches to freeing memory such as + * that progress has been made elsewhere. It can wait for other + * tasks to attempt high-level approaches to freeing memory such as * compaction (which removes fragmentation) and page-out. * There is still a definite limit to the number of retries, but it is * a larger limit than with %__GFP_NORETRY. @@ -230,7 +230,7 @@ typedef unsigned int __bitwise gfp_t; * is being zeroed (either via __GFP_ZERO or via init_on_alloc, provided that * __GFP_SKIP_ZERO is not set). This flag is intended for optimization: setting * memory tags at the same time as zeroing memory has minimal additional - * performace impact. + * performance impact. * * %__GFP_SKIP_KASAN makes KASAN skip unpoisoning on page allocation. * Used for userspace and vmalloc pages; the latter are unpoisoned by