Re: [RFC 2/2] Hugetlb COW
From: Adam Litke (agl_at_us.ibm.com)
Date: 11/07/05
- Previous message: linas: "[PATCH: 5/7]: Revised: [PATCH 30/42]: ethernet: add PCI error recovery to e1000 dev driver"
- Next in thread: David Gibson: "Re: [RFC 2/2] Hugetlb COW"
- Reply: David Gibson: "Re: [RFC 2/2] Hugetlb COW"
- Reply: David Gibson: "Re: [RFC 2/2] Hugetlb COW"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: linux-mm@kvack.org Date: Mon, 07 Nov 2005 15:47:55 -0600
On Mon, 2005-11-07 at 15:38 -0600, Adam Litke wrote:
> [RFC] COW for hugepages
> (Patch originally from David Gibson <dwg@au1.ibm.com>)
>
> This patch implements copy-on-write for hugepages, hence allowing
> MAP_PRIVATE mappings of hugetlbfs.
>
> This is chiefly useful for cases where we want to use hugepages
> "automatically" - that is to map hugepages without the knowledge of
> the code in the final application (either via kernel hooks, or with
> LD_PRELOAD). We can use various heuristics to determine when
> hugepages might be a good idea, but changing the semantics of
> anonymous memory from MAP_PRIVATE to MAP_SHARED without the app's
> knowledge is clearly wrong.
I forgot to mention in the original post that this patch is currently
broken on ppc64 due to a problem with update_mmu_cache(). The proper
fix is understood but backed up behind the powerpc merge activity.
-- Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center - 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: linas: "[PATCH: 5/7]: Revised: [PATCH 30/42]: ethernet: add PCI error recovery to e1000 dev driver"
- Next in thread: David Gibson: "Re: [RFC 2/2] Hugetlb COW"
- Reply: David Gibson: "Re: [RFC 2/2] Hugetlb COW"
- Reply: David Gibson: "Re: [RFC 2/2] Hugetlb COW"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|