netdev
[Top] [All Lists]

Re: [RFC] add rtnl semaphore to linux-atm

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: [RFC] add rtnl semaphore to linux-atm
From: Mitchell Blank Jr <mitch@xxxxxxxxxx>
Date: Fri, 3 Oct 2003 23:59:25 -0700
Cc: chas3@xxxxxxxxxxxxxxxxxxxxx, chas@xxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20031003065824.713627c6.davem@redhat.com>
References: <200310011134.h91BYPkT003172@ginger.cmf.nrl.navy.mil> <20031001054226.126cea7b.davem@redhat.com> <20031003022615.GA42593@gaz.sfgoth.com> <20031003065824.713627c6.davem@redhat.com>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
David S. Miller wrote:
> Part of that is using the rtnl semaphore etc.

I've thought about this some more and I think we really DO want a
per-atm-device semaphore for this rather than overloading rtnl_sem.

A device like an ADSL card might need to do a complete physical-layer
negotiation when you open a VCC (assuming there were no VCCs open
before)  This could take on the order of a minute if it fails.  You
don't want to be hogging rtnl_sem for that long.

-Mitch

<Prev in Thread] Current Thread [Next in Thread>