Re: [PATCH v2 0/5] x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()

2018-12-03 Thread Kirill A. Shutemov
On Fri, Nov 30, 2018 at 04:35:06PM -0800, Dan Williams wrote: > Dan Williams (5): > generic/pgtable: Make {pmd,pud}_same() unconditionally available > generic/pgtable: Introduce {p4d,pgd}_same() > generic/pgtable: Introduce set_pte_safe() > x86/mm: Validate

Re: [PATCH v2 0/5] x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()

2018-12-03 Thread Kirill A. Shutemov
On Fri, Nov 30, 2018 at 04:35:06PM -0800, Dan Williams wrote: > Dan Williams (5): > generic/pgtable: Make {pmd,pud}_same() unconditionally available > generic/pgtable: Introduce {p4d,pgd}_same() > generic/pgtable: Introduce set_pte_safe() > x86/mm: Validate

Re: [PATCH v2 0/5] x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()

2018-12-01 Thread Dan Williams
On Sat, Dec 1, 2018 at 2:28 AM Peter Zijlstra wrote: > > On Fri, Nov 30, 2018 at 04:35:06PM -0800, Dan Williams wrote: > > > > Dan Williams (5): > > generic/pgtable: Make {pmd,pud}_same() unconditionally available > > generic/pgtable: Introduce {p4d,pgd}_same() > >

Re: [PATCH v2 0/5] x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()

2018-12-01 Thread Dan Williams
On Sat, Dec 1, 2018 at 2:28 AM Peter Zijlstra wrote: > > On Fri, Nov 30, 2018 at 04:35:06PM -0800, Dan Williams wrote: > > > > Dan Williams (5): > > generic/pgtable: Make {pmd,pud}_same() unconditionally available > > generic/pgtable: Introduce {p4d,pgd}_same() > >

Re: [PATCH v2 0/5] x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()

2018-12-01 Thread Peter Zijlstra
On Fri, Nov 30, 2018 at 04:35:06PM -0800, Dan Williams wrote: > > Dan Williams (5): > generic/pgtable: Make {pmd,pud}_same() unconditionally available > generic/pgtable: Introduce {p4d,pgd}_same() > generic/pgtable: Introduce set_pte_safe() > x86/mm: Validate

Re: [PATCH v2 0/5] x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()

2018-12-01 Thread Peter Zijlstra
On Fri, Nov 30, 2018 at 04:35:06PM -0800, Dan Williams wrote: > > Dan Williams (5): > generic/pgtable: Make {pmd,pud}_same() unconditionally available > generic/pgtable: Introduce {p4d,pgd}_same() > generic/pgtable: Introduce set_pte_safe() > x86/mm: Validate

[PATCH v2 0/5] x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()

2018-11-30 Thread Dan Williams
Changes since v1 [1]: * Introduce _safe versions of the set_pte family of helpers (Dave) * Fix the validation check to accept rewriting the same entry (Peter) * Fix up the email reference links in the changelogs (Peter) [1]: https://lkml.org/lkml/2018/11/20/300 --- >From patch 5: Commit

[PATCH v2 0/5] x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()

2018-11-30 Thread Dan Williams
Changes since v1 [1]: * Introduce _safe versions of the set_pte family of helpers (Dave) * Fix the validation check to accept rewriting the same entry (Peter) * Fix up the email reference links in the changelogs (Peter) [1]: https://lkml.org/lkml/2018/11/20/300 --- >From patch 5: Commit