diff options
author | Vlastimil Babka <[email protected]> | 2021-05-21 01:25:06 +0200 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2021-09-03 23:56:49 +0200 |
commit | 84048039d7774c363951ee6fc41c5d26f50f72fd (patch) | |
tree | 1d81219e9e0d6fb518cbe1f98a0f85f404601248 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 0a19e7dd928800da66efe429c25b0adc3a07c534 (diff) |
mm, slub: don't disable irq for debug_check_no_locks_freed()
In slab_free_hook() we disable irqs around the debug_check_no_locks_freed()
call, which is unnecessary, as irqs are already being disabled inside the call.
This seems to be leftover from the past where there were more calls inside the
irq disabled sections. Remove the irq disable/enable operations.
Mel noted:
> Looks like it was needed for kmemcheck which went away back in 4.15
Signed-off-by: Vlastimil Babka <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions