{"shas":[["4ecb9b2b805f380a16e41b07bc12072a6d834ca2","6a127da923e2858afd57529c4ee26b73297a85d1@exscape.org","Rethink page table allocation once again... The new approach is in-between JamesM's method (only pre-allocate the heap's initial size) and my previous (pre-allocate ALL page tables, for the entire address space). Advantages of the new approach are that there's no way to get into a situation where get_page needs kmalloc() to grow the kernel heap (because kmalloc() is out of space in the heap!), it only wastes 64k memory (I think?), and cloning page directories becomes easy again.","Thomas Backman"]],"ref":"refs/heads/master","size":1,"head":"4ecb9b2b805f380a16e41b07bc12072a6d834ca2","push_id":43392055}