Re: Does the copy-on-write usually happen on application startup?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mauricio Lin wrote:

Hi all,

Does anyone know if the copy-on-write usually happens
on application startup (where processes are created),
or any moment during the application run time?

BR,

Mauricio Lin.

its unlikely to happen as a direct result of an app startup,
as thats done by exec, which tosses the address-space it got from the fork.

IIUC, only fork sets up the new process with COW-able pages, which may
or may not be copied-on-write, dependent upon whether a write happens to a given page.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux