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

vmas: Don't call stat on vm file twice



When parsing mappings in proc, we fstat vm file, later,
when dumping it, we stat it again to fill fd_parms.
The 2nd stat is not required, we can keep the stat in
vma_area.

This removed 35% of all stat calls on dump of basic container.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent bd7bf7bd
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