Skip to content

memory: make buffers aligned to BUF_HEAP_ALIGNMENT on the i.MX8 - #1582

Merged
jajanusz merged 3 commits into
thesofproject:masterfrom
paulstelian97:section_alignment
Jun 21, 2019
Merged

jajanusz merged 3 commits into
thesofproject:masterfrom
paulstelian97:section_alignment

Conversation

@paulstelian97

@paulstelian97 paulstelian97 commented Jun 20, 2019 •

Copy link
Copy Markdown
Collaborator

Similar to PR #1568 this will improve memory/cache performance
by aligning to the cache line size.

Signed-off-by: Paul Olaru paul.olaru@nxp.com

Comment thread src/platform/imx8/imx8.x.in Resolved
Paul Olaru added 3 commits June 20, 2019 15:41
This value will determine the alignment for heap buffers

Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
This will check if heap buffers alignment is valid

Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
It provides better memory/cache performance since it aligns with cache
line size

Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
@paulstelian97 paulstelian97 changed the title memory: make buffers aligned to BUF_HEAP_ALIGNMENT on the iMX8 memory: make buffers aligned to BUF_HEAP_ALIGNMENT on the i.MX8 Jun 20, 2019
@dbaluta

dbaluta commented Jun 20, 2019 •

Copy link
Copy Markdown
Collaborator

Looks good to me, thanks Paul!

@jajanusz
jajanusz merged commit d7646b9 into thesofproject:master Jun 21, 2019
@paulstelian97
paulstelian97 deleted the section_alignment branch June 21, 2019 08:44
@paulstelian97
paulstelian97 restored the section_alignment branch June 21, 2019 08:44
@paulstelian97
paulstelian97 deleted the section_alignment branch July 15, 2019 07:06
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.

4 participants