4 ms·
This one from Torvalds is close to clickbait, at least it made me want to find and read copy_page_range(). "Fork is rather simple, once you get the hang of it,
by tyingq 10y ago
This one from Torvalds is close to clickbait, at least it made me want to find and read copy_page_range().
"Fork is rather simple, once you get the hang of it, but the memory management can be a bitch. See 'mm/memory.c': 'copy_page_range()'"
https://github.com/torvalds/linux/blob/master/kernel/fork.c#L10 https://github.com/torvalds/linux/blob/master/kernel/fork.c#...