Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys
> On Jul 23, 2019, at 10:07 AM, Jason Thorpe <thorpej%me.com@localhost> wrote:
>
>
>
>> On Jul 23, 2019, at 9:14 AM, Rin Okuyama <rokuyama.rk%gmail.com@localhost> 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?
Also, didn't Jared make a change to the Allwinner u-boot configs that ensure the frame buffer is page-aligned? Should we make that change everywhere?
>
> 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
>
-- thorpej
Home |
Main Index |
Thread Index |
Old Index