> What did I do wrong?
>
> [root@iq linux-2.2.0-pre6]# find -name '*.c' -o -name '*.h'|xargs -n 1 grep -c 'goto '|awk 'BEGIN {c=0} {c+=$1} END {print c}'
> 6130
> [root@iq linux-2.2.0-pre6]# cd ../linux-2.0.36
> [root@iq linux-2.0.36]# find -name '*.c' -o -name '*.h'|xargs -n 1 grep -c 'goto '|awk 'BEGIN {c=0} {c+=$1} END {print c}'
> 1826
> [root@iq linux-2.0.36]#
>
> ;)
Gotos are used heavily in the filesystem code, and we have quite a few
more of them now. I think that would account for a lot of it. The
dentry stuff makes for more things which should be unlocked or "put"
which, in turn, makes for more gotos.
I think.
Matthew.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/