Re: [PATCH v2] mm/slub: Fix incorrect interpretation of s->offset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/27/20 1:42 PM, Waiman Long wrote:

+static inline unsigned int get_info_end(struct kmem_cache *s)
static inline track_offset()?

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.

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


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux