> On Jul 23, 2019, at 9:14 AM, Rin Okuyama <rokuyama...@gmail.com> wrote: > > Ah, you are right. We leaks uninitialized memory via mmap. > > However, I'm not sure that it is safe to write DMA buffer > above sc->sc_vramsize after bus_dmamap_load? > > Thoughts, ARM experts? Since fundamental memory allocation is done on page boundaries, would it suffice to simply ensure that the "leaked" memory is zero'd out first? I mean, nothing else can use it for anything meaninful... -- thorpej
- CVS commit: src/sys SAITOH Masanobu
- CVS commit: src/sys SAITOH Masanobu
- CVS commit: src/sys SAITOH Masanobu
- CVS commit: src/sys Christos Zoulas
- CVS commit: src/sys Christos Zoulas
- CVS commit: src/sys matthew green
- CVS commit: src/sys matthew green
- CVS commit: src/sys Rin Okuyama
- Re: CVS commit: src/sys maya
- Re: CVS commit: src/sys Rin Okuyama
- Re: CVS commit: src/sys Jason Thorpe
- Re: CVS commit: src/sys Jason Thorpe
- Re: CVS commit: src/sys Rin Okuyama
- CVS commit: src/sys Rin Okuyama
- CVS commit: src/sys Rin Okuyama
- CVS commit: src/sys Rin Okuyama
- CVS commit: src/sys Jared D. McNeill
- CVS commit: src/sys Jared D. McNeill
- CVS commit: src/sys Rin Okuyama
- CVS commit: src/sys Rin Okuyama