> One quick note: this inline isn't needed for the 2b solution (allocate
That's true. I still think it's a good idea to have it, even if it winds
up being empty in the variants we really use. The principle is that the
new set of types/functions could be used to implement exactly what we have
now. In fact, it's usually best to do a series of small patches that start
with introducing the abstraction while not changing anything.
That's correct.
Again, I'd leave the call to the inline that would do it.
For this implementation plan, its body is:
BUG_ON(!task->signal->cputime.totals && !thread_group_empty(task));
Thanks,
Roland
--