diskimage-builder/lib
Ian Wienand 8e3e66dfbd Speed up chroot checking loop
It was noticed on a very busy system this can take about 1s per loop.
This starts to add up on thousands of processes.

Firstly, prune out all the kernel threads.  Then introduce a very
small inline python script to find any pids that seem to be in the
chroot without forking to examine each one.  After that the existing
loop just kills anything as before.

Change-Id: Icc7bc7eda80ffcd636f97e6542d70c220e9c225e
2016-12-13 12:47:46 +11:00
..
common-defaults Fedora AArch64 (64-bit ARM) support in diskimage-builder 2016-11-16 21:47:26 -05:00
common-functions Speed up chroot checking loop 2016-12-13 12:47:46 +11:00
die Export die() function 2016-05-27 09:25:22 +10:00
img-defaults Export FS_TYPE and remove hardcoded ext4 values 2016-05-19 17:33:36 +10:00
img-functions Correct order of parameters in call to qemu-img convert 2016-07-21 10:57:40 +02:00
ramdisk-defaults Add #!/bin/bash to library functions 2015-09-16 13:54:07 +10:00
ramdisk-functions Merge "Prevent overwriting of user modified blacklist.conf" 2015-10-05 18:57:01 +00:00