lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20120722.123246.864281319907290494.davem@davemloft.net> Date: Sun, 22 Jul 2012 12:32:46 -0700 (PDT) From: David Miller <davem@...emloft.net> To: ja@....bg Cc: netdev@...r.kernel.org Subject: Re: [PATCH RFC] tcp: use seqlock for all cached tcp_metrics From: Julian Anastasov <ja@....bg> Date: Sun, 22 Jul 2012 12:44:28 +0300 > The ability to reclaim existing cache entries > requires metrics to be accessed with additional seqlock. > fastopen_cache tried to provide such locking for its values > but there is always the risk to access reclaimed entry. I basically claim that accidental use of reclaimed entries is completely harmless for everything other than fastopen. Therefore I do not advocate adding the new overhead and complexity for the non-fastopen cases. It should be a completely free, lockless, and synchornization free cache. If we read crap metrics, so be it, maybe the network dynamics changed to the same amount, and we would never know the different. Therefore, it doesn't really matter if we read crap values for these measurements. Thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists