| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] convert ircomm to seq_file interface |
| From: | Jean Tourrilhes <jt@xxxxxxxxxxxxxxxxxx> |
| Date: | Wed, 20 Aug 2003 09:48:53 -0700 |
| Address: | HP Labs, 1U-17, 1501 Page Mill road, Palo Alto, CA 94304, USA. |
| Cc: | shemminger@xxxxxxxx, irda-users@xxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| E-mail: | jt@xxxxxxxxxx |
| In-reply-to: | <20030819212009.36a8dc03.davem@xxxxxxxxxx> |
| Organisation: | HP Labs Palo Alto |
| References: | <20030818123142.6369fbff.shemminger@xxxxxxxx> <20030818200923.GC6577@xxxxxxxxxxxxxxxxxx> <20030819212009.36a8dc03.davem@xxxxxxxxxx> |
| Reply-to: | jt@xxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.28i |
On Tue, Aug 19, 2003 at 09:20:09PM -0700, David S. Miller wrote:
> On Mon, 18 Aug 2003 13:09:23 -0700
> Jean Tourrilhes <jt@xxxxxxxxxxxxxxxxxx> wrote:
>
> > On Mon, Aug 18, 2003 at 12:31:42PM -0700, Stephen Hemminger wrote:
> > > Convert ircomm /proc interface to seq_file.
> > >
> > > Note: don't need spin_lock_irq because list is not ever locked
> > > from inside interrupt context.
> >
> > I don't agree with this change.
>
> I'll let you guys work this one out. Let me know when a
> final version of the patch is ready.
Oh, that's fairly simple. You just need to revert the
spin_lock() to a spin_lock_irqsave().
By the way, I would prefer Stephen to not rock the boat when
it come to locking, I know that the locking of the IrDA stack is still
"fragile" in areas.
Have fun...
Jean
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [patch][bonding] fix kernel panic when removing the primary slave, Shmulik Hen |
|---|---|
| Next by Date: | Re: [2.4 PATCH] bugfix: ARP respond on all devices, Roman Pletka |
| Previous by Thread: | Re: [PATCH] convert ircomm to seq_file interface, David S. Miller |
| Next by Thread: | [PATCH] make pktgen depends on procfs [2.6.0-test3], Daniele Bellucci |
| Indexes: | [Date] [Thread] [Top] [All Lists] |