pgo: add clang's Profile Guided Optimization infrastructure
Subsystems (2)
Quoted 9 lines · Nathan Chancellor
Quoted 4 lines · Kees Cook
I've added this to patch to my -next tree now:
Would this be appropriate to send? Someone sent some patches based on this work so it would be nice to solidify how they will get to Linus if/when the time comes :)
Yeah, good idea.
Quoted 6 lines
https://lore.kernel.org/r/[email protected]/
https://lore.kernel.org/r/[email protected]/
https://lore.kernel.org/r/[email protected]/
https://lore.kernel.org/r/[email protected]/
https://lore.kernel.org/r/[email protected]/
https://lore.kernel.org/r/[email protected]/
BTW, Jarmo, if you haven't had this suggested yet, I'd recommend using this kind of a script for your email sending workflow to get a set of threaded patches:
#!/bin/sh
set -x
MYSELF="Your Name <[email protected]>"
prefix="PATCH"
# or
#prefix="PATCH v2"
# etc...
SHA="SHA your series is based on"
format_args="--cover-letter -n -o outgoing/"
maint_args="--norolestats"
mkdir -p outgoing
git format-patch $format_args --subject-prefix "$prefix" "$SHA"
./scripts/checkpatch.pl "$@" --codespell outgoing/0*patch
${EDITOR:-vi} outgoing/*
# Send patches
git send-email --transfer-encoding=8bit --8bit-encoding=UTF-8 \ --no-chain-reply-to --thread \ --from="$MYSELF" --cc="$MYSELF" \ --to-cmd="./scripts/get_maintainer.pl $maint_args -m" \ --cc-cmd="./scripts/get_maintainer.pl $maint_args --nom" \ outgoing/*
Quoted 11 lines
Cheers,
Nathan======================================
MAINTAINERS +0
-0
MAINTAINERS F: include/uapi/linux/personality.h · line 14387
Quoted 10 lines
MAINTAINERS +4
-0@@ -14378,9 +14378,13 @@ F: include/uapi/linux/personality.h PGO BASED KERNEL PROFILING M: Sami Tolvanen <[email protected]> M: Bill Wendling <[email protected]> +M: Kees Cook <[email protected]> R: Nathan Chancellor <[email protected]> R: Nick Desaulniers <[email protected]> +L: [email protected] S: Supported +B: https://github.com/ClangBuiltLinux/linux/issues +T: git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/clang/pgo
I think I'm going to keep things combined in a single tree for now since the patch rate is low:
+T: git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/clang/features
MAINTAINERS F: include/uapi/linux/personality.h · line 14390
Quoted 3 lines
MAINTAINERS +0
-0F: Documentation/dev-tools/pgo.rst F: kernel/pgo/
I should likely do the same entry for CFI.
Signature · 1 line
Kees Cook