Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1380649 > unrolled thread
| Started by | David Miller <davem@davemloft.net> |
|---|---|
| First post | 2016-04-17 01:10 +0200 |
| Last post | 2016-04-17 01:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [net][PATCH v2 2/2] RDS: Fix the atomicity for congestion map update David Miller <davem@davemloft.net> - 2016-04-17 01:10 +0200
| From | David Miller <davem@davemloft.net> |
|---|---|
| Date | 2016-04-17 01:10 +0200 |
| Subject | Re: [net][PATCH v2 2/2] RDS: Fix the atomicity for congestion map update |
| Message-ID | <roHvI-2PY-35@gated-at.bofh.it> |
From: Santosh Shilimkar <santosh.shilimkar@oracle.com> Date: Thu, 14 Apr 2016 10:43:27 -0700 > Two different threads with different rds sockets may be in > rds_recv_rcvbuf_delta() via receive path. If their ports > both map to the same word in the congestion map, then > using non-atomic ops to update it could cause the map to > be incorrect. Lets use atomics to avoid such an issue. > > Full credit to Wengang <wen.gang.wang@oracle.com> for > finding the issue, analysing it and also pointing out > to offending code with spin lock based fix. > > Reviewed-by: Leon Romanovsky <leon@leon.nu> > Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com> > Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Applied.
Back to top | Article view | linux.kernel
csiph-web