Quantcast
Channel: lkml.org : Vaidyanathan Srinivasan
Viewing all articles
Browse latest Browse all 890

Re: SLAB_TYPESAFE_BY_RCU without constructors (was Re: [PATCH v4 1 ...

$
0
0
Linus Torvalds writes: (Summary) And in particular, it needs to make sure that it uses the proper memory ordering to do so.
proper memory ordering to do so.
And in this case, we have
And in this case, we have
static struct nf_conn *
__nf_conntrack_alloc(struct net *net,
  {
        ... One thing to be very worried about is that re-initializing
whatever RCU lists means that now the RCU walker may be walking on the
wrong list so the walker may do the right thing for this particular
entry, but it may miss walking *other* entries.

Viewing all articles
Browse latest Browse all 890

Trending Articles