[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: chas williams <chas@xxxxxxxxxxxxxxxx>
Date: Wed, 01 Oct 2003 09:07:45 -0400
Cc: netdev@xxxxxxxxxxx
In-reply-to: Message from "David S. Miller" <davem@xxxxxxxxxx> of "Wed, 01 Oct 2003 05:42:26 PDT." <20031001054226.126cea7b.davem@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
In message <20031001054226.126cea7b.davem@xxxxxxxxxx>,"David S. Miller" writes:
>Although, unless VCC connect can potentially sleep, it might
>be better to keep exporting the rwlock and take it as a reader
>instead of grabbing the rtnl semaphore.

i had initially written it that way but remembered at one point i
was going to use the rtnl semaphore to handle this problem.  any
opinions on what is 'better'?

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