The Real Story Of 2PR3

by Jule 23 views
The Real Story Of 2PR3

The 2PR3 lab exposes a hidden fragility in process memory management - critical for any scheduler handling lightweight tasks. Main routines free pointers like main_processes and mlfq_config, but not all allocation layers clean up properly, risking leaks and crashes. A key insight: set_mlfq_config often stores pointer references instead of owning them, so freeing them mid-scheduler use can create dangling references. This undermines stability, especially when run_comparative_analysis mutates