mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kasper Dupont <kasperd@daimi.au.dk>
To: Olaf Titz <olaf@bigred.inka.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Setjmp/Longjmp in the kernel?
Date: Wed, 12 Feb 2003 11:55:32 +0100	[thread overview]
Message-ID: <3E4A2824.5D915F9F@daimi.au.dk> (raw)
In-Reply-To: <E18iMLx-00020k-00@bigred.inka.de>

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 mailto:aaarep@daimi.au.dk
for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_);

  reply	other threads:[~2003-02-12 10:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-09 22:10 John W. M. Stevens
2003-02-10 13:00 ` Alan Cox
2003-02-10 22:24   ` Olaf Titz
2003-02-12 10:55     ` Kasper Dupont [this message]
2003-02-12 19:45       ` John W. M. Stevens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E4A2824.5D915F9F@daimi.au.dk \
    --to=kasperd@daimi.au.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olaf@bigred.inka.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®