|
|
Log in / Subscribe / Register

Please explain this a bit more...

Please explain this a bit more...

Posted Mar 22, 2025 9:34 UTC (Sat) by Wol (subscriber, #4433)
In reply to: Please explain this a bit more... by gwolf
Parent article: The guaranteed contiguous memory allocator

> Why should the kernel or the userspace care whether its allocation is contiguous or not?

In one word - performance.

Also

> Besides having larger contiguous areas that could be used i.e. for DMA transfers or some IPC..

I believe with certain bits of hardware you need to substitute the word "could" with "must".

At the end of the day, spending ten otherwise idle cycles to gain 100 cycles when under pressure is money well spent, and I get the impression the gains are much bigger than that.

Quite possibly not B.Sc. level though.

Cheers,
Wol


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds