From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
To: Joonsoo Kim <js1304@gmail.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>, linux-mm@kvack.org
Subject: Re: mm/kasan: zero_p4d_populate() problem?
Date: Fri, 12 May 2017 14:04:01 +0300 [thread overview]
Message-ID: <20170512110401.xbmkfp4alatikyuq@black.fi.intel.com> (raw)
In-Reply-To: <20170512055320.GA16929@js1304-desktop>
On Fri, May 12, 2017 at 02:53:22PM +0900, Joonsoo Kim wrote:
> Hello, Kirill.
>
> I found that zero_p4d_populate() in mm/kasan/kasan_init.c of
> next-20170511 doesn't get the benefit of the kasan_zero_pud.
> Do we need to fix it by adding
> "pud_populate(&init_mm, pud, lm_alias(kasan_zero_pud));" when
> alignment requirement is met?
It's not a fix, but optimization. But it makes sense to implement this.
Feel free to send a patch.
--
Kirill A. Shutemov
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2017-05-12 11:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-12 5:53 Joonsoo Kim
2017-05-12 11:04 ` Kirill A. Shutemov [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=20170512110401.xbmkfp4alatikyuq@black.fi.intel.com \
--to=kirill.shutemov@linux.intel.com \
--cc=aryabinin@virtuozzo.com \
--cc=js1304@gmail.com \
--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