lkml.org 
[lkml]   [2006]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] VM: I have a dream...
From
Date
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]
\
 
 \ /
  Last update: 2006-01-23 20:43    [W:3.300 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site