• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xemul / criu / 1023 / 1
64%
master: 66%

Build:
Build:
LAST BUILD BRANCH: criu-dev
DEFAULT BRANCH: master
Ran 21 Jun 2017 01:50AM UTC
Files 217
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jun 2017 01:08AM UTC coverage: 64.627% (-0.05%) from 64.676%
TR_ARCH=local GCOV=1

push

travis-ci

avagin
lazy-pages: use random read from page-pipe instead of splitting it

For the remote lazy pages case, to access pages in the middle of a pipe we
are splitting the page_pipe_buffers and iovecs and use splice() to move the
data between the underlying pipes. After the splits we get page_pipe_buffer
with single iovec that can be used to splice() the data further into the
socket.
This patch replaces the splitting and splicing with use of a helper pipe
and tee(). We tee() the pages from beginning of the pipe up to the last
requested page into a helper pipe, sink the unneeded head part into
/dev/null and we get the requested pages ready for splice() into the
socket.
This allows lazy-pages daemon to request the same page several time, which
is required to properly support fork() after the restore.
As added bonus we simplify the code and reduce amount of pipes that live in
the system.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Acked-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>

19801 of 30639 relevant lines covered (64.63%)

127171.05 hits per line

Source Files on job 1023.1 (TR_ARCH=local GCOV=1)
  • Tree
  • List 0
  • Changed 132
  • Source Changed 2
  • Coverage Changed 132
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1023
  • Travis Job 1023.1
  • 1a3c13c7 on github
  • Prev Job for TR_ARCH=local GCOV=1 on criu-dev (#1022.1)
  • Next Job for TR_ARCH=local GCOV=1 on criu-dev (#1024.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc