[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110515.174814.2153231984820209172.davem@davemloft.net>
Date: Sun, 15 May 2011 17:48:14 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sjur.brandeland@...ricsson.com
Cc: netdev@...r.kernel.org
Subject: Re: [net-next-2.6 00/10] caif: rcu, refactoring and bugfixes
From: Sjur Brændeland <sjur.brandeland@...ricsson.com>
Date: Fri, 13 May 2011 14:43:58 +0200
> This patch-set introduces RCU in the CAIF stack and
> fixes problems found when removing CAIF Link layer during traffic.
>
> The pattern used for RCU is mostly this:
> rcu_read_lock();
> p = get();
> hold(p);
> rcu_read_unlock();
> use(p);
> put(p);
>
> And when freeing:
> synchronize_rcu();
> wait_refcnt(p);
> kfree(p);
Series applied, 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