<commit_before>#ifndef KERN_CONFIG
#define KERN_CONFIG

#define NUM_STACK_PAGES 2
#define MAX_AMOUNT_OF_CONTEXTS 32

#define NUM_FDS 32

// The maximum number of pages that may be allocated.
// Before paging is enabled, the kernel will assure there are PAGE_POOL_NUM_PAGES free pages
// mapped to its virtual address space. This is done to simplify management of page table nodes
// (if you want to add a node to the page table tree, it must already be mapped so that it can be
// modified) without having to manage a free page pool.
// For now, 2MiB, i.e. 512 4k-pages, shall be enough
#define PAGE_POOL_NUM_PAGES 0x200

// The trampoline must be mapped at the same vaddr for both the kernel and
// the userspace processes. The page is mapped to the last VPN slot available<commit_msg>Config: Increase free page pool count to 4MiB<commit_after>#ifndef KERN_CONFIG
#define KERN_CONFIG

#define NUM_STACK_PAGES 2
#define MAX_AMOUNT_OF_CONTEXTS 32

#define NUM_FDS 32

// The maximum number of pages that may be allocated.
// Before paging is enabled, the kernel will assure there are PAGE_POOL_NUM_PAGES free pages
// mapped to its virtual address space. This is done to simplify management of page table nodes
// (if you want to add a node to the page table tree, it must already be mapped so that it can be
// modified) without having to manage a free page pool.
// For now, 4MiB, i.e. 1024 4k-pages, shall be enough
#define PAGE_POOL_NUM_PAGES 0x400

// The trampoline must be mapped at the same vaddr for both the kernel and
// the userspace processes. The page is mapped to the last VPN slot available
{'fraction_non_alphanumeric': 0.049221183800623056, 'fraction_numerical': 0.018691588785046728, 'mean_word_length': 4.050314465408805, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4789634', 'n_tokens_mistral': 509, 'n_tokens_neox': 460, 'n_words': 248}