Thread (42 messages) flat view 42 messages, 6 authors, 2023-06-08

Re: [PATCH 07/12] s390: add pte_free_defer(), with use of mmdrop_async()

From: Hugh Dickins <hughd@google.com>
Date: 2023-06-08 02:47:11
Also in: linux-arm-kernel, linux-mm, linux-s390, lkml, sparclinux

On Tue, 6 Jun 2023, Jason Gunthorpe wrote:
On Mon, Jun 05, 2023 at 10:11:52PM -0700, Hugh Dickins wrote:
quoted
"deposited" pagetable fragments, over in arch/s390/mm/pgtable.c: use
the first two longs of the page table itself for threading the list.
It is not RCU anymore if it writes to the page table itself before the
grace period, so this change seems to break the RCU behavior of
page_table_free_rcu().. The rcu sync is inside tlb_remove_table()
called after the stores.
Yes indeed, thanks for pointing that out.
Maybe something like an xarray on the mm to hold the frags?
I think we can manage without that:
I'll say slightly more in reply to Gerald.

Hugh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help