Priv->fblen = 0 -----Oorspronkelijk bericht----- Van: Gregory Nutt <[email protected]> Verzonden: zaterdag 4 januari 2020 21:02 Aan: [email protected] Onderwerp: Re: NX Graphics
> nsh> free > > procfs_open: Open 'meminfo' > > meminfo_open: Open 'meminfo' > > procfs_read: buffer=0x100006d0 buflen=512 > > meminfo_read: buffer=0x100006d0 buflen=512 > > total used free largest > > Umem: 192576 7696 184880 124848 > > procfs_read: buffer=0x100006d0 buflen=512 > > meminfo_read: buffer=0x100006d0 buflen=512 > > nsh> > > priv->fbmem = 0 But what was priv->fblen? The size you are trying to allocate? If it is greater then 124,848 then the allocation will fail.
