Patch set 9:Code-Review -1
2 comments:
Patch Set #6, Line 383: /* Skip if IO resource was assigned */
Please elaborate both in comments as well as patch description the problem and solution for achievin […]
I'm not sure that changing compute_resources() is what we really want. This is just the first pass where the allocator is trying to figure out the topology so that it can assign resources in the second pass (allocate_resources()). Ignoring pre-assigned resources just means it won't have that info and can mess up in the second pass.
I think this is where we'd want to skip pre-assigned resources:
if (resource->flags & IORESOURCE_ASSIGNED)
continue;
To view, visit change 38547. To unsubscribe, or for help writing mail filters, visit settings.