111k views
0 votes
Which of the following is considered a benefit when using slab allocator?

A. Memory is allocated using a simple power-of-2 allocator
B. It allows kernal code and data to be efficiently paged
C. It allows larger segments to be combined using coalescing.
D. There is no memory fragmentation

User DaWiseguy
by
7.9k points

1 Answer

4 votes

Answer:

Option(d) is the correct answer to the given question

Step-by-step explanation:

The main advantage of slab allocator is that There is no memory is lost because of the fragmentation this is due to some driver data framework has a cache memory that is connected to it.

  • In the slab allocator the resources are repeatedly assigned or free to handle them. It is a type of memory management scheme that is used for distributing resources to the memory.
  • All the other options are not considered as advantages of Slab allocator that's why they are an incorrect options.
User Don Bottstein
by
7.3k points