Sukadev Bhattiprolu [off-list ref] writes:
Eric W. Biederman [ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org] wrote:
| Not what I was thinking. The following untested patch is what I was
| thinking. It just exposes last, min, and max to the callers which pass
| in different appropriate values.
Minor comments are that the caller has to choose which function to call
and passing in 'target-1' for the 'last' in set_pidmap() seems a bit
unnatural. But I can't think of a better way and I think this will work.
Will test it out.
Thanks. My primary concern was that we don't unnecessarily duplicate all
of the weird allocating a bitmap page code etc.