-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compositing: Split Servo up into multiple sandboxed processes. #6884
Conversation
Note that the processes don't shut down properly yet, for multiple reasons: shutdown channels aren't wired up yet and we don't wait on children, so they become zombies. But I didn't want to make this patch bigger. |
Review status: 0 of 30 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful. components/devtools/actors/timeline.rs, line 205 [r1] (raw file): Comments from the review on Reviewable.io |
Reviewed 21 of 30 files at r1. components/util/task.rs, line 49 [r1] (raw file): Comments from the review on Reviewable.io |
-S-awaiting-review +S-needs-code-changes I think ipc-channel needs more documentation. Some of its uses are pretty hard to grok from the code/comments written. This looks ok except for the comments I left, which were mostly about docs. Reviewed 9 of 30 files at r1. components/layout/layout_task.rs, line 734 [r1] (raw file): For this patch, please document that a oneshot route is what you're doing here, because it's not clear at all unless you really squint. components/script/dom/htmllinkelement.rs, line 263 [r1] (raw file): components/script/script_task.rs, line 532 [r1] (raw file): components/servo/lib.rs, line 222 [r1] (raw file): Please find another way to express whatever you are trying to communicate here :) components/servo/lib.rs, line 235 [r1] (raw file): Should we really land this patch with this? Comments from the review on Reviewable.io |
☔ The latest upstream changes (presumably #6416) made this pull request unmergeable. Please resolve the merge conflicts. |
@pcwalton Any updates here? I reviewed this a month ago. |
5319245
to
ab992d2
Compare
Rebased up to now. Multiprocess is working but sandboxing is not. This may be Mac OS X Yosemite-specific. |
ab992d2
to
e5c9657
Compare
Review status: 0 of 34 files reviewed at latest revision, 6 unresolved discussions, some commit checks failed. components/script/dom/htmllinkelement.rs, line 0 [r1] (raw file): Comments from the review on Reviewable.io |
e5c9657
to
536f114
Compare
About half of the review comments addressed so far. |
☔ The latest upstream changes (presumably #7423) made this pull request unmergeable. Please resolve the merge conflicts. |
536f114
to
4b8b04c
Compare
Review status: 0 of 33 files reviewed at latest revision, 6 unresolved discussions, some commit checks failed. components/script/script_task.rs, line 532 [r1] (raw file): Comments from the review on Reviewable.io |
Review status: 0 of 33 files reviewed at latest revision, 6 unresolved discussions, some commit checks failed. components/servo/lib.rs, line 222 [r1] (raw file): Comments from the review on Reviewable.io |
811dfd8
to
6baae53
Compare
Comments addressed. Content processes should shut down now, though it's hard to test this since we don't actually evict pipelines from the bfcache! r? @metajack |
6baae53
to
8459005
Compare
💔 Test failed - gonk |
☔ The latest upstream changes (presumably #7950) made this pull request unmergeable. Please resolve the merge conflicts. |
Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch.
Rebased. Now depends on #8237 |
☔ The latest upstream changes (presumably #8241) made this pull request unmergeable. Please resolve the merge conflicts. |
#8492 merged! Go go go go go go go! |
compositing: Split Servo up into multiple sandboxed processes. Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch. Rebase of #6884.
Redone in #8599. |
compositing: Split Servo up into multiple sandboxed processes. Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch. Rebase of #6884. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8599) <!-- Reviewable:end -->
compositing: Split Servo up into multiple sandboxed processes. Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch. Rebase of #6884. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8599) <!-- Reviewable:end -->
compositing: Split Servo up into multiple sandboxed processes. Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch. Rebase of #6884. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8599) <!-- Reviewable:end -->
compositing: Split Servo up into multiple sandboxed processes. Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch. Rebase of #6884. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8599) <!-- Reviewable:end -->
Multiprocess mode is enabled with the
-M
switch, and sandboxing isenabled with the
-S
switch.r? @metajack