>> If we simply split up huge pages when protecting the prefix, we don't >> need gmap_protect_pmd() anymore, and therefore also (at least) not > > We need it for the dirty tracking, no? Indeed, missed that call. But we don't set any notifier bits, that's the important part. > >> >> - s390/mm: Abstract gmap notify bit setting > > Yes, that's not needed then. > >> - s390/mm: add gmap PMD invalidation notification > > We need that one (in parts) because of the protection transfer to user > space. We will be notified on mm pmds. Even if we split a pmd, we will > be notified on a pmd, not on a pte. So we need at least a skeleton that > calls pmdp_notify_split. > > I'm currently preparing a patch that rips out pmd protection with > software bits. I'll attach it when finished, so we can have a look what > can go. > Yes, parts of it. Especially without notifier bits. -- Thanks, David / dhildenb