Re: Active Memory Defragmentation: Our implementation & problems
From: IWAMOTO Toshihiro (iwamoto_at_valinux.co.jp)
Date: 02/04/04
- Previous message: jshankar: "RE: RDMA(Remote direct Memory access)"
- In reply to: Dave Hansen: "Re: Active Memory Defragmentation: Our implementation & problems"
- Next in thread: Dave Hansen: "Re: Active Memory Defragmentation: Our implementation & problems"
- Reply: Dave Hansen: "Re: Active Memory Defragmentation: Our implementation & problems"
- Reply: Hirokazu Takahashi: "Re: Active Memory Defragmentation: Our implementation & problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 04 Feb 2004 15:57:16 +0900 To: Dave Hansen <haveblue@us.ibm.com>
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
http://marc.theaimsgroup.com/?l=linux-kernel&m=107354781130941&w=2
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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: jshankar: "RE: RDMA(Remote direct Memory access)"
- In reply to: Dave Hansen: "Re: Active Memory Defragmentation: Our implementation & problems"
- Next in thread: Dave Hansen: "Re: Active Memory Defragmentation: Our implementation & problems"
- Reply: Dave Hansen: "Re: Active Memory Defragmentation: Our implementation & problems"
- Reply: Hirokazu Takahashi: "Re: Active Memory Defragmentation: Our implementation & problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|