Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upcompositing: Split Servo up into multiple sandboxed processes. #6884
Conversation
highfive
commented
Aug 1, 2015
|
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 |
|
|
|
@pcwalton Any updates here? I reviewed this a month ago. |
|
Rebased up to now. Multiprocess is working but sandboxing is not. This may be Mac OS X Yosemite-specific. |
|
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 |
|
About half of the review comments addressed so far. |
|
|
|
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
|
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 |
|
|
|
|
|
Rebased. Now depends on #8237 |
|
|
|
#8492 merged! Go go go go go go go! |
|
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 -->
pcwalton commentedAug 1, 2015
Multiprocess mode is enabled with the
-Mswitch, and sandboxing isenabled with the
-Sswitch.r? @metajack