Re: [PATCH 15/23] s390: allow pte_offset_map_lock() to fail

2023-05-25 Thread Claudio Imbrenda
On Tue, 23 May 2023 18:49:14 -0700 (PDT) Hugh Dickins wrote: > On Tue, 23 May 2023, Claudio Imbrenda wrote: > > > > so if I understand the above correctly, pte_offset_map_lock will only > > fail if the whole page table has disappeared, and in that case, it will > > never reappear with zero pages

Re: [PATCH 15/23] s390: allow pte_offset_map_lock() to fail

2023-05-23 Thread Hugh Dickins
On Tue, 23 May 2023, Claudio Imbrenda wrote: > > so if I understand the above correctly, pte_offset_map_lock will only > fail if the whole page table has disappeared, and in that case, it will > never reappear with zero pages, therefore we can safely skip (in that > case just break). if we were to

Re: [PATCH 15/23] s390: allow pte_offset_map_lock() to fail

2023-05-23 Thread Claudio Imbrenda
On Wed, 17 May 2023 14:50:28 -0700 (PDT) Hugh Dickins wrote: > On Wed, 17 May 2023, Claudio Imbrenda wrote: > > On Tue, 9 May 2023 22:01:16 -0700 (PDT) > > Hugh Dickins wrote: > > > > > In rare transient cases, not yet made possible, pte_offset_map() and > > > pte_offset_map_lock() may not fi

Re: [PATCH 15/23] s390: allow pte_offset_map_lock() to fail

2023-05-17 Thread Hugh Dickins
On Wed, 17 May 2023, Claudio Imbrenda wrote: > On Tue, 9 May 2023 22:01:16 -0700 (PDT) > Hugh Dickins wrote: > > > In rare transient cases, not yet made possible, pte_offset_map() and > > pte_offset_map_lock() may not find a page table: handle appropriately. > > > > Signed-off-by: Hugh Dickins

Re: [PATCH 15/23] s390: allow pte_offset_map_lock() to fail

2023-05-17 Thread Claudio Imbrenda
On Tue, 9 May 2023 22:01:16 -0700 (PDT) Hugh Dickins wrote: > In rare transient cases, not yet made possible, pte_offset_map() and > pte_offset_map_lock() may not find a page table: handle appropriately. > > Signed-off-by: Hugh Dickins > --- > arch/s390/kernel/uv.c | 2 ++ > arch/s390/mm/gma

[PATCH 15/23] s390: allow pte_offset_map_lock() to fail

2023-05-09 Thread Hugh Dickins
In rare transient cases, not yet made possible, pte_offset_map() and pte_offset_map_lock() may not find a page table: handle appropriately. Signed-off-by: Hugh Dickins --- arch/s390/kernel/uv.c | 2 ++ arch/s390/mm/gmap.c| 2 ++ arch/s390/mm/pgtable.c | 12 +--- 3 files changed, 1