On 4/27/20 1:42 PM, Waiman Long wrote:
The main reason why I don't use that is because there is a track data structure in slub. There are functions name get_track() and set_track(). I don't want to confuse with them.+static inline unsigned int get_info_end(struct kmem_cache *s)static inline track_offset()?
Oh, I now realize that Matt meant the offset of the track data structure. Depending on the debug option, there may not be a track data structure at that offset.
Cheers,
Longman