"Aneesh Kumar K.V" writes:
> "Kirill A. Shutemov" writes:
>
>>> @@ -184,3 +185,13 @@ void pmdp_invalidate(struct vm_area_struct *vma,
>>> unsigned long address,
>>> }
>>> #endif /* CONFIG_TRANSPARENT_HUGEPAGE */
>>> #endif
>>> +
>>> +#ifndef __HAVE_ARCH_PMDP_SPLITTING_FLUSH_NOTIFY
>>>
"Kirill A. Shutemov" writes:
>> @@ -184,3 +185,13 @@ void pmdp_invalidate(struct vm_area_struct *vma,
>> unsigned long address,
>> }
>> #endif /* CONFIG_TRANSPARENT_HUGEPAGE */
>> #endif
>> +
>> +#ifndef __HAVE_ARCH_PMDP_SPLITTING_FLUSH_NOTIFY
>> +#ifdef CONFIG_TRANSPARENT_HUGEPAGE
>> +void
On Thu, Apr 30, 2015 at 01:55:39PM +0530, Aneesh Kumar K.V wrote:
> Some arch may require an explicit IPI before a THP PMD split. This
> ensures that a local_irq_disable can prevent a parallel THP PMD split.
> So use new function which arch can override
>
> Signed-off-by: Aneesh Kumar K.V
> ---
Some arch may require an explicit IPI before a THP PMD split. This
ensures that a local_irq_disable can prevent a parallel THP PMD split.
So use new function which arch can override
Signed-off-by: Aneesh Kumar K.V
---
include/asm-generic/pgtable.h | 5 +
mm/huge_memory.c | 7
Some arch may require an explicit IPI before a THP PMD split. This
ensures that a local_irq_disable can prevent a parallel THP PMD split.
So use new function which arch can override
Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
---
include/asm-generic/pgtable.h | 5 +
On Thu, Apr 30, 2015 at 01:55:39PM +0530, Aneesh Kumar K.V wrote:
Some arch may require an explicit IPI before a THP PMD split. This
ensures that a local_irq_disable can prevent a parallel THP PMD split.
So use new function which arch can override
Signed-off-by: Aneesh Kumar K.V
Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com writes:
Kirill A. Shutemov kir...@shutemov.name writes:
@@ -184,3 +185,13 @@ void pmdp_invalidate(struct vm_area_struct *vma,
unsigned long address,
}
#endif /* CONFIG_TRANSPARENT_HUGEPAGE */
#endif
+
+#ifndef
Kirill A. Shutemov kir...@shutemov.name writes:
@@ -184,3 +185,13 @@ void pmdp_invalidate(struct vm_area_struct *vma,
unsigned long address,
}
#endif /* CONFIG_TRANSPARENT_HUGEPAGE */
#endif
+
+#ifndef __HAVE_ARCH_PMDP_SPLITTING_FLUSH_NOTIFY
+#ifdef CONFIG_TRANSPARENT_HUGEPAGE
+void
8 matches
Mail list logo