commit | ecfc2bda7aafc5c87b69a3d7a1fc1016dd21d5a7 | [log] [tgz] |
---|---|---|
author | zhouchuangao <zhouchuangao@vivo.com> | Tue May 04 18:40:00 2021 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed May 05 11:27:27 2021 -0700 |
tree | 6b7335a1c81636255207de32b3df75832b615e0c | |
parent | 79cd420248c776005d534416bfc9b04696e6c729 [diff] |
mm/zsmalloc: use BUG_ON instead of if condition followed by BUG. It can be optimized at compile time. Link: https://lkml.kernel.org/r/1616727798-9110-1-git-send-email-zhouchuangao@vivo.com Signed-off-by: zhouchuangao <zhouchuangao@vivo.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>