linux/scripts/coccinelle
Julia Lawall 21195f8e9a coccinelle: deref_null: improve performance
Move rules looking for some special cases of safe dereferences before
the collection of NULL-tested values.  The special cases are fairly
rare, but somewhat costly to find, because isomorphisms create many
variants of the rules.  There is thus no need to search for them over
and over for each NULL tested expression.  Collecting them just once
is sufficient and more efficient.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-05-22 23:00:23 +09:00
..
api Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
free coccinelle: devm_free: reduce false positives 2018-02-07 23:53:09 +09:00
iterators coccinelle: use exists to improve efficiency 2017-11-14 23:21:16 +09:00
locks coccinelle: mini_lock: improve performance 2018-05-22 23:00:23 +09:00
misc Coccinelle: array_size: report even if include is missing 2018-01-16 23:38:52 +09:00
null coccinelle: deref_null: improve performance 2018-05-22 23:00:23 +09:00
tests coccinelle: tests: unsigned value cannot be lesser than zero 2016-01-12 17:47:47 +01:00