From: Juergen Gross <jgross@suse.com>
To: Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>,
outreachy@lists.linux.dev
Cc: boris.ostrovsky@oracle.com, sstabellini@kernel.org,
xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org,
ira.weiny@intel.com
Subject: Re: [PATCH] xen: gntalloc.c: Convert kmap() to kmap_local_page()
Date: Tue, 19 Apr 2022 11:16:31 +0200 [thread overview]
Message-ID: <cc7e517a-b1e7-95f1-d230-a635f7d84ef5@suse.com> (raw)
In-Reply-To: <20220418061927.6833-1-eng.alaamohamedsoliman.am@gmail.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 485 bytes --]
On 18.04.22 08:19, Alaa Mohamed wrote:
> The use of kmap() is being deprecated in favor of kmap_local_page()
> where it is feasible.
>
> With kmap_local_page(), the mapping is per thread, CPU local and not
> globally visible. Therefore __del_gref() is a function
> where the use of kmap_local_page() in place of kmap() is correctly
> suited.
>
> Signed-off-by: Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Juergen
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3149 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
prev parent reply other threads:[~2022-04-19 9:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-18 6:19 Alaa Mohamed
2022-04-18 7:11 ` Julia Lawall
2022-04-19 9:16 ` Juergen Gross [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=cc7e517a-b1e7-95f1-d230-a635f7d84ef5@suse.com \
--to=jgross@suse.com \
--cc=boris.ostrovsky@oracle.com \
--cc=eng.alaamohamedsoliman.am@gmail.com \
--cc=ira.weiny@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=outreachy@lists.linux.dev \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.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
all inboxes | Powered by JetHome®