linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Mike Rapoport <rppt@kernel.org>
To: Jakub Wilk <jwilk@jwilk.net>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Kefeng Wang <wangkefeng.wang@huawei.com>,
	linux-mm@kvack.org
Subject: Re: [PATCH] mm: Fix typo in __vm_enough_memory warning
Date: Sun, 12 Feb 2023 17:33:14 +0200	[thread overview]
Message-ID: <Y+kGuqI2jTg8giPn@kernel.org> (raw)
In-Reply-To: <20230210203316.5613-1-jwilk@jwilk.net>

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.


      reply	other threads:[~2023-02-12 15:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-10 20:33 [PATCH] mm: Fix typo in __vm_enough_memory warning Jakub Wilk
2023-02-12 15:33 ` Mike Rapoport [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y+kGuqI2jTg8giPn@kernel.org \
    --to=rppt@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=jwilk@jwilk.net \
    --cc=linux-mm@kvack.org \
    --cc=wangkefeng.wang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).