Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2005 00:57:55 +0100
From:      =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V.Haisman@sh.cvut.cz>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        freebsd-hackers@freebsd.org, dunstan@freebsd.czest.pl
Subject:   Re: [CALL FOR TESTERS] New system call: abort2()
Message-ID:  <43A20303.6020005@sh.cvut.cz>
In-Reply-To: <2936.1134689529@critter.freebsd.dk>
References:  <2936.1134689529@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig990A9AB4B4BAC8A7A0E8AFEC
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit



Poul-Henning Kamp wrote:
> In message <20051215.162352.28837879.imp@bsdimp.com>, Warner Losh writes:
> 
> 
>>>On the similar note, the ability to move declarations closer to the
>>>point of use in code is IMO nice feature, too. The style(9) doesn't
>>>mention this either.
>>
>>C doesn't allow it, or didn't until recently.  That style tends to
>>lead to really gross things too.  Functions should be short enough
>>that it doesn't matter.
(I haven't gotten this email yet.)
Anything can lead to really gross things if misused.

> 
> 
> Also, it tends to make it harder to judge the amount of stackspace
> a function uses, something which is not entirely uninteresting in
> kernel programming.
While it might be harder to get estimate of stack space allocation I
suspect it could actually lower the allocation.

> 
> And yes, changing style(9) is just not worth the time it takes.
> 

Vaclav Haisman

--------------enig990A9AB4B4BAC8A7A0E8AFEC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQ6IDF256zbtzMDG0AQJRtAf/StPgSCbm2aW+59UBM+9ET+Rn9UjnZSpm
n7TMgQibWfbeXsiVQguUMxC+Uc49x1BOTpSsEdymGfyX1GOIu3Qb+t2U8V/EU3gp
e4xifWmL5OsDYtUOVC11t6GD7IsVsRQ8arabsaoU67i0pFIdipM8acd54x/NuP6W
5YI93pi+NjHsziOd/lLXDLf/J23UHrsZfD/wywCvtGPmh9tm2P4+kVzN48lD7eUe
p1V7fwMv1uLV7Fqzoik4+2Wr9vHiKR2cTD4fQ+u5db8T/rNwIAXXaieD7fVaimwb
pbs1Tb4l4NBMjW2RGrYQ0lRGCZLRvekC7OO86z2STaDp5fxzbxE3Ig==
=+jU4
-----END PGP SIGNATURE-----

--------------enig990A9AB4B4BAC8A7A0E8AFEC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43A20303.6020005>