The comment about local_lock_irqsave() mentions just the counters andcss_put_many()'s callback just invokes a worker so it is safe to move theunlock function after memcg_check_events() so css_put_many() can be invokedwithout the lock acquired.