Module Name: src Committed By: msaitoh Date: Mon Jan 6 15:21:29 UTC 2020
Modified Files: src/doc: TODO.smpnet Log Message: Protecting ec_multi* of ethercom with ec_lock have been finished now. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/doc/TODO.smpnet Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/doc/TODO.smpnet diff -u src/doc/TODO.smpnet:1.30 src/doc/TODO.smpnet:1.31 --- src/doc/TODO.smpnet:1.30 Mon Jan 6 05:38:59 2020 +++ src/doc/TODO.smpnet Mon Jan 6 15:21:29 2020 @@ -1,4 +1,4 @@ -$NetBSD: TODO.smpnet,v 1.30 2020/01/06 05:38:59 msaitoh Exp $ +$NetBSD: TODO.smpnet,v 1.31 2020/01/06 15:21:29 msaitoh Exp $ MP-safe components ================== @@ -175,15 +175,6 @@ Scalability - opencrypto(9)'s crypto_newsession()/crypto_freesession() aren't scalable as they are serialized by one mutex -ec_multi* of ethercom ---------------------- - -ec_multiaddrs and ec_multicnt of struct ethercom and items listed in -ec_multiaddrs must be protected by ec_lock. The core of ethernet subsystem is -already MP-safe, however, device drivers that use the data should also be fixed. -A typical change should be to protect manipulations of the data via ETHER_* -macros such as ETHER_FIRST_MULTI by ETHER_LOCK and ETHER_UNLOCK. - ALTQ ----