From: Miaohe Lin <linmiaohe@huawei.com>
To: <akpm@linux-foundation.org>, <hughd@google.com>
Cc: <linux-mm@kvack.org>, <linux-kernel@vger.kernel.org>,
<linmiaohe@huawei.com>
Subject: [PATCH 2/4] shmem: remove unneeded header file
Date: Thu, 12 Aug 2021 20:03:48 +0800 [thread overview]
Message-ID: <20210812120350.49801-3-linmiaohe@huawei.com> (raw)
In-Reply-To: <20210812120350.49801-1-linmiaohe@huawei.com>
mfill_atomic_install_pte() is introduced to install pte and update mmu
cache since commit bf6ebd97aba0 ("userfaultfd/shmem: modify
shmem_mfill_atomic_pte to use install_pte()"). So we should remove
tlbflush.h as update_mmu_cache() is not called here now.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
mm/shmem.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/mm/shmem.c b/mm/shmem.c
index bf4a47419521..41d2900153d9 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -39,8 +39,6 @@
#include <linux/frontswap.h>
#include <linux/fs_parser.h>
-#include <asm/tlbflush.h> /* for arch/microblaze update_mmu_cache() */
-
static struct vfsmount *shm_mnt;
#ifdef CONFIG_SHMEM
--
2.23.0
next prev parent reply other threads:[~2021-08-12 12:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-12 12:03 [PATCH 0/4] Cleanups for shmem Miaohe Lin
2021-08-12 12:03 ` [PATCH 1/4] shmem: remove unneeded variable ret Miaohe Lin
2021-08-12 12:03 ` Miaohe Lin [this message]
2021-08-12 12:03 ` [PATCH 3/4] shmem: remove unneeded function forward declaration Miaohe Lin
2021-08-12 12:03 ` [PATCH 4/4] shmem: include header file to declare swap_info Miaohe Lin
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=20210812120350.49801-3-linmiaohe@huawei.com \
--to=linmiaohe@huawei.com \
--cc=akpm@linux-foundation.org \
--cc=hughd@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox