Skip to content
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

Reduce memory fragmentation to prevent page allocation failures #630

Merged
merged 3 commits into from
Nov 21, 2013

Conversation

zeludo
Copy link
Contributor

@zeludo zeludo commented Nov 20, 2013

SLUB allocator is the default memory allocator since 2.6.23 and perform better than SLAB.
This should reduce memory fragmentation but as it can't be avoided, the compaction support could prevent page allocation failure when not enough contiguous pages are available to satisfy an allocation attempt.

The default raspberry pi kernel has been including these config options since a few months : raspberrypi/linux#349

I built a kernel with this config (not using ABS though) and it's been working fine for several hours now where before it would have already logged many allocation failures.

@kmihelich
Copy link
Member

You need to update the config md5sum and bump pkgrel.

kmihelich added a commit that referenced this pull request Nov 21, 2013
Reduce memory fragmentation to prevent page allocation failures
@kmihelich kmihelich merged commit 40417d3 into archlinuxarm:master Nov 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants