Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1374157

Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu critical sections

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu critical sections
Date 2016-04-08 13:10 +0200
Message-ID <rlCsx-2SG-1@gated-at.bofh.it> (permalink)
References (5 earlier) <rlklY-65f-11@gated-at.bofh.it> <rlkvE-692-5@gated-at.bofh.it> <rlli2-6NG-27@gated-at.bofh.it> <rlozg-Pg-9@gated-at.bofh.it> <rlqhJ-26I-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Apr 07, 2016 at 03:05:26PM -0700, Andy Lutomirski wrote:

> It doesn't, which is what I like about my variant.  If the thread
> accesses the protected data structure, though, it should bump the
> sequence count, which will cause the first thread to about when it
> gets scheduled in.

Nope it won't, because that first thread is right at the commit
instruction, nothing will stop it from executing that store and clobbing
what we just wrote.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Andy Lutomirski <luto@amacapital.net> - 2016-04-06 18:00 +0200
  Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Peter Zijlstra <peterz@infradead.org> - 2016-04-07 14:10 +0200
    Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Andy Lutomirski <luto@amacapital.net> - 2016-04-07 16:40 +0200
      Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Peter Zijlstra <peterz@infradead.org> - 2016-04-07 17:30 +0200
        Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Peter Zijlstra <peterz@infradead.org> - 2016-04-07 17:50 +0200
        Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Andy Lutomirski <luto@amacapital.net> - 2016-04-07 17:50 +0200
          Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Peter Zijlstra <peterz@infradead.org> - 2016-04-07 18:00 +0200
            Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Andy Lutomirski <luto@amacapital.net> - 2016-04-07 18:50 +0200
              Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Peter Zijlstra <peterz@infradead.org> - 2016-04-07 22:20 +0200
                Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Andy Lutomirski <luto@amacapital.net> - 2016-04-08 00:10 +0200
                Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space  percpu critical sections Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2016-04-08 03:20 +0200
                Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Andy Lutomirski <luto@amacapital.net> - 2016-04-08 03:30 +0200
                Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space  percpu critical sections Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2016-04-08 04:10 +0200
                Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space  percpu critical sections Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2016-04-08 19:50 +0200
                Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Andy Lutomirski <luto@amacapital.net> - 2016-04-08 23:20 +0200
                Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Linus Torvalds <torvalds@linux-foundation.org> - 2016-04-08 23:30 +0200
                Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space  percpu critical sections Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2016-04-10 16:10 +0200
                Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Peter Zijlstra <peterz@infradead.org> - 2016-04-08 13:10 +0200
                Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Andy Lutomirski <luto@amacapital.net> - 2016-04-08 18:00 +0200
              Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Peter Zijlstra <peterz@infradead.org> - 2016-04-08 08:50 +0200
                Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu  critical sections Andy Lutomirski <luto@amacapital.net> - 2016-04-08 18:00 +0200
              Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space  percpu critical sections Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2016-04-12 00:00 +0200

csiph-web