Re: syscall nesting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 04, 2006 at 07:50:11PM +0200, Fernando Apesteguía wrote:
>...
> And it is widely known that the use of "goto" is not a good programming
> practice and the linux kernel uses it (for performance reasons, I think).
>...

It is widely known that the _abuse_ of "goto" is not a good programming 
practice.

The use in the kernel is not for performance reasons, it's a clean way 
of error handling.

If you'd look at the code, you'd understand this.

> Best regards

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux