The second example on the README (./segmentation.py -s 100 -a 16 -p 32) throws an error that stems from line 87, where the program checks if the physical memory is 2X larger than the address space.
Could the condition be at least 2X larger: psize < 2 * asize?
The second example on the README (./segmentation.py -s 100 -a 16 -p 32) throws an error that stems from line 87, where the program checks if the physical memory is 2X larger than the address space. Could the condition be at least 2X larger:
psize < 2 * asize
?https://github.com/remzi-arpacidusseau/ostep-homework/blob/561fe0fe0f83dafba54033abd5b50b876420415f/vm-segmentation/segmentation.py#L87