Hubbry Logo
search button
Sign in
SLOB
SLOB
Comunity Hub
History
arrow-down
starMore
arrow-down
bob

Bob

Have a question related to this hub?

bob

Alice

Got something to say related to this hub?
Share it here.

#general is a chat channel to discuss anything related to the hub.
Hubbry Logo
search button
Sign in
SLOB
Community hub for the Wikipedia article
logoWikipedian hub
Welcome to the community hub built on top of the SLOB Wikipedia article. Here, you can discuss, collect, and organize anything related to SLOB. The purpose of the hub is to connect people, foster deeper k...
Add your contribution
SLOB

The SLOB (simple list of blocks) allocator was one of three available memory allocators in the Linux kernel up to version 6.3.[1] The other two are SLAB (slab allocator) and SLUB. The SLOB allocator is designed to require little memory for the implementation and housekeeping, for use in small systems such as embedded systems. Unfortunately, a major limitation of the SLOB allocator is that it suffers greatly from external fragmentation.

SLOB currently uses a first-fit algorithm, which uses the first available space for memory. In 2008, a reply from Linus Torvalds on a Linux mailing list[2] was made where he suggested the use of a best-fit algorithm, which tries to find a memory block which suits needs best. Best fit finds the smallest space which fits the required amount available, avoiding loss of performance, both by fragmentation and consolidation of memory.

By default, Linux kernel used a SLAB Allocation system until version 2.6.23, when SLUB allocation became the default. When the CONFIG_SLAB flag is disabled, the kernel falls back to using the SLOB allocator.[3] The SLOB allocator was used in DSLinux on Nintendo DS handheld console.

See also

[edit]

References

[edit]
  1. ^ "The 6.4 kernel has been released [LWN.net]".
  2. ^ https://elixir.bootlin.com/linux/latest/source/mm/slob.c SLOB Allocator Documentation and code. Retrieved 12 November 2010
  3. ^ https://lwn.net/Articles/157944/ slob: introduce the SLOB Allocator. Retrieved 12 November 2010.