From: Davidlohr Bueso <dave@stgolabs.net> To: mingo@kernel.org, peterz@infradead.org, oleg@redhat.com Cc: linux-kernel@vger.kernel.org, dave@stgolabs.net Subject: [PATCH 0/2] sched: Introduce rcuwait Date: Thu, 22 Dec 2016 09:01:34 -0800 Message-ID: <1482426096-12792-1-git-send-email-dave@stgolabs.net> (raw) Hi, Here's an updated version of the pcpu rwsem writer wait/wake changes with the abstractions wanted by Oleg. Patch 1 adds rcuwait (for a lack of better name), and patch 2 trivially makes use of it. Has survived torture testing, which is actually very handy in this case particularly dealing with equal amount of reader and writer threads. Thanks. Davidlohr Bueso (2): sched: Introduce rcuwait machinery locking/percpu-rwsem: Replace waitqueue with rcuwait include/linux/percpu-rwsem.h | 8 +++--- include/linux/rcuwait.h | 63 +++++++++++++++++++++++++++++++++++++++++++ kernel/exit.c | 29 ++++++++++++++++++++ kernel/locking/percpu-rwsem.c | 7 +++-- 4 files changed, 99 insertions(+), 8 deletions(-) create mode 100644 include/linux/rcuwait.h -- 2.6.6
next reply index Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-12-22 17:01 Davidlohr Bueso [this message] 2016-12-22 17:01 ` [PATCH 1/2] sched: Introduce rcuwait machinery Davidlohr Bueso 2016-12-22 19:27 ` kbuild test robot 2017-01-03 23:20 ` Davidlohr Bueso 2016-12-22 19:55 ` kbuild test robot 2017-01-16 1:32 ` Davidlohr Bueso 2017-01-17 17:41 ` Oleg Nesterov 2016-12-22 17:01 ` [PATCH 2/2] locking/percpu-rwsem: Replace waitqueue with rcuwait Davidlohr Bueso 2017-01-09 18:26 ` [PATCH 0/2] sched: Introduce rcuwait Davidlohr Bueso 2017-01-10 18:35 ` Oleg Nesterov 2017-01-10 19:37 ` Davidlohr Bueso
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=1482426096-12792-1-git-send-email-dave@stgolabs.net \ --to=dave@stgolabs.net \ --cc=linux-kernel@vger.kernel.org \ --cc=mingo@kernel.org \ --cc=oleg@redhat.com \ --cc=peterz@infradead.org \ /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
LKML Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git git clone --mirror https://lore.kernel.org/lkml/8 lkml/git/8.git git clone --mirror https://lore.kernel.org/lkml/9 lkml/git/9.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \ linux-kernel@vger.kernel.org public-inbox-index lkml Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git