mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
dde_rump: increase max I/O request size to 1 MiB
With the increase of MAXPHYS, the rump kernel requests a contiguous allocation of 2101248 bytes, which exceeds the allocator's block size of 2 MiB. Error: backend allocator: Unable to allocate memory (size: 2101248 align: 12) The patch avoids this corner case by increasing the allocator's block size to 4 MiB. Fixes #4613
This commit is contained in:
committed by
Christian Helmuth
parent
99254b4d52
commit
20df224b19
@@ -3,7 +3,7 @@ set mkfs_opts "-F"
|
||||
|
||||
set test_build_components "lib/vfs_rump"
|
||||
|
||||
set test_vfs_config "<rump fs=\"ext2fs\" ram=\"7M\" writeable=\"yes\"/>"
|
||||
set test_vfs_config "<rump fs=\"ext2fs\" ram=\"10M\" writeable=\"yes\"/>"
|
||||
|
||||
set test_boot_modules {
|
||||
rump_fs.lib.so
|
||||
|
||||
@@ -8,7 +8,7 @@ set mkfs_opts "-F"
|
||||
|
||||
set test_build_components "lib/vfs_rump"
|
||||
|
||||
set test_vfs_config "<rump fs=\"ext2fs\" ram=\"7M\" writeable=\"yes\"/>"
|
||||
set test_vfs_config "<rump fs=\"ext2fs\" ram=\"10M\" writeable=\"yes\"/>"
|
||||
|
||||
set test_boot_modules {
|
||||
rump_fs.lib.so
|
||||
|
||||
@@ -39,7 +39,7 @@ create_boot_directory
|
||||
# Generate config
|
||||
#
|
||||
append config {
|
||||
<config>
|
||||
<config verbose="yes">
|
||||
<parent-provides>
|
||||
<service name="ROM"/>
|
||||
<service name="IRQ"/>
|
||||
@@ -73,7 +73,7 @@ append config {
|
||||
</config>
|
||||
</start>
|
||||
<start name="vfs" caps="200">
|
||||
<resource name="RAM" quantum="16M" />
|
||||
<resource name="RAM" quantum="25M" />
|
||||
<provides><service name="File_system"/></provides>
|
||||
<config>
|
||||
<vfs> <rump fs="ext2fs" ram="10M"/> </vfs>
|
||||
|
||||
Reference in New Issue
Block a user