Skip to content
Commit fd412019 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

restore: Parse /proc/self/maps for self mappings



On restore we only need to know currnet task mappings' start and end
to find where to put the restorer blob. And since the smaps file in
/proc/pid is up to 3 times slower, than the maps one, it makes
perfect sense just to parse the latter one.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 4dbc5f11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment