From: David Miller <davem@davemloft.net>
To: sjur.brandeland@stericsson.com
Cc: netdev@vger.kernel.org
Subject: Re: [net-next-2.6 00/10] caif: rcu, refactoring and bugfixes
Date: Sun, 15 May 2011 17:48:14 -0400 (EDT) [thread overview]
Message-ID: <20110515.174814.2153231984820209172.davem@davemloft.net> (raw)
In-Reply-To: <1305290648-9613-1-git-send-email-sjur.brandeland@stericsson.com>
From: Sjur Brændeland <sjur.brandeland@stericsson.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.
prev parent reply other threads:[~2011-05-15 21:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-13 12:43 [net-next-2.6 00/10] caif: rcu, refactoring and bugfixes Sjur Brændeland
2011-05-13 12:43 ` [net-next-2.6 01/10] caif: Use rcu_read_lock in CAIF mux layer Sjur Brændeland
2011-05-13 12:44 ` [net-next-2.6 02/10] caif: Use RCU instead of spin-lock in caif_dev.c Sjur Brændeland
2011-05-13 12:44 ` [net-next-2.6 03/10] caif: Use RCU and lists in cfcnfg.c for managing caif link layers Sjur Brændeland
2011-05-13 12:44 ` [net-next-2.6 04/10] caif: Add ref-count to framing layer Sjur Brændeland
2011-05-13 12:44 ` [net-next-2.6 05/10] caif: Move refcount from service layer to sock and dev Sjur Brændeland
2011-05-13 12:44 ` [net-next-2.6 06/10] caif: Protected in-flight packets using dev or sock refcont Sjur Brændeland
2011-05-13 12:44 ` [net-next-2.6 07/10] caif: prepare support for namespaces Sjur Brændeland
2011-05-13 12:44 ` [net-next-2.6 08/10] caif: Handle dev_queue_xmit errors Sjur Brændeland
2011-05-13 12:44 ` [net-next-2.6 09/10] caif: Bugfix debugfs directory name must be unique Sjur Brændeland
2011-05-13 12:44 ` [net-next-2.6 10/10] caif: remove unesesarry exports Sjur Brændeland
2011-05-15 21:48 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110515.174814.2153231984820209172.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=sjur.brandeland@stericsson.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).