From: Muchun Song <songmuchun@bytedance.com>
To: Xiyu Yang <xiyuyang19@fudan.edu.cn>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Feng Tang <feng.tang@intel.com>,
Mike Kravetz <mike.kravetz@oracle.com>,
Ben Widawsky <ben.widawsky@intel.com>,
Yanfei Xu <yanfei.xu@windriver.com>,
LKML <linux-kernel@vger.kernel.org>,
Linux Memory Management List <linux-mm@kvack.org>,
yuanxzhang@fudan.edu.cn, Xin Tan <tanxin.ctf@gmail.com>
Subject: Re: [PATCH] mm/mempolicy: Convert from atomic_t to refcount_t on mempolicy->refcnt
Date: Wed, 21 Jul 2021 14:42:17 +0800 [thread overview]
Message-ID: <CAMZfGtXFsxj9b--ZcZgAdcebeeMzivpmJPamBqtn76k4m0d3ZA@mail.gmail.com> (raw)
In-Reply-To: <1626683671-64407-1-git-send-email-xiyuyang19@fudan.edu.cn>
On Mon, Jul 19, 2021 at 4:34 PM Xiyu Yang <xiyuyang19@fudan.edu.cn> wrote:
>
> refcount_t type and corresponding API can protect refcounters from
> accidental underflow and overflow and further use-after-free situations.
>
> Signed-off-by: Xiyu Yang <xiyuyang19@fudan.edu.cn>
> Signed-off-by: Xin Tan <tanxin.ctf@gmail.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
prev parent reply other threads:[~2021-07-21 6:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-19 8:34 Xiyu Yang
2021-07-20 15:37 ` Ben Widawsky
2021-07-21 6:42 ` Muchun Song [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=CAMZfGtXFsxj9b--ZcZgAdcebeeMzivpmJPamBqtn76k4m0d3ZA@mail.gmail.com \
--to=songmuchun@bytedance.com \
--cc=akpm@linux-foundation.org \
--cc=ben.widawsky@intel.com \
--cc=feng.tang@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mike.kravetz@oracle.com \
--cc=tanxin.ctf@gmail.com \
--cc=xiyuyang19@fudan.edu.cn \
--cc=yanfei.xu@windriver.com \
--cc=yuanxzhang@fudan.edu.cn \
/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