All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chris Friesen" <cfriesen@nortel.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: legal to call tasklet_schedule() from within schedule()?
Date: Tue, 06 Feb 2007 10:57:06 -0600	[thread overview]
Message-ID: <45C8B362.3000402@nortel.com> (raw)


I'm noodling around with some way to print out error messages from 
within the scheduler itself.  One way that I'm considering is to copy 
messages to a static memory buffer and then trigger a tasklet to do the 
actual printing.  The question I had was whether it's actually legal to 
call tasklet_schedule() from within the schedule() function, or whether 
that could lead to bad things.  Can anyone give me a definitive 
statement on this?

Does anyone have any other suggestions on the best way to do this?

Thanks,

Chris

                 reply	other threads:[~2007-02-06 16:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=45C8B362.3000402@nortel.com \
    --to=cfriesen@nortel.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.