https://github.com/torvalds/linux
Revision 559cf710b07c5e2cfa3fb8d8f4a1320fd84c53f9 authored by Vlad Yasevich on 16 September 2007, 23:03:28 UTC, committed by David S. Miller on 16 September 2007, 23:03:28 UTC
Since the sctp_sockaddr_entry is now RCU enabled as part of
the patch to synchronize sctp_localaddr_list, it makes sense to
change all handling of these entries to RCU.  This includes the
sctp_bind_addrs structure and it's list of bound addresses.

This list is currently protected by an external rw_lock and that
looks like an overkill.  There are only 2 writers to the list:
bind()/bindx() calls, and BH processing of ASCONF-ACK chunks.
These are already seriealized via the socket lock, so they will
not step on each other.  These are also relatively rare, so we
should be good with RCU.

The readers are varied and they are easily converted to RCU.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Sridhar Samdurala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 2930354
Raw File
Tip revision: 559cf710b07c5e2cfa3fb8d8f4a1320fd84c53f9 authored by Vlad Yasevich on 16 September 2007, 23:03:28 UTC
[SCTP]: Convert bind_addr_list locking to RCU
Tip revision: 559cf71
riscom8.txt
* NOTE - this is an unmaintained driver.  The original author cannot be located.

SDL Communications is now SBS Technologies, and does not have any
information on these ancient ISA cards on their website.

James Nelson <james4765@gmail.com> - 12-12-2004

	This is the README for RISCom/8 multi-port serial driver
	(C) 1994-1996 D.Gorodchanin
	See file LICENSE for terms and conditions.

NOTE: English is not my native language. 
      I'm sorry for any mistakes in this text.

Misc. notes for RISCom/8 serial driver, in no particular order :)

1) This driver can support up to 4 boards at time.
   Use string "riscom8=0xXXX,0xXXX,0xXXX,0xXXX" at LILO prompt, for
   setting I/O base addresses for boards. If you compile driver
   as module use modprobe options "iobase=0xXXX iobase1=0xXXX iobase2=..."

2) The driver partially supports famous 'setserial' program, you can use almost
   any of its options, excluding port & irq settings.

3) There are some misc. defines at the beginning of riscom8.c, please read the 
   comments and try to change some of them in case of problems.

4) I consider the current state of the driver as BETA.

5) SDL Communications WWW page is http://www.sdlcomm.com.

6) You can use the MAKEDEV program to create RISCom/8 /dev/ttyL* entries.

7) Minor numbers for first board are 0-7, for second 8-15, etc.

22 Apr 1996.
back to top