From: "David S. Miller" <davem@davemloft.net>
To: Ben Greear <greearb@candelatech.com>
Cc: netdev@oss.sgi.com
Subject: Re: local_bh_enable & hard_start_xmit
Date: Mon, 18 Apr 2005 16:01:47 -0700 [thread overview]
Message-ID: <20050418160147.6fd7ac9a.davem@davemloft.net> (raw)
In-Reply-To: <42643BB9.6050705@candelatech.com>
On Mon, 18 Apr 2005 15:59:05 -0700
Ben Greear <greearb@candelatech.com> wrote:
> This would be a good addition to the Documentation/networking/netdevices.txt
> file, or maybe to the dev.c file somewhere (I haven't found an complete list of
> locking notes, though the comments in the dev.c file and the netdevices.txt file
> are a big help.)
So write the patch to add such comments. It would have taken the
same amount of typing as writing that paragraph saying how great an
addition this would be. :)
> I assume that it is fine to nest calls to local_bh_enable/disable? (This
> seems to be required since you are supposed to have bh disabled when
> calling hard_start_xmit, but hard_start_xmit can call dev_queue_xmit which
> disables the bh again...)
Yes, this is legal, BH disabling does nest properly.
next prev parent reply other threads:[~2005-04-18 23:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-18 21:37 local_bh_enable & hard_start_xmit Ben Greear
2005-04-18 22:14 ` David S. Miller
2005-04-18 22:59 ` Ben Greear
2005-04-18 23:01 ` David S. Miller [this message]
2005-04-18 23:17 ` Ben Greear
2005-04-19 0:24 ` Ben Greear
[not found] ` <20050419231442.7e37b087.davem@davemloft.net>
2005-04-22 19:39 ` Ben Greear
2005-04-25 3:13 ` David S. Miller
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=20050418160147.6fd7ac9a.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=greearb@candelatech.com \
--cc=netdev@oss.sgi.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;
as well as URLs for NNTP newsgroup(s).