{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/dc63dadf34a849959a4ff6e1c3c3133f\" frameborder=\"0\" width=\"1672\" height=\"1254\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1254,"width":1672,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1254,"thumbnail_width":1672,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/dc63dadf34a849959a4ff6e1c3c3133f-86b42c9c3b8d9054.gif","duration":1634.429,"title":"Understanding XV6 Copy-On-Write ","description":"In this video, I explain the concept of copy-on-write (COW) in memory management, particularly how it relates to parent and child processes. I discuss the allocation of physical memory and the handling of read-only and writable pages during the forking process. It's crucial to understand how we can save memory by sharing pages and only allocating new ones when necessary. I encourage you to review the code I mentioned to see how these mechanisms are implemented. Please let me know if you have any questions or need further clarification.\n\n@jerryq0101 on X"}