Linus Torvalds writes: (Summary) In the best case, it's just the
current CPU, and no IPI is needed at all.
current CPU, and no IPI is needed at all.
Which means that maybe we can use that set of CPU's as guidance to how we should treat lazy.
we should treat lazy.
We can *also* take PCID support into account.
We can *also* take PCID support into account.
So what I would suggest is something like
So what I would suggest is something like
- if we have PCID support, _and_ the set of CPU's is more than just us, just switch to init_mm.
current CPU, and no IPI is needed at all.
Which means that maybe we can use that set of CPU's as guidance to how we should treat lazy.
we should treat lazy.
We can *also* take PCID support into account.
We can *also* take PCID support into account.
So what I would suggest is something like
So what I would suggest is something like
- if we have PCID support, _and_ the set of CPU's is more than just us, just switch to init_mm.