pussuw commented on PR #12041: URL: https://github.com/apache/nuttx/pull/12041#issuecomment-2036394084
> @pussuw > > Yes I plan to use `mmap()` from user space to gain access to the device memory range, like gaining a pointer to frame buffer and drawing the pixels. > > The limitation is [that no more than 32 granules](https://github.com/apache/nuttx/blob/46b1eb44b6b7a9f217a5ef1fbe347baef5e1e127/mm/mm_gran/mm_granalloc.c#L74) can be allocated now. If only dynamic virtual address is allowed, then we must remove the limitation. Of course, I forgot gran_alloc uses a bitmask. I'm not sure what you mean by static allocation, currently the granule allocator's bitmask is the only information about virtual memory areas that are free / used. How did you plan to add static allocations on top of this ? It sounds quite unscalable to me, but then again I don't know what you mean. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
