Re: [RFC 08/12] lockdep: Apply crossrelease to PG_locked lock

From: Peter Zijlstra
Date: Thu Jun 30 2016 - 09:05:51 EST


On Mon, Jun 20, 2016 at 01:55:23PM +0900, Byungchul Park wrote:
> @@ -215,6 +219,11 @@ struct page {
> #ifdef LAST_CPUPID_NOT_IN_PAGE_FLAGS
> int _last_cpupid;
> #endif
> +
> +#ifdef CONFIG_LOCKDEP_PAGELOCK
> + struct lockdep_map map;
> + struct cross_lock xlock;
> +#endif
> }

So that's 32+64=96 bytes (CONFIG_LOCK_STAT=n) added to struct page,
really!?