From: Klaus Herb <klaus.herb@ikon-gmbh.de>
To: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: ppp_synctty and in_interrupt
Date: Thu, 13 Jun 2002 16:25:33 +0200 [thread overview]
Message-ID: <01C212F6.F1993680.klaus.herb@ikon-gmbh.de> (raw)
Hello,
I am currently developing a tty-Driver which is used for synchronous PPP.
System:
Board Special Hardware with a Motorola XPC8260 Microcontroller
OS Elinos V2 with Kernel Version 2.4.3
PPP pppd and ppp Modules Version 2.4.1
The following Problem occurs:
The ppp_synctty ldisc only calls my ttywrite function in interrupt context.
But to avoid a race condition I must include a Semaphore in my ttywrite
function, so I get a Kernel Oops when this Semaphore causes a call to
schedule().
Is there a way to stop this ppp_synctty ldisc from sending in Interrupt
Context?
or
Why does this ldisc only write in interrupt context?
Please CC your replay to klaus.herb@ikon-gmbh.de
Thanks!
Klaus Herb
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Klaus Herb
ikon GmbH
Benzstrasse 17
89079 Ulm
Germany
phone +49/731/94661-0
fax +49/731/94661-61
mailto:klaus.herb@ikon-gmbh.de
http://www.ikon-gmbh.de
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
next reply other threads:[~2002-06-13 14:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-13 14:25 Klaus Herb [this message]
2002-06-13 15:06 ` Paul Fulghum
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=01C212F6.F1993680.klaus.herb@ikon-gmbh.de \
--to=klaus.herb@ikon-gmbh.de \
--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 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®