diff options
| author | Miaohe Lin <[email protected]> | 2021-02-24 12:04:36 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-02-24 13:38:30 -0800 |
| commit | c045c72ccde3a267963f8e85f388db4c40dea3b3 (patch) | |
| tree | 90b73722638b853079536fa8b453acda7e4d7073 /tools/perf/scripts/python/bin | |
| parent | 90a3e375d324b2255b83e3dd29e99e2b05d82aaf (diff) | |
mm/pgtable-generic.c: simplify the VM_BUG_ON condition in pmdp_huge_clear_flush()
The condition (A && !C && !D) || !A is equivalent to !A || (A && !C && !D)
and can be further simplified to !A || (!C && !D).
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions