There are numerous places in the Linux Kernel where the C_Programming_Books_Most_Dreaded statement ('goto' of course) is used. For instance, take a look at kernel/fork.c:copy_mm(). Why is that ? I googled up reasons like minimizing return points, but is that it ?
A good explanation is given here: http://kerneltrap.org/node/553 -- Pradeep Padala http://ppadala.blogspot.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/