On pe, 2016-12-16 at 07:47 +0000, Chris Wilson wrote: > Protect ourselves from a caller passing in node.start + node.size that > will overflow and trick us into reserving that node. > > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
I was about to suggest an additional check (but didn't). A combined check is much more clever. Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation