All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: mm-commits@vger.kernel.org, rppt@kernel.org, rdunlap@infradead.org
Subject: Re: + mm-fix-get_mctgt_type-kernel-doc-fix.patch added to mm-unstable branch
Date: Tue, 22 Aug 2023 21:25:25 +0100	[thread overview]
Message-ID: <ZOUZtZizeQG7PcsM@casper.infradead.org> (raw)
In-Reply-To: <20230821185454.618FDC433C8@smtp.kernel.org>

On Mon, Aug 21, 2023 at 11:54:53AM -0700, Andrew Morton wrote:
> ------------------------------------------------------
> From: Andrew Morton <akpm@linux-foundation.org>
> Subject: mm-fix-get_mctgt_type-kernel-doc-fix
> Date: Mon Aug 21 11:53:43 AM PDT 2023
> 
> changes suggested by Randy

Randy and I had a further discussion offline, and I added this change
too:

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 26ba9d1a66d1..b29b850cf399 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -5855,10 +5855,10 @@ static int mem_cgroup_move_account(struct page *page,
  * * MC_TARGET_NONE - If the pte is not a target for move charge.
  * * MC_TARGET_PAGE - If the page corresponding to this pte is a target for
  *   move charge. If @target is not NULL, the page is stored in target->page
- *   with extra refcnt taken (Callers should handle it).
+ *   with extra refcnt taken (Caller should release it).
  * * MC_TARGET_SWAP - If the swap entry corresponding to this pte is a
- *   target for charge migration.  If @target is not NULL, the entry is stored
- *   in target->ent.
+ *   target for charge migration.  If @target is not NULL, the entry is
+ *   stored in target->ent.
  * * MC_TARGET_DEVICE - Like MC_TARGET_PAGE but page is device memory and
  *   thus not on the lru.  For now such page is charged like a regular page
  *   would be as it is just special memory taking the place of a regular page.

      reply	other threads:[~2023-08-22 20:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-21 18:54 + mm-fix-get_mctgt_type-kernel-doc-fix.patch added to mm-unstable branch Andrew Morton
2023-08-22 20:25 ` Matthew Wilcox [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=ZOUZtZizeQG7PcsM@casper.infradead.org \
    --to=willy@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=rppt@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.