* [PATCH] mm: Fix typo in __vm_enough_memory warning
@ 2023-02-10 20:33 Jakub Wilk
2023-02-12 15:33 ` Mike Rapoport
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Wilk @ 2023-02-10 20:33 UTC (permalink / raw)
To: Andrew Morton; +Cc: Kefeng Wang, linux-mm
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
---
mm/util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/util.c b/mm/util.c
index b56c92fb910f..de9b494ab601 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -945,7 +945,7 @@ int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin)
if (percpu_counter_read_positive(&vm_committed_as) < allowed)
return 0;
error:
- pr_warn_ratelimited("%s: pid: %d, comm: %s, no enough memory for the allocation\n",
+ pr_warn_ratelimited("%s: pid: %d, comm: %s, not enough memory for the allocation\n",
__func__, current->pid, current->comm);
vm_unacct_memory(pages);
--
2.39.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mm: Fix typo in __vm_enough_memory warning
2023-02-10 20:33 [PATCH] mm: Fix typo in __vm_enough_memory warning Jakub Wilk
@ 2023-02-12 15:33 ` Mike Rapoport
0 siblings, 0 replies; 2+ messages in thread
From: Mike Rapoport @ 2023-02-12 15:33 UTC (permalink / raw)
To: Jakub Wilk; +Cc: Andrew Morton, Kefeng Wang, linux-mm
On Fri, Feb 10, 2023 at 09:33:16PM +0100, Jakub Wilk wrote:
> Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
> ---
> mm/util.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/util.c b/mm/util.c
> index b56c92fb910f..de9b494ab601 100644
> --- a/mm/util.c
> +++ b/mm/util.c
> @@ -945,7 +945,7 @@ int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin)
> if (percpu_counter_read_positive(&vm_committed_as) < allowed)
> return 0;
> error:
> - pr_warn_ratelimited("%s: pid: %d, comm: %s, no enough memory for the allocation\n",
> + pr_warn_ratelimited("%s: pid: %d, comm: %s, not enough memory for the allocation\n",
> __func__, current->pid, current->comm);
> vm_unacct_memory(pages);
>
> --
> 2.39.1
>
>
--
Sincerely yours,
Mike.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-12 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-10 20:33 [PATCH] mm: Fix typo in __vm_enough_memory warning Jakub Wilk
2023-02-12 15:33 ` Mike Rapoport
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).