One more query, what if multiple processes call ioctl KSM_CREATE_SCAN
? Will there be multiple scanners ?

Consider a scenario where two processes A & B separately call
KSM_CREATE_SCAN and then start registering some memory pages/areas via
KSM_CREATE_SHARED_MEMORY_AREA ioctl.
Lets say A registers 4 pages having content X, Y, Z and X . And,
process B registers 2 pages having content Z and X.
So, will there be only single copy each of X, Y and Z in the entire
system or will they be kept separately i.e the scanner for A maintains
X, Y, Z single copy each and scanner for B maintains X and Z
separately.


-- 
Regards,
Sukanto Ghosh
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to