]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vdso: Add comment about reason for vdso struct ordering
authorAnna-Maria Behnsen <anna-maria@linutronix.de>
Mon, 1 Jul 2024 14:47:55 +0000 (16:47 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 3 Jul 2024 19:27:03 +0000 (21:27 +0200)
commitd00106bbdfa82732c23cba44491c38f8c410d865
tree099e87b386a66fda527c50c0db83e1e2ca015311
parentf48955e038eaf43812c3701079c7371abe0315a4
vdso: Add comment about reason for vdso struct ordering

struct vdso_data is optimized for fast access to the often required struct
members. The optimization is not documented in the struct description but
it should be kept in mind, when working with the vdso_data struct.

Add a comment to the struct description.

Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lore.kernel.org/r/20240701-vdso-cleanup-v1-2-36eb64e7ece2@linutronix.de
include/vdso/datapage.h