aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-mod-param.m4
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2021-08-17 11:55:34 -0400
committerTony Hutter <[email protected]>2021-09-14 14:31:22 -0700
commit61773f41b898a53e8af0f4c242764d74fa2be55c (patch)
treee8cfc2158b55f3aca9c137ab5a7c12bcdcd5a4fc /config/kernel-mod-param.m4
parent40e02f49e9e6ea36836e39ef96e5353531715cdc (diff)
Optimize arc_l2c_only lists assertions
It is very expensive and not informative to call multilist_is_empty() for each arc_change_state() on debug builds to check for impossible. Instead implement special index function for arc_l2c_only->arcs_list, multilists, panicking on any attempt to use it. Reviewed-by: Mark Maybee <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Closes #12421
Diffstat (limited to 'config/kernel-mod-param.m4')
0 files changed, 0 insertions, 0 deletions