<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/net/libeth/cache.h, branch v6.19.11</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2024-07-10T17:29:53+00:00</updated>
<entry>
<title>libeth: add cacheline / struct layout assertion helpers</title>
<updated>2024-07-10T17:29:53+00:00</updated>
<author>
<name>Alexander Lobakin</name>
<email>aleksander.lobakin@intel.com</email>
</author>
<published>2024-06-20T13:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=62c884256ea1f898b00f20729a306a4eeb1840b1'/>
<id>urn:sha1:62c884256ea1f898b00f20729a306a4eeb1840b1</id>
<content type='text'>
Add helpers to assert struct field layout, a bit more crazy and
networking-specific than in &lt;linux/cache.h&gt;. They assume you have
3 CL-aligned groups (read-mostly, read-write, cold) in a struct
you want to assert, and nothing besides them.
For 64-bit with 64-byte cachelines, the assertions are as strict
as possible, as the size can then be easily predicted.
For the rest, make sure they don't cross the specified bound.

Signed-off-by: Alexander Lobakin &lt;aleksander.lobakin@intel.com&gt;
Signed-off-by: Tony Nguyen &lt;anthony.l.nguyen@intel.com&gt;
</content>
</entry>
</feed>
