[CALL FOR TESTERS] New system call: abort2()

Václav Haisman V.Haisman at sh.cvut.cz
Thu Dec 15 15:58:21 PST 2005



Poul-Henning Kamp wrote:
> In message <20051215.162352.28837879.imp at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 546 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20051216/01dc2cab/signature.bin


More information about the freebsd-hackers mailing list