From: Kees Cook <keescook@chromium.org>
To: Bill Wendling <wcw@google.com>,
Nathan Chancellor <nathan@kernel.org>,
Jarmo Tiitto <jarmo.tiitto@gmail.com>,
linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com,
Nick Desaulniers <ndesaulniers@google.com>,
Sami Tolvanen <samitolvanen@google.com>
Cc: Kees Cook <keescook@chromium.org>, morbo@google.com
Subject: Re: [PATCH v3 1/1] pgo: Fix allocate_node() v2
Date: Fri, 4 Jun 2021 10:58:38 -0700 [thread overview]
Message-ID: <162282951519.3080953.11346638083845350363.b4-ty@chromium.org> (raw)
In-Reply-To: <20210604165819.7947-1-jarmo.tiitto@gmail.com>
On Fri, 4 Jun 2021 19:58:20 +0300, Jarmo Tiitto wrote:
> When clang instrumentation eventually calls allocate_node()
> the struct llvm_prf_data *p argument tells us from what section
> we should reserve the vnode: It either points into vmlinux's
> core __llvm_prf_data section or some loaded module's
> __llvm_prf_data section.
>
> But since we don't have access to corresponding
> __llvm_prf_vnds section(s) for any module, the function
> should return just NULL and ignore any profiling attempts
> from modules for now.
Thanks for working on this! I tweaked the commit title, reflowed the
commit log to 80 columns, and adjusted asm-generic to asm.
Applied to for-next/clang/features, thanks!
[1/1] pgo: Limit allocate_node() to vmlinux sections
https://git.kernel.org/kees/c/46773f32ddf1
--
Kees Cook
next prev parent reply other threads:[~2021-06-04 18:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-04 16:58 [PATCH v3 1/1] pgo: Fix allocate_node() v2 Jarmo Tiitto
2021-06-04 17:04 ` Nathan Chancellor
2021-06-04 17:28 ` Nick Desaulniers
2021-06-04 17:58 ` Kees Cook [this message]
2021-06-04 18:06 ` Kees Cook
2021-06-05 17:15 ` Jarmo Tiitto
2021-06-05 23:45 ` Fangrui Song
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=162282951519.3080953.11346638083845350363.b4-ty@chromium.org \
--to=keescook@chromium.org \
--cc=clang-built-linux@googlegroups.com \
--cc=jarmo.tiitto@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=samitolvanen@google.com \
--cc=wcw@google.com \
/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;
as well as URLs for NNTP newsgroup(s).