Skip to content
Snippets Groups Projects
  • Subv's avatar
    Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE... · d192fb06
    Subv authored
    Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE region of the linear heap.
    
    Each thread gets a 0x200-byte area from the 0x1000-sized page, when all 8 thread slots in a single page are used up, the kernel allocates a new page to hold another 8 entries.
    
    This is consistent with what the real kernel does.
    d192fb06