Re: [PATCH 04/19] mm, thp: Preserve pgprot across huge page split

2012-08-09 Thread Andrea Arcangeli
On Tue, Jul 31, 2012 at 09:12:08PM +0200, Peter Zijlstra wrote: > If we marked a THP with our special PROT_NONE protections, ensure we > don't loose them over a split. > > Collapse seems to always allocate a new (huge) page which should > already end up on the new target node so loosing

Re: [PATCH 04/19] mm, thp: Preserve pgprot across huge page split

2012-08-09 Thread Andrea Arcangeli
On Tue, Jul 31, 2012 at 09:12:08PM +0200, Peter Zijlstra wrote: If we marked a THP with our special PROT_NONE protections, ensure we don't loose them over a split. Collapse seems to always allocate a new (huge) page which should already end up on the new target node so loosing protections

Re: [PATCH 04/19] mm, thp: Preserve pgprot across huge page split

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

[PATCH 04/19] mm, thp: Preserve pgprot across huge page split

2012-07-31 Thread Peter Zijlstra
If we marked a THP with our special PROT_NONE protections, ensure we don't loose them over a split. Collapse seems to always allocate a new (huge) page which should already end up on the new target node so loosing protections there isn't a problem. Cc: Rik van Riel Cc: Paul Turner

[PATCH 04/19] mm, thp: Preserve pgprot across huge page split

2012-07-31 Thread Peter Zijlstra
If we marked a THP with our special PROT_NONE protections, ensure we don't loose them over a split. Collapse seems to always allocate a new (huge) page which should already end up on the new target node so loosing protections there isn't a problem. Cc: Rik van Riel r...@redhat.com Cc: Paul

Re: [PATCH 04/19] mm, thp: Preserve pgprot across huge page split

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: Acked-by: Rik van Riel r...@redhat.com -- All rights reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at