Messages in this thread | | | Subject | Re: [RFC] VM: I have a dream... | From | Valdis.Kletnieks@vt ... | Date | Mon, 23 Jan 2006 14:40:08 -0500 |
| |
On Mon, 23 Jan 2006 14:26:06 EST, Benjamin LaHaise said: > Actually, that is something that the vm could optimize out of the picture > entirely -- it is a question of whether it is worth the added complexity > to handle such a case. copy_to_user already takes a slow path when it hits > the page fault (we do a lookup on the exception handler already) and could > test if an entire page is being overwritten, and if so proceed to destroy > the old mapping and use a fresh page from ram.
That was my point - it's easy till you start trying to get actual performance out of it by optimizing stuff like that. ;) [unhandled content-type:application/pgp-signature] | |