question about COW

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

 



There is an "early COW" mechanism in __do_fault() which, if the page is not present and the fault is FAULT_PAGE_WRITE goes ahead and copies the page in order to prevent the next exception.

The question - why the code in __do_fault() does not decrease the shared map count of the old page as do_wp_page does ? And while we are at it, while this "early COW" code is much more simple than do_wp_page()?

Thanks.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]