mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
page-pipe: move tunable constants into config.h
PIPE_MAX_SIZE is calculated according with the kernel code. PPB_IOV_BATCH has been taken from my mind. Signed-off-by: Andrey Vagin <avagin@openvz.org> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
3a3f3c79e4
commit
18607116fa
3 changed files with 31 additions and 23 deletions
|
|
@ -3,10 +3,13 @@ include scripts/feature-tests.mak
|
|||
|
||||
CONFIG := include/config.h
|
||||
|
||||
$(CONFIG): scripts/utilities.mak scripts/feature-tests.mak
|
||||
$(CONFIG): scripts/utilities.mak scripts/feature-tests.mak include/config-base.h
|
||||
$(E) " GEN " $@
|
||||
$(Q) @echo '#ifndef __CR_CONFIG_H__' > $@
|
||||
$(Q) @echo '#define __CR_CONFIG_H__' >> $@
|
||||
$(Q) @echo '' >> $@
|
||||
$(Q) @echo '#include "config-base.h"' >> $@
|
||||
$(Q) @echo '' >> $@
|
||||
ifeq ($(call try-cc,$(TCP_REPAIR_TEST),,),y)
|
||||
$(Q) @echo '#define CONFIG_HAS_TCP_REPAIR' >> $@
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue