diff options
author | Nicholas Mc Guire <[email protected]> | 2018-10-16 15:45:39 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-10-17 08:30:10 +0200 |
commit | 11e13696a08e838ba48c72404c2b3f41429b5b20 (patch) | |
tree | 7c730b6e28bdb7cb3415e541e2b7283c4e6f0054 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0c373344b5c1eaa9e186368a32a169a2802be3ca (diff) |
sched/completions/Documentation: Add recommendation for dynamic and ONSTACK completions
To prevent dynamic completion objects from being de-allocated while still
in use, add a recommendation to embed them in long lived data structures.
Also add a note for the on-stack case that emphasizes the dangers of
the limited scope, and recommends dynamic allocation if scope limitations
are not clearly understood.
[ mingo: Minor touch-ups of the text, expanded it a bit to make the
warnings Nicholas added more prominent. ]
Signed-off-by: Nicholas Mc Guire <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions