Closed
Bug 1014317
Opened 10 years ago
Closed 10 years ago
Port the PR_SET_VMA_ANON_NAME patch to the B2G emulator kernel (3.4)
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jld, Assigned: jld)
References
Details
Attachments
(2 files)
Android has a kernel patch that allows giving anonymous memory regions names that appear in /proc/N/maps, which they've already shipped for at least Nexus 4 and Nexus 5 (KitKat builds). We think it would be useful for Gecko (bug 1011350), but development is impaired by limited availability of the feature on B2G devices. But there's no reason we can't apply it to the emulator.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8427403 -
Flags: review?(vyang)
Assignee | ||
Comment 2•10 years ago
|
||
f? because it'd be nice to get confirmation that this does what we want before merging.
Attachment #8427404 -
Flags: review?(vyang)
Attachment #8427404 -
Flags: feedback?(n.nethercote)
Comment 3•10 years ago
|
||
Comment on attachment 8427404 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/platform_prebuilts_qemu-kernel/pull/7 I'm not sure what feedback you're after. The second patch on github appears to be modifying only binary files. The first patch appears to be adding the feature we want.
Attachment #8427404 -
Flags: feedback?(n.nethercote)
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8427404 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/platform_prebuilts_qemu-kernel/pull/7 This is the repo that's actually in the checkout, and the emulator reads the appropriate file from it when booting, which is why I put the f? here instead of on the source. I've tested it myself, by creating a first-draft patch for bug 1011350, and it works.
Attachment #8427404 -
Flags: feedback+
Comment 5•10 years ago
|
||
Don't know what's wrong yet. I can't pull that git commit from github.
Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Vicamo Yang [:vicamo][:vyang] (PTO May 17 - Jun 1)) from comment #5) > Don't know what's wrong yet. I can't pull that git commit from github. The revision referenced in the platform_prebuilts_qemu-kernel PR (b0eb2b3463fa720276653ce91d1822c91fff0aa5) won't exist in https://github.com/mozilla-b2g/kernel_goldfish until/unless https://github.com/mozilla-b2g/kernel_goldfish/pull/10 is merged. Currently it should be available from https://github.com/jld/kernel_goldfish
Comment 7•10 years ago
|
||
(In reply to Jed Davis [:jld] from comment #6) > (In reply to Vicamo Yang [:vicamo][:vyang] (PTO May 17 - Jun 1)) from > comment #5) > > Don't know what's wrong yet. I can't pull that git commit from github. > > The revision referenced in the platform_prebuilts_qemu-kernel PR > (b0eb2b3463fa720276653ce91d1822c91fff0aa5) won't exist in > https://github.com/mozilla-b2g/kernel_goldfish until/unless > https://github.com/mozilla-b2g/kernel_goldfish/pull/10 is merged. Currently > it should be available from https://github.com/jld/kernel_goldfish I didn't mean that. Somehow I can't pull your, jld, commits into prebuilts/qemu-kernel directly. Could be some network problem. Anyway, I've cloned it cleanly and it's no longer a problem.
Updated•10 years ago
|
Attachment #8427403 -
Flags: review?(vyang) → review+
Updated•10 years ago
|
Attachment #8427404 -
Flags: review?(vyang) → review+
Assignee | ||
Comment 8•10 years ago
|
||
https://github.com/mozilla-b2g/kernel_goldfish/commit/c39900240bccb67e296bd39d81d966d409f74a5c https://github.com/mozilla-b2g/platform_prebuilts_qemu-kernel/commit/1a982dd6b02b939c75cd116d2d9de97e6ff3de24
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•