Skip to content

Commit

Permalink
syncregs: EXPERIMENTAL/DEBUG: Try to make test sizes in registers.c e…
Browse files Browse the repository at this point in the history
…qual which makes a lot of the syncregs-tests irrelevant but might provide insights for mmap on OSX.
  • Loading branch information
m7a committed Apr 13, 2018
1 parent fca6eba commit 0e97fdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/registers.c
Expand Up @@ -800,8 +800,9 @@ void regs_sync_debug_print_memory()
void regs_sync_enable_test_mode()
{
debug_print_to_stdout = 1;
/* TODO DEBUG ONLY: MAKE VALUES ARE NOW EQUAL TO ENABLE FINDING OUT ABOUT OSX BEHAVIOUR OF MMAP AND EINVAL... */
shared_mmap_bytes = 1024 * 32;
shared_initial = 1024 * 4; /* still larger than metadata size */
shared_initial = 1024 * 32;
}

/* vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 : */
Expand Down

0 comments on commit 0e97fdc

Please sign in to comment.