Skip to content

Conversation

@lyakh
Copy link
Collaborator

@lyakh lyakh commented Nov 26, 2020

When allocating multiple buffers the first free buffer might not contain a suitably aligned start address. Skip it instead of allocating it with the others. Also don't add alignment to the allocation size, but find a suitably aligned start address instead.

@lyakh
Copy link
Collaborator Author

lyakh commented Nov 27, 2020

SOFCI TEST

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs more comments.

@lyakh lyakh marked this pull request as ready for review November 27, 2020 16:49
@lgirdwood
Copy link
Member

Not sure why there is a failure as this seems unrelated but rerun CI to be sure.

@lgirdwood
Copy link
Member

SOFCI TEST

When allocating multiple buffers the first free buffer might not
contain a suitably aligned start address. Skip it instead of
allocating it with the others. Also don't add alignment to the
allocation size, but find a suitably aligned start address
instead.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
@lyakh lyakh requested review from lgirdwood and removed request for jajanusz January 8, 2021 21:24
@lyakh
Copy link
Collaborator Author

lyakh commented Jan 8, 2021

all tests passed!

@lgirdwood lgirdwood merged commit d93692c into thesofproject:master Jan 11, 2021
@lyakh lyakh deleted the alloc-multiple branch January 12, 2021 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants