summaryrefslogtreecommitdiffstats
path: root/scripts/tags.sh
diff options
context:
space:
mode:
authorJulia Lawall2018-05-21 08:58:59 +0200
committerMasahiro Yamada2018-05-22 16:00:23 +0200
commit21195f8e9a473035dc692a40a145f4f083fe5c1f (patch)
tree65eb26573939cfa05f5f446bd7e4c05b36389a0f /scripts/tags.sh
parentcoccinelle: mini_lock: improve performance (diff)
downloadkernel-qcow2-linux-21195f8e9a473035dc692a40a145f4f083fe5c1f.tar.gz
kernel-qcow2-linux-21195f8e9a473035dc692a40a145f4f083fe5c1f.tar.xz
kernel-qcow2-linux-21195f8e9a473035dc692a40a145f4f083fe5c1f.zip
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>
Diffstat (limited to 'scripts/tags.sh')
0 files changed, 0 insertions, 0 deletions