From: Maksim Krasnyanskiy <maxk@qualcomm.com>
To: "David S. Miller" <davem@redhat.com>
Cc: linux-kernel@vger.kernel.org, andrea@suse.de,
torvalds@transmeta.com, kuznet@ms2.inr.ac.ru
Subject: Re: [PATCH] netif_rx from non interrupt context
Date: Tue, 31 Jul 2001 10:11:49 -0700 [thread overview]
Message-ID: <4.3.1.0.20010731100209.05fce100@mail1> (raw)
In-Reply-To: <15206.3993.800893.762127@pizda.ninka.net>
In-Reply-To: <4.3.1.0.20010730121828.05eaf310@mail1> <4.3.1.0.20010730121828.05eaf310@mail1>
> > Generic function for the net drivers that call netif_rx from non interrupt context.
> > And TUN/TAP driver patch.
>
>No, let us do it explicitly in the drivers, not create a new API for this.
Well, the thing is that we can probably optimize that function (like you guys did for a local_bh_enable) because it's
a critical path. Also it makes sense (to me) to hide softirq implementation details from the net drivers.
If softirqs are changed again we can fix one place instead of auditing net drivers.
>Maybe we should add "Send to socket with BH disabled" or a "insert to generic linked list with spinlock held" interfaces too ? :-)
:-)
Max
Maksim Krasnyanskiy
Senior Kernel Engineer
Qualcomm Incorporated
maxk@qualcomm.com
http://bluez.sf.net
http://vtun.sf.net
next prev parent reply other threads:[~2001-07-31 17:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-30 19:24 Maksim Krasnyanskiy
2001-07-31 1:53 ` David S. Miller
2001-07-31 17:11 ` Maksim Krasnyanskiy [this message]
2001-07-31 18:13 ` kuznet
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=4.3.1.0.20010731100209.05fce100@mail1 \
--to=maxk@qualcomm.com \
--cc=andrea@suse.de \
--cc=davem@redhat.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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®