[CRIU] [PATCH 0/15] clean up headers (v3)
Andrey Vagin
avagin at openvz.org
Tue Nov 5 00:32:53 PST 2013
You don't care about headers, because you don't try to
build CRIU on Rpi;).
This series removes restorer.h from unrelated files, restorer.h
includes too many other headers, so we should avoid its inclusion.
The main idea of this series is that all headers should be categorized
* compiler.h, types.h, ...
* list.h, lock.h, ...
* util.h, log.h, ...
* vdso.h, files.h, ...
* crtools.h
A header can include only headers from upper levels.
v2: add servicefd.h and vma.h
split crtools.h
v3: rebase to up-to-date git
Here are two output if vdso.h is changed.
Without this patches:
CC parasite-syscall.o
CC cr-restore.o
CC security.o
CC proc_parse.o
CC cr-dump.o
CC cr-check.o
CC ptrace.o
CC shmem.o
CC eventfd.o
CC eventpoll.o
CC mount.o
CC fsnotify.o
CC signalfd.o
CC pstree.o
CC tty.o
CC sigframe.o
CC arch/x86/vdso.o
LINK built-in.o
With this patches
CC parasite-syscall.o
CC cr-restore.o
CC proc_parse.o
CC cr-dump.o
CC pstree.o
CC arch/x86/vdso.o
LINK built-in.o
More information about the CRIU
mailing list