summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2018-10-16 16:45:39 +0300
committerIngo Molnar <mingo@kernel.org>2018-10-17 09:30:10 +0300
commit11e13696a08e838ba48c72404c2b3f41429b5b20 (patch)
tree7c730b6e28bdb7cb3415e541e2b7283c4e6f0054 /arch/arm
parent0c373344b5c1eaa9e186368a32a169a2802be3ca (diff)
downloadlinux-11e13696a08e838ba48c72404c2b3f41429b5b20.tar.xz
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 <hofrat@osadl.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: john.garry@huawei.com Link: http://lkml.kernel.org/r/1539697539-24055-1-git-send-email-hofrat@osadl.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions