Re: Setjmp/Longjmp in the kernel?

From: Kasper Dupont (
Date: Wed Feb 12 2003 - 05:55:32 EST

Olaf Titz wrote:
> Not that this matters any bit, but the proper order is of course
> alloc this
> alloc that
> _foo_func()
> free that
> free this
> even if only for aesthetical reasons :-)
> (with locks, it does matter...)

For locks it is only when you lock the order matters, not when
you unlock. For allocations there is of course the possibility
that the first allocation suceeds and the second fails, which
you must handle in some way.

Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:39 EST