From: Borislav Petkov <bp@alien8.de>
To: Wupeng Ma <mawupeng1@huawei.com>
Cc: akpm@linux-foundation.org, dave.hansen@linux.intel.com,
luto@kernel.org, peterz@infradead.org,
linux-kernel@vger.kernel.org, x86@kernel.org
Subject: Re: [PATCH -next 1/2] x86/mm/pat: Move follow_phys to pat-related file
Date: Mon, 6 Mar 2023 10:04:33 +0100 [thread overview]
Message-ID: <20230306090433.GBZAWsoQJKSpQ0AWYl@fat_crate.local> (raw)
In-Reply-To: <20230306084316.2275757-2-mawupeng1@huawei.com>
On Mon, Mar 06, 2023 at 04:43:15PM +0800, Wupeng Ma wrote:
> From: Ma Wupeng <mawupeng1@huawei.com>
>
> Since only PAT in x86 use follow_phys(), move this to from memory.c to
> memtype.c and make it static. Argument flags is always zero in caller
> untrack_pfn() and track_pfn_copy(). let's drop it.
>
> Since config HAVE_IOREMAP_PROT is selected by x86, drop this config macro.
* first patch: *only* code movement, no other changes
* second patch: do semantic changes and explain *why* you do them
* third patch:...
*...
In that order please. Otherwise review is unnecessarily complicated.
Also, do not talk about *what* the patch is doing in the commit message
- that should be obvious from the diff itself. Rather, concentrate on
the *why* it needs to be done.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
next prev parent reply other threads:[~2023-03-06 9:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-06 8:43 [PATCH -next 0/2] Minor cleanup in PAT Wupeng Ma
2023-03-06 8:43 ` [PATCH -next 1/2] x86/mm/pat: Move follow_phys to pat-related file Wupeng Ma
2023-03-06 9:04 ` Borislav Petkov [this message]
2023-03-06 9:17 ` mawupeng
2023-03-06 8:43 ` [PATCH -next 2/2] x86/mm/pat: Drop the unnecessary WARN_ON_ONCE if follow_phys fails Wupeng Ma
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=20230306090433.GBZAWsoQJKSpQ0AWYl@fat_crate.local \
--to=bp@alien8.de \
--cc=akpm@linux-foundation.org \
--cc=dave.hansen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mawupeng1@huawei.com \
--cc=peterz@infradead.org \
--cc=x86@kernel.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®