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. ;)
Attachment:
pgpiJgY5SfGS4.pgp
Description: PGP signature
- References:
- [RFC] VM: I have a dream...
- From: Al Boldi <[email protected]>
- Re: [RFC] VM: I have a dream...
- From: Robin Holt <[email protected]>
- Re: [RFC] VM: I have a dream...
- From: Al Boldi <[email protected]>
- Re: [RFC] VM: I have a dream...
- From: [email protected]
- Re: [RFC] VM: I have a dream...
- From: Benjamin LaHaise <[email protected]>
- [RFC] VM: I have a dream...
- Prev by Date: Re: 2.6.16-rc1-mm2
- Next by Date: [PATCH] fix fcntl(F_SETFL) on append-only files (repost)
- Previous by thread: Re: [RFC] VM: I have a dream...
- Next by thread: Re: [RFC] VM: I have a dream...
- Index(es):