[lkml]   [2004]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Active Memory Defragmentation: Our implementation & problems
At 03 Feb 2004 21:54:34 -0800,
Dave Hansen wrote:
> Moving file-backed pages is mostly handled already. You can do a
> regular page-cache lookup with find_get_page(), make your copy,
> invalidate the old one, then readd the new one. The invalidation can be
> done in the same style as shrink_list().

Actually, it is a bit more complicated.
I have implemented similar functionality for memory hotremoval.

See my post about memory hotremoval
for details.
remap_onepage() and remapd() in the patch are the main functions.

IWAMOTO Toshihiro

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:00    [W:0.066 / U:0.488 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site