Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2371)

Issue 11433045: code review 11433045: runtime: re-enable preemption (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by rsc
Modified:
10 years, 9 months ago
Reviewers:
iant, dvyukov
CC:
golang-dev, iant
Visibility:
Public.

Description

runtime: re-enable preemption Update issue 543 I believe the runtime is strong enough now to reenable preemption during the function prologue. Assuming this is or can be made stable, it will be in Go 1.2. More aggressive preemption is not planned for Go 1.2.

Patch Set 1 #

Patch Set 2 : diff -r 4b1bbdfe7413 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 4b1bbdfe7413 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 4b1bbdfe7413 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -6 lines) Patch
M src/pkg/runtime/proc.c View 1 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 6
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
10 years, 9 months ago (2013-07-17 16:54:19 UTC) #1
iant
LGTM
10 years, 9 months ago (2013-07-17 18:02:36 UTC) #2
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=c242bbf5fa8c *** runtime: re-enable preemption Update issue 543 I believe the runtime ...
10 years, 9 months ago (2013-07-17 18:03:30 UTC) #3
dvyukov
> More aggressive preemption is not planned for Go 1.2. Do you mean preemption of ...
10 years, 9 months ago (2013-07-18 13:58:29 UTC) #4
rsc
On Thu, Jul 18, 2013 at 9:58 AM, <dvyukov@google.com> wrote: > More aggressive preemption is ...
10 years, 9 months ago (2013-07-18 14:07:09 UTC) #5
dvyukov
10 years, 9 months ago (2013-07-18 14:19:18 UTC) #6
On Thu, Jul 18, 2013 at 6:07 PM, Russ Cox <rsc@golang.org> wrote:
> On Thu, Jul 18, 2013 at 9:58 AM, <dvyukov@google.com> wrote:
>>>
>>> More aggressive preemption is not planned for Go 1.2.
>>
>>
>> Do you mean preemption of long running goroutines?
>
>
> I mean preemption of goroutines anywhere other than at function entry.
> For example, preemption on backwards branches is not going to be in Go 1.2.

Ah, OK.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b