Merge "Start splitting allocation into hal and core."