From: "Joe Seigh" <jseigh_02@xemaps.com>
To: linux-kernel@vger.kernel.org
Subject: Re: RCU + SMR for preemptive kernel/user threads.
Date: Tue, 10 May 2005 09:32:07 -0400 [thread overview]
Message-ID: <opsqkajto6ehbc72@grunion> (raw)
In-Reply-To: opsqivh7agehbc72@grunion
I think you need a release memory barrier if you store into a hazard
pointer that is non null to prevent prior accesses from occurring after
the store. That's an extra memory barrier for hazard pointers that I
overlooked. One thing that could be done is wait an extra RCU grace
period after the hazard pointer scan to ensure prior accesses have
completed before freeing the resource. That would lengthen the delay
to approximately 2 RCU grace periods. Could be a problem if you have
a high write rate and are trying to keep that delay minimal.
There might be another way. I'd have to investigate it a little more.
--
Joe Seigh
next prev parent reply other threads:[~2005-05-10 13:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-09 19:09 RCU + SMR for preemptive kernel/user threads Joe Seigh
2005-05-10 1:11 ` Paul E. McKenney
2005-05-10 13:32 ` Joe Seigh [this message]
2005-05-10 16:55 ` Paul E. McKenney
2005-05-10 22:40 ` Joe Seigh
2005-05-11 15:04 ` Paul E. McKenney
2005-05-11 21:47 ` Joe Seigh
2005-05-12 0:39 ` Joe Seigh
2005-05-12 1:57 ` Paul E. McKenney
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=opsqkajto6ehbc72@grunion \
--to=jseigh_02@xemaps.com \
--cc=linux-kernel@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.