[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101101.133328.232758664.davem@davemloft.net>
Date: Mon, 01 Nov 2010 13:33:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jolsa@...hat.com
Cc: dhowells@...hat.com, lizf@...fujitsu.com, paul.moore@...com,
johannes@...solutions.net, dipankar@...ibm.com,
linux-kernel@...r.kernel.org,
containers@...ts.linux-foundation.org, kvm@...r.kernel.org
Subject: Re: [PATCH 3/3] net - removing superfluous rcu_read_lock_held check
From: Jiri Olsa <jolsa@...hat.com>
Date: Mon, 1 Nov 2010 20:15:09 +0100
> the rcu_dereference_check is defined as
>
> #define rcu_dereference_check(p, c) \
> __rcu_dereference_check((p), rcu_read_lock_held() || (c), __rcu)
>
> so the caller does not need to specify rcu_read_lock_held() condition.
>
> Signed-off-by: Jiri Olsa <jolsa@...hat.com>
Acked-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists