From: Kees Cook <keescook@chromium.org>
To: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
fmdefrancesco@gmail.com, linux-fsdevel@vger.kernel.org,
ebiederm@xmission.com, Al Viro <viro@zeniv.linux.org.uk>
Cc: Kees Cook <keescook@chromium.org>, ira.weiny@intel.com
Subject: Re: [PATCH v2] fs: Replace kmap{,_atomic}() with kmap_local_page()
Date: Tue, 16 Aug 2022 12:13:08 -0700 [thread overview]
Message-ID: <166067718637.5584.14452180962626793627.b4-ty@chromium.org> (raw)
In-Reply-To: <20220803182856.28246-1-fmdefrancesco@gmail.com>
On Wed, 3 Aug 2022 20:28:56 +0200, Fabio M. De Francesco wrote:
> The use of kmap() and kmap_atomic() are being deprecated in favor of
> kmap_local_page().
>
> There are two main problems with kmap(): (1) It comes with an overhead as
> mapping space is restricted and protected by a global lock for
> synchronization and (2) it also requires global TLB invalidation when the
> kmap’s pool wraps and it might block when the mapping space is fully
> utilized until a slot becomes available.
>
> [...]
Applied to for-next/execve, thanks!
[1/1] fs: Replace kmap{,_atomic}() with kmap_local_page()
https://git.kernel.org/kees/c/3a608cfee97e
--
Kees Cook
prev parent reply other threads:[~2022-08-16 19:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-03 18:28 Fabio M. De Francesco
2022-08-13 13:36 ` Fabio M. De Francesco
2022-08-16 19:08 ` Kees Cook
2022-08-16 19:13 ` Kees Cook [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=166067718637.5584.14452180962626793627.b4-ty@chromium.org \
--to=keescook@chromium.org \
--cc=ebiederm@xmission.com \
--cc=fmdefrancesco@gmail.com \
--cc=ira.weiny@intel.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=viro@zeniv.linux.org.uk \
/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