commit | c7ccbf4b6174e32c130892570db06d0f496cfef0 | [log] [tgz] |
---|---|---|
author | Andrey Ryabinin <arbn@yandex-team.com> | Mon Nov 15 19:46:05 2021 +0300 |
committer | Peter Zijlstra <peterz@infradead.org> | Tue Nov 23 09:55:22 2021 +0100 |
tree | 92fb3ed324c0b01c187392c70c98ed4e0f36a66e | |
parent | 9731698ecb9c851f353ce2496292ff9fcea39dff [diff] |
cpuacct: Convert BUG_ON() to WARN_ON_ONCE() Replace fatal BUG_ON() with more safe WARN_ON_ONCE() in cpuacct_cpuusage_read(). Signed-off-by: Andrey Ryabinin <arbn@yandex-team.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20211115164607.23784-2-arbn@yandex-team.com