On Tue, 8 Oct 2019, Leonardo Bras wrote: > So you say that the performance impact of using my approach is the same > as using locks? (supposing that lock never waits) > > So, there are 'lockless pagetable walks' only for the sake of better > performance? I thought that was the major motivation here. > I thought they existed to enable doing pagetable walks in states where > locking was not safe. That sounds profoundly dangerous. Usually locking makes things safe to access. Accesses without locking require a lot of care.
- [PATCH v5 00/11] Introduces new count-based method for... Leonardo Bras
- [PATCH v5 02/11] powerpc/mm: Adds counting method... Leonardo Bras
- Re: [PATCH v5 02/11] powerpc/mm: Adds countin... Christopher Lameter
- Re: [PATCH v5 02/11] powerpc/mm: Adds cou... Leonardo Bras
- Re: [PATCH v5 02/11] powerpc/mm: Adds... Christopher Lameter
- Re: [PATCH v5 02/11] powerpc/mm:... Leonardo Bras
- Re: [PATCH v5 02/11] powerpc... Christopher Lameter
- [PATCH v5 03/11] mm/gup: Applies counting method ... Leonardo Bras
- [PATCH v5 01/11] asm-generic/pgtable: Adds generi... Leonardo Bras
- Re: [PATCH v5 01/11] asm-generic/pgtable: Add... Peter Zijlstra
- Re: [PATCH v5 01/11] asm-generic/pgtable:... Peter Zijlstra
- Re: [PATCH v5 01/11] asm-generic/pgta... John Hubbard
- Re: [PATCH v5 01/11] asm-generic... Peter Zijlstra
- Re: [PATCH v5 01/11] asm-generic/pgta... Leonardo Bras
- Re: [PATCH v5 01/11] asm-generic... Peter Zijlstra
- Re: [PATCH v5 01/11] asm-gen... Leonardo Bras
- Re: [PATCH v5 01/11] asm-generic/pgta... Aneesh Kumar K.V