-
Notifications
You must be signed in to change notification settings - Fork 256
intel_fb: memory allocation failed #5412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
edit: the first line of the log output was missing. It's
|
Can you please provide the debugging patch? I don't find any code with "first attempt" or "retrying", so one has to guess what you did. |
Thanks @cproc. Can you please check whether buffer.virt_addr() (line 95) is aligned according to 'align'. If not, then the second attempt can not succeed, since a region is added which does not fulfill the align requirement. |
|
We had a coffee round discussion regarding the topic, I try to summarize. The main issue with the current implementation is this "+ 1" size, which is required to suppress the auto merging of regions, but presumably causes the alignment heuristic in core to not use the intended natural alignment of 23 but something smaller. There exist several options:
At moment no one is working on trying this out. @cproc feel free if you can/want to investigate. |
Sorry, "should be done eagerly" -> "should not be done eagerly" |
I updated the text again with a bit more information. |
I get the following error (with added debug messages) on one of my test machines when I try to run Sculpt:
It works when I add 'align' to the size of the new buffer, but that's another ~8M in this case and depending on how big other allocations can be, might be too much as a general solution.
The text was updated successfully, but these errors were encountered: