2019-04-25 20:06:18 +02:00
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-29 12:28:33 -07:00
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
2011-07-20 22:56:53 +01:00
|
|
|
|
2012-12-11 01:24:29 +09:00
|
|
|
|
2013-01-27 22:07:38 +08:00
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
|
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
2012-12-11 01:24:29 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-08 12:47:14 +00:00
|
|
|
|
2012-12-11 01:24:29 +09:00
|
|
|
|
|
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-18 10:52:25 +00:00
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
2023-04-07 17:26:04 +02:00
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
|
|
|
|
|
2012-03-16 12:11:43 +11:00
|
|
|
|
|
|
|
|
|
2013-03-04 09:04:51 +08:00
|
|
|
|
|
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
|
|
|
|
|
2013-01-27 22:07:38 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
2014-09-11 16:19:49 +08:00
|
|
|
|
|
|
|
|
|
2014-12-15 16:05:50 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-08-25 23:50:40 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-09-11 16:19:49 +08:00
|
|
|
|
2024-10-31 18:37:04 +02:00
|
|
|
|
2012-04-04 15:48:28 -06:00
|
|
|
|
|
|
|
|
|
2012-10-16 15:56:59 +02:00
|
|
|
|
2015-09-11 16:37:05 -07:00
|
|
|
|
2022-03-13 15:45:24 -07:00
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-04 15:48:30 -06:00
|
|
|
|
2012-05-08 17:44:40 +01:00
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
2013-01-27 22:07:38 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-07 23:00:24 +01:00
|
|
|
|
2013-01-27 22:07:38 +08:00
|
|
|
|
regmap: Reorder 'struct regmap'
On a x86_64, with configured with allmodconfig, pahole states that the
regmap structure is:
/* size: 1048, cachelines: 17, members: 78 */
/* sum members: 1006, holes: 9, sum holes: 35 */
/* padding: 7 */
/* member types with holes: 2, total: 2 */
/* last cacheline: 24 bytes */
So, when such a struct is allocated, 2048 bytes are allocated, with most of
this space being wasted.
Move a few bools so that the size is reduced to 1024.
After this change, pahole gives:
/* size: 1024, cachelines: 16, members: 78 */
/* sum members: 1006, holes: 6, sum holes: 18 */
/* member types with holes: 2, total: 2 */
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/f01f900d15633d5cda5f27763723acb307c0d22f.1737725820.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-01-24 14:37:58 +01:00
|
|
|
|
2013-01-27 22:07:38 +08:00
|
|
|
|
2011-07-20 22:56:53 +01:00
|
|
|
|
2017-12-12 16:56:43 +00:00
|
|
|
|
2011-07-20 22:56:53 +01:00
|
|
|
|
2012-04-04 15:48:29 -06:00
|
|
|
|
2026-04-09 11:50:15 +08:00
|
|
|
|
2012-12-06 13:29:05 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-11 01:24:29 +09:00
|
|
|
|
|
|
|
|
|
2013-02-20 12:15:23 +00:00
|
|
|
|
2011-07-20 22:56:53 +01:00
|
|
|
|
|
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
2024-01-26 23:08:36 +03:00
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-08-08 15:41:46 +09:00
|
|
|
|
2018-10-19 10:33:50 +01:00
|
|
|
|
2018-08-07 17:52:17 +03:00
|
|
|
|
2012-11-20 15:20:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-19 10:33:50 +01:00
|
|
|
|
2018-08-07 17:52:17 +03:00
|
|
|
|
2011-09-05 20:46:32 +02:00
|
|
|
|
2013-01-12 12:54:12 -08:00
|
|
|
|
2013-01-12 12:54:13 -08:00
|
|
|
|
2015-10-01 12:38:07 -04:00
|
|
|
|
|
|
|
|
|
2022-04-30 04:51:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-12 12:54:12 -08:00
|
|
|
|
2026-01-23 15:23:44 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-09-15 13:56:10 -07:00
|
|
|
|
|
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
2012-03-16 12:11:43 +11:00
|
|
|
|
|
|
|
|
|
2012-04-09 13:40:24 -06:00
|
|
|
|
2016-01-04 18:00:33 +08:00
|
|
|
|
2012-03-16 12:11:43 +11:00
|
|
|
|
regmap: Reorder 'struct regmap'
On a x86_64, with configured with allmodconfig, pahole states that the
regmap structure is:
/* size: 1048, cachelines: 17, members: 78 */
/* sum members: 1006, holes: 9, sum holes: 35 */
/* padding: 7 */
/* member types with holes: 2, total: 2 */
/* last cacheline: 24 bytes */
So, when such a struct is allocated, 2048 bytes are allocated, with most of
this space being wasted.
Move a few bools so that the size is reduced to 1024.
After this change, pahole gives:
/* size: 1024, cachelines: 16, members: 78 */
/* sum members: 1006, holes: 6, sum holes: 18 */
/* member types with holes: 2, total: 2 */
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/f01f900d15633d5cda5f27763723acb307c0d22f.1737725820.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-01-24 14:37:58 +01:00
|
|
|
|
|
|
|
|
|
2023-06-13 13:42:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-09-26 15:04:07 -07:00
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
2015-09-26 15:04:07 -07:00
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
2012-02-06 18:01:35 +00:00
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-05 15:14:14 -07:00
|
|
|
|
2015-09-26 15:04:07 -07:00
|
|
|
|
2015-05-05 15:14:14 -07:00
|
|
|
|
|
|
|
|
|
2012-01-21 12:01:14 +00:00
|
|
|
|
2015-07-16 16:36:21 +01:00
|
|
|
|
2026-03-02 10:56:56 +01:00
|
|
|
|
2012-04-30 23:23:40 +01:00
|
|
|
|
regmap: Reorder 'struct regmap'
On a x86_64, with configured with allmodconfig, pahole states that the
regmap structure is:
/* size: 1048, cachelines: 17, members: 78 */
/* sum members: 1006, holes: 9, sum holes: 35 */
/* padding: 7 */
/* member types with holes: 2, total: 2 */
/* last cacheline: 24 bytes */
So, when such a struct is allocated, 2048 bytes are allocated, with most of
this space being wasted.
Move a few bools so that the size is reduced to 1024.
After this change, pahole gives:
/* size: 1024, cachelines: 16, members: 78 */
/* sum members: 1006, holes: 6, sum holes: 18 */
/* member types with holes: 2, total: 2 */
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/f01f900d15633d5cda5f27763723acb307c0d22f.1737725820.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-01-24 14:37:58 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-08-21 10:26:42 +02:00
|
|
|
|
|
|
|
|
|
2018-09-01 09:50:40 -07:00
|
|
|
|
2015-08-21 10:26:42 +02:00
|
|
|
|
2014-03-04 13:54:02 +00:00
|
|
|
|
|
|
|
|
|
2012-06-15 11:23:56 +01:00
|
|
|
|
2015-08-30 09:33:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-15 11:23:56 +01:00
|
|
|
|
|
|
|
|
|
2017-11-01 10:11:55 +08:00
|
|
|
|
|
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-10-31 09:03:16 +01:00
|
|
|
|
2014-08-24 15:32:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
|
|
|
|
|
2012-02-23 19:31:04 +00:00
|
|
|
|
2013-05-08 13:55:22 +01:00
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|
|
|
|
|
|
2016-08-08 18:44:21 +03:00
|
|
|
|
2011-08-10 17:14:41 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-19 10:33:50 +01:00
|
|
|
|
2018-08-07 17:52:17 +03:00
|
|
|
|
2011-08-10 17:14:41 +09:00
|
|
|
|
2011-09-29 10:39:07 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-15 11:23:56 +01:00
|
|
|
|
|
|
|
|
|
2012-10-03 12:40:47 +01:00
|
|
|
|
2012-10-03 13:13:16 +01:00
|
|
|
|
2012-06-15 11:23:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-11 13:18:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-01 20:30:50 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-11 13:18:15 +01:00
|
|
|
|
|
|
|
|
|
2011-07-20 22:56:53 +01:00
|
|
|
|
|
|
|
|
|
2020-09-17 13:08:28 +01:00
|
|
|
|
2011-07-20 22:56:53 +01:00
|
|
|
|
2017-12-12 16:56:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-20 22:56:53 +01:00
|
|
|
|
2011-09-05 22:06:13 +02:00
|
|
|
|
2020-09-17 13:08:28 +01:00
|
|
|
|
2011-09-05 22:06:13 +02:00
|
|
|
|
2017-12-12 16:56:43 +00:00
|
|
|
|
2011-07-20 22:56:53 +01:00
|
|
|
|
|
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
2011-11-16 16:28:16 +01:00
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-03-29 19:32:28 +00:00
|
|
|
|
2013-08-29 10:26:34 +02:00
|
|
|
|
2013-03-29 19:32:28 +00:00
|
|
|
|
|
|
|
|
|
2023-06-11 13:06:07 +01:00
|
|
|
|
|
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
2013-03-13 19:29:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-21 18:03:13 +00:00
|
|
|
|
|
|
|
|
|
2023-06-10 15:05:54 +01:00
|
|
|
|
2013-02-21 18:03:13 +00:00
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
2023-03-30 01:10:23 +01:00
|
|
|
|
2011-09-19 14:34:00 +01:00
|
|
|
|
2013-03-13 19:19:34 +00:00
|
|
|
|
2020-09-17 18:34:05 +03:00
|
|
|
|
2013-03-13 19:19:34 +00:00
|
|
|
|
2013-01-27 22:07:38 +08:00
|
|
|
|
|
|
|
|
|
2015-02-03 10:01:18 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-10-29 09:12:47 +01:00
|
|
|
|
2011-09-19 14:34:02 +01:00
|
|
|
|
2023-03-30 01:10:24 +01:00
|
|
|
|
2012-12-19 14:51:55 +00:00
|
|
|
|
2011-09-19 14:34:03 +01:00
|
|
|
|
2015-03-09 12:20:13 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-01-04 18:00:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-01-04 18:00:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-03-26 15:11:12 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-06-11 14:25:02 +01:00
|
|
|
|
2023-11-02 16:30:38 -04:00
|
|
|
|
2023-03-26 15:11:12 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-08 15:45:51 +01:00
|
|
|
|
|
|
|
|
|
2023-03-26 15:11:12 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-08 15:45:51 +01:00
|
|
|
|
|
|
|
|
|
2023-03-26 15:11:12 +01:00
|
|
|
|
2024-04-08 15:45:51 +01:00
|
|
|
|
|
|
|
|
|
2023-06-11 14:25:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-08 15:45:51 +01:00
|
|
|
|
|
|
|
|
|
2023-03-26 15:11:12 +01:00
|
|
|
|
2011-07-20 22:35:37 +01:00
|
|
|
|