Thread (2 messages) flat view 2 messages, 2 authors, 2014-01-18

Re: [PATCH] net: rds: fix per-cpu helper usage

From: David Miller <davem@davemloft.net>
Date: 2014-01-18 01:53:16
Also in: lkml

From: Gerald Schaefer <redacted>
Date: Thu, 16 Jan 2014 16:54:48 +0100
commit ae4b46e9d "net: rds: use this_cpu_* per-cpu helper" broke per-cpu
handling for rds. chpfirst is the result of __this_cpu_read(), so it is
an absolute pointer and not __percpu. Therefore, __this_cpu_write()
should not operate on chpfirst, but rather on cache->percpu->first, just
like __this_cpu_read() did before.

Cc: <redacted> # 3.8+
Signed-off-byd Gerald Schaefer [off-list ref]
Applied and queued up for -stable, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help