From: Matthew Wilcox <willy@infradead.org>
To: gchen.guomin@gmail.com
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
Jason Wang <jasowang@redhat.com>,
Christoph Hellwig <hch@infradead.org>,
Andrew Morton <akpm@linux-foundation.org>,
"Luis R. Rodriguez" <mcgrof@kernel.org>,
guominchen@tencent.com,
"Eric W. Biederman" <ebiederm@xmission.com>,
Dominik Brodowski <linux@dominikbrodowski.net>,
Arnd Bergmann <arnd@arndb.de>,
linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH] Export mm_update_next_owner function for unuse_mm.
Date: Tue, 18 Dec 2018 04:47:10 -0800 [thread overview]
Message-ID: <20181218124710.GU10600@bombadil.infradead.org> (raw)
In-Reply-To: <1545104531-30658-1-git-send-email-gchen.guomin@gmail.com>
On Tue, Dec 18, 2018 at 11:42:11AM +0800, gchen.guomin@gmail.com wrote:
> +EXPORT_SYMBOL(mm_update_next_owner);
Unless you've figured out how to build mmu_context.c as a module, you
don't need to EXPORT the symbol. Just the below hunk is enough.
> diff --git a/mm/mmu_context.c b/mm/mmu_context.c
> index 3e612ae..9eb81aa 100644
> --- a/mm/mmu_context.c
> +++ b/mm/mmu_context.c
> @@ -60,5 +60,6 @@ void unuse_mm(struct mm_struct *mm)
> /* active_mm is still 'mm' */
> enter_lazy_tlb(mm, tsk);
> task_unlock(tsk);
> + mm_update_next_owner(mm);
> }
> EXPORT_SYMBOL_GPL(unuse_mm);
> --
> 1.8.3.1
>
next prev parent reply other threads:[~2018-12-18 12:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-18 3:42 gchen.guomin
2018-12-18 4:38 ` Michael S. Tsirkin
2018-12-18 5:27 ` gchen chen
2018-12-18 12:47 ` Matthew Wilcox [this message]
2018-12-18 13:34 ` gchen chen
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=20181218124710.GU10600@bombadil.infradead.org \
--to=willy@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=ebiederm@xmission.com \
--cc=gchen.guomin@gmail.com \
--cc=guominchen@tencent.com \
--cc=hch@infradead.org \
--cc=jasowang@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux@dominikbrodowski.net \
--cc=mcgrof@kernel.org \
--cc=mst@redhat.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