diff options
author | 2021-08-15 23:29:15 +0200 | |
---|---|---|
committer | 2021-08-17 19:05:54 +0200 | |
commit | d69cba5c719b0c551f6380ec5da4ed8c20a3815a (patch) | |
tree | a402dea690a0e99a1cd54746e5f1fc52377e1857 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | futex: Clarify comment in futex_requeue() (diff) | |
download | linux-dev-d69cba5c719b0c551f6380ec5da4ed8c20a3815a.tar.xz linux-dev-d69cba5c719b0c551f6380ec5da4ed8c20a3815a.zip |
futex: Reorder sanity checks in futex_requeue()
No point in allocating memory when the input parameters are bogus.
Validate all parameters before proceeding.
Suggested-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210815211305.581789253@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions