MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
kmalloc
Search

[$] Alignment guarantees for kmalloc()

Wednesday May 8, 2019. 05:48 PM , from LWN.net
kmalloc() is one of the kernel's fundamental memory-allocation
primitives for relatively small objects. Most of the time, developers
don't worry about the alignment of memory returned from
kmalloc(), and things generally just work. But, Vlastimil Babka
said during a plenary session at the 2019 Linux Storage,
Filesystem, and Memory-Management Summit, every now and then
kmalloc() will do something surprising. He proposed tightening
the guarantees around object alignment in the hope of generating fewer
surprises in the future.
https://lwn.net/Articles/787740/rss
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Apr, Wed 24 - 21:10 CEST