Re: [PATCH 1/5] mm: Introduce mm_struct.has_pinned

From: Jason Gunthorpe
Date: Mon Sep 28 2020 - 19:28:47 EST


On Mon, Sep 28, 2020 at 12:50:03PM -0700, Linus Torvalds wrote:

> But the more I look at this code, the more I go "ok, I want somebody
> to actually test this with the rdma case".

I suspect it will be OK as our immediate test suite that touches this
will be using malloc memory.

It seems some mmap trick will be needed to get higher map counts?

> So I'll attach my suggested patch, but I won't actually commit it. I'd
> really like to have this tested, possibly _together_ with the sequence
> count addition..

Ok, we will do this once the holidays are over. If Peter doesn't take
it I can look at the seqcount too.

Thanks,
Jason