From: Pavel Machek <pavel@suse.cz>
To: Rik van Riel <riel@conectiva.com.br>
Cc: Pavel Machek <pavel@suse.cz>, Hu Gang <hugang@soulinfo.com>,
linux-kernel@vger.kernel.org
Subject: Re: patch for 2.5.42. 2/2
Date: Tue, 15 Oct 2002 22:11:04 +0200 [thread overview]
Message-ID: <20021015201104.GE19330@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <Pine.LNX.4.44L.0210151208300.1648-100000@duckman.distro.conectiva>
Hi!
> > > better to just have the network layer stop operations when the
> > > system is going into suspend, instead of having to modify 100
> > > individual network drivers ?
> >
> > Whole userland is stopped at that point. That should mean that new
> > requests can not come.
> >
> > OTOH packet from the network *can* come, and higher levels can not do
> > much with that.
>
> Higher layers can throw away the packet. This means you just
> need to modify the higher layer at one or two places, instead
> of needing to modify every single network driver out there.
>
> I don't need to tell you which of these two options is gonna
> be the easiest to maintain, do I ?
No, that one is simple.
What is not so simple is seeing that throwing that packet away is not
enough. Receiving packet means DMA, and DMA is no-no during S4
resume. So simply throwing packet away is not enough.
Pavel
--
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
prev parent reply other threads:[~2002-10-15 20:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-13 3:20 Hu Gang
2002-10-13 3:34 ` Rik van Riel
2002-10-13 3:33 ` Hu Gang
2002-10-14 16:52 ` Pavel Machek
2002-10-15 14:10 ` Rik van Riel
2002-10-15 20:11 ` Pavel Machek [this message]
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=20021015201104.GE19330@atrey.karlin.mff.cuni.cz \
--to=pavel@suse.cz \
--cc=hugang@soulinfo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=riel@conectiva.com.br \
/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®