On Fri, 2 Feb 2024 at 13:18, Liam R. Howlett <Liam.Howlett@xxxxxxxxxx> wrote: > > There will be a larger performance cost to checking up front without > allowing the partial completion. I suspect that for mseal(), the only half-way common case will be sealing an area that is entirely contained within one vma. So the cost will be the vma splitting (if it's not the whole vma), and very unlikely to be any kind of "walk the vma's to check that they can all be sealed" loop up-front. We'll see, but that's my gut feel, at least. Linus