aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2020-11-30 11:09:49 +0100
committerJakub Kicinski <[email protected]>2020-12-01 16:56:02 -0800
commit04e4e469f99ae117080135d5069767f3c2455191 (patch)
tree77c4fadc0003455aa974f0e57f086500a06aa746 /tools/perf/scripts/python/sched-migration.py
parent8dc4b6af0838cbad8e045a410667e7009bbc7c67 (diff)
s390/ctcm: Use GFP_KERNEL in add_channel().
gfp_type() uses in_interrupt() to figure out the correct GFP mask. The usage of in_interrupt() in drivers is phased out and Linus clearly requested that code which changes behaviour depending on context should either be separated or the context be conveyed in an argument passed by the caller, which usually knows the context. The memory allocation of `ch' a few lines above is using GFP_KERNEL, also an allocation a few lines later is using GFP_KERNEL. Use GFP_KERNEL for the memory allocation. Reviewed-by: Julian Wiedmann <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Julian Wiedmann <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions