[go: nahoru, domu]

Verify persistent memory exists.

Ensure during allocation that the allocated segment is fully writable.
This should concentrate all related errors into this one place making it
easier to monitor such failure.  It will also allow for future handling
of the condition.

Bug: 753741
Change-Id: I4e82d4f8a35c9066dd552915bb76fc333f9602cf
Reviewed-on: https://chromium-review.googlesource.com/737551
Commit-Queue: Brian White <bcwhite@chromium.org>
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Cr-Commit-Position: refs/heads/master@{#511913}
2 files changed