Article 4EQDZ [$] Alignment guarantees for kmalloc()

[$] Alignment guarantees for kmalloc()

by
corbet
from LWN.net on (#4EQDZ)
kmalloc() is one of the kernel's fundamental memory-allocationprimitives for relatively small objects. Most of the time, developersdon't worry about the alignment of memory returned fromkmalloc(), and things generally just work. But, Vlastimil Babkasaid during a plenary session at the 2019 Linux Storage,Filesystem, and Memory-Management Summit, every now and thenkmalloc() will do something surprising. He proposed tighteningthe guarantees around object alignment in the hope of generating fewersurprises in the future.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments