Re: [PATCH net 5/5] net: ipa: warn if gsi_trans structure is too big

2020-06-11 Thread Alex Elder
On 6/10/20 6:36 PM, David Miller wrote: > From: Alex Elder > Date: Wed, 10 Jun 2020 14:53:32 -0500 > >> When the DEBUG_SPINLOCK and DEBUG_LOCK_ALLOC config options are >> enabled, sizeof(raw_spinlock_t) grows considerably (from 4 bytes >> to 56 bytes currently). As a consequence the size of the

Re: [PATCH net 5/5] net: ipa: warn if gsi_trans structure is too big

2020-06-10 Thread David Miller
From: Alex Elder Date: Wed, 10 Jun 2020 14:53:32 -0500 > When the DEBUG_SPINLOCK and DEBUG_LOCK_ALLOC config options are > enabled, sizeof(raw_spinlock_t) grows considerably (from 4 bytes > to 56 bytes currently). As a consequence the size of the gsi_trans > structure exceeds 128 bytes, and this

[PATCH net 5/5] net: ipa: warn if gsi_trans structure is too big

2020-06-10 Thread Alex Elder
When the DEBUG_SPINLOCK and DEBUG_LOCK_ALLOC config options are enabled, sizeof(raw_spinlock_t) grows considerably (from 4 bytes to 56 bytes currently). As a consequence the size of the gsi_trans structure exceeds 128 bytes, and this triggers a BUILD_BUG_ON() error. These are useful configuration