Skip to content

Commit 307f19b

Browse files
committed
ci: point kraft.yaml at unikraft fork with demand-page heap fix
Temporarily point all examples' unikraft source at danbugs/unikraft:perf/demand-page-heap to validate the boot.c heap unmap fix across all examples. This branch adds a uk_paging_page_unmap call after uk_vma_map_anon in heap_init(), tearing down boot-provided identity-mapped PTEs so demand paging works correctly. Reduces snapshot size from 3.0 GiB to 654 MiB for Python guests. Signed-off-by: danbugs <danilochiarlone@gmail.com>
1 parent 62b54cd commit 307f19b

18 files changed

Lines changed: 36 additions & 36 deletions

File tree

examples/dotnet-http/kraft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ specification: '0.6'
22
name: dotnet-http-hyperlight
33

44
unikraft:
5-
source: https://github.com/unikraft/unikraft.git
6-
version: plat-hyperlight
5+
source: https://github.com/danbugs/unikraft.git
6+
version: perf/demand-page-heap
77
kconfig:
88
# Platform
99
CONFIG_PLAT_HYPERLIGHT: 'y'

examples/dotnet-nativeaot/kraft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ specification: '0.6'
22
name: dotnet-nativeaot-hyperlight
33

44
unikraft:
5-
source: https://github.com/unikraft/unikraft.git
6-
version: plat-hyperlight
5+
source: https://github.com/danbugs/unikraft.git
6+
version: perf/demand-page-heap
77
kconfig:
88
CONFIG_PLAT_HYPERLIGHT: 'y'
99
CONFIG_PAGING: 'n'

examples/dotnet/kraft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ specification: '0.6'
22
name: dotnet-hyperlight
33

44
unikraft:
5-
source: https://github.com/unikraft/unikraft.git
6-
version: plat-hyperlight
5+
source: https://github.com/danbugs/unikraft.git
6+
version: perf/demand-page-heap
77
kconfig:
88
# Platform
99
CONFIG_PLAT_HYPERLIGHT: 'y'

examples/go-http/kraft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ specification: '0.6'
22
name: go-http-hyperlight
33

44
unikraft:
5-
source: https://github.com/unikraft/unikraft.git
6-
version: plat-hyperlight
5+
source: https://github.com/danbugs/unikraft.git
6+
version: perf/demand-page-heap
77
kconfig:
88
# Platform
99
CONFIG_PLAT_HYPERLIGHT: 'y'

examples/go/kraft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ specification: '0.6'
33
name: go-hyperlight
44

55
unikraft:
6-
source: https://github.com/unikraft/unikraft.git
7-
version: plat-hyperlight
6+
source: https://github.com/danbugs/unikraft.git
7+
version: perf/demand-page-heap
88
kconfig:
99
# Platform
1010
CONFIG_PLAT_HYPERLIGHT: 'y'

examples/helloworld-c/kraft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ specification: '0.6'
22
name: helloworld-hyperlight
33

44
unikraft:
5-
source: https://github.com/unikraft/unikraft.git
6-
version: plat-hyperlight
5+
source: https://github.com/danbugs/unikraft.git
6+
version: perf/demand-page-heap
77
kconfig:
88
CONFIG_PLAT_HYPERLIGHT: 'y'
99
CONFIG_PAGING: 'n'

examples/hostfs-posix-c/kraft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ specification: '0.6'
22
name: hostfs-posix-c-hyperlight
33

44
unikraft:
5-
source: https://github.com/unikraft/unikraft.git
6-
version: plat-hyperlight
5+
source: https://github.com/danbugs/unikraft.git
6+
version: perf/demand-page-heap
77
kconfig:
88
# Platform
99
CONFIG_PLAT_HYPERLIGHT: 'y'

examples/hostfs-posix-py/kraft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ specification: '0.6'
22
name: hostfs-posix-py-hyperlight
33

44
unikraft:
5-
source: https://github.com/unikraft/unikraft.git
6-
version: plat-hyperlight
5+
source: https://github.com/danbugs/unikraft.git
6+
version: perf/demand-page-heap
77
kconfig:
88
# Platform
99
CONFIG_PLAT_HYPERLIGHT: 'y'

examples/multifn-c/kraft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ specification: '0.6'
22
name: multifn-c-hyperlight
33

44
unikraft:
5-
source: https://github.com/unikraft/unikraft.git
6-
version: plat-hyperlight
5+
source: https://github.com/danbugs/unikraft.git
6+
version: perf/demand-page-heap
77
kconfig:
88
CONFIG_PLAT_HYPERLIGHT: 'y'
99
CONFIG_PAGING: 'n'

examples/networking-py/kraft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ specification: '0.6'
22
name: networking-py-hyperlight
33

44
unikraft:
5-
source: https://github.com/unikraft/unikraft.git
6-
version: plat-hyperlight
5+
source: https://github.com/danbugs/unikraft.git
6+
version: perf/demand-page-heap
77
kconfig:
88
# Platform
99
CONFIG_PLAT_HYPERLIGHT: 'y'

0 commit comments

Comments
 (0)