[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <162282951519.3080953.11346638083845350363.b4-ty@chromium.org>
Date: Fri, 4 Jun 2021 10:58:38 -0700
From: Kees Cook <keescook@...omium.org>
To: Bill Wendling <wcw@...gle.com>,
Nathan Chancellor <nathan@...nel.org>,
Jarmo Tiitto <jarmo.tiitto@...il.com>,
linux-kernel@...r.kernel.org, clang-built-linux@...glegroups.com,
Nick Desaulniers <ndesaulniers@...gle.com>,
Sami Tolvanen <samitolvanen@...gle.com>
Cc: Kees Cook <keescook@...omium.org>, morbo@...gle.com
Subject: Re: [PATCH v3 1/1] pgo: Fix allocate_node() v2
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
Powered by blists - more mailing lists