Jakub Kicinski
e508673696
genetlink: reorg struct genl_family
...
There are holes and oversized members in struct genl_family.
Before: /* size: 104, cachelines: 2, members: 16 */
After: /* size: 88, cachelines: 2, members: 16 */
The command field in struct genlmsghdr is a u8, so no point
in the operation count being 32 bit. Also operation 0 is
usually undefined, so we only need 255 entries.
netnsok and parallel_ops are only ever initialized to true.
We can grow the fields as needed, compiler should warn us
if someone tries to assign larger constants.
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
Reviewed-by: Johannes Berg <johannes@sipsolutions.net >
Signed-off-by: David S. Miller <davem@davemloft.net >
2020-10-02 19:11:11 -07:00
..
2020-07-15 20:34:11 -07:00
2020-09-25 20:21:55 +02:00
2020-09-29 14:02:53 -07:00
2020-05-19 12:50:14 -07:00
2020-09-09 11:21:19 -07:00
2020-09-22 16:45:34 -07:00
2020-09-20 14:15:12 -07:00
2020-06-29 17:33:42 -07:00
2020-06-19 12:53:30 -07:00
2020-08-18 15:58:53 -07:00
2020-08-20 18:21:28 +01:00
2020-07-21 18:30:47 -07:00
2020-05-01 12:15:37 -07:00
2020-07-01 15:53:32 -07:00
2020-09-25 13:58:01 -07:00
2020-06-20 17:30:59 -07:00
2020-09-28 15:07:41 +02:00
2020-05-29 16:11:50 -04:00
2020-07-15 07:45:24 -07:00
2020-07-19 18:16:40 -07:00
2020-10-02 16:31:56 -07:00
2020-10-02 13:36:07 -07:00
2020-05-08 21:33:33 -07:00
2020-08-31 12:33:34 -07:00
2020-05-05 13:23:29 -07:00
2020-04-20 07:34:16 +02:00
2020-07-28 17:42:31 -07:00
2020-07-24 15:23:31 -07:00
2020-08-05 20:13:21 -07:00
2020-09-14 14:54:56 -07:00
2020-07-31 09:24:24 +02:00
2020-07-31 09:24:24 +02:00
2020-10-02 19:11:11 -07:00
2020-06-22 21:12:44 -07:00
2020-07-31 09:27:00 +02:00
2020-05-11 13:18:54 -07:00
2020-05-09 00:48:20 +02:00
2020-09-30 14:21:30 -07:00
2020-07-03 14:34:53 -07:00
2020-06-09 13:26:23 -07:00
2020-08-26 07:33:19 -07:00
2020-06-20 17:47:53 -07:00
2020-07-15 20:34:11 -07:00
2020-05-18 17:35:02 -07:00
2020-05-26 16:06:07 -07:00
2020-08-04 13:01:45 -07:00
2020-08-31 23:06:51 +02:00
2020-09-10 13:15:40 -07:00
2020-08-31 12:26:39 -07:00
2020-07-24 15:41:54 -07:00
2020-06-20 17:22:22 -07:00
2020-09-28 15:05:53 +02:00
2020-05-29 21:20:20 -07:00
2020-09-24 20:17:01 -07:00
2020-08-24 06:40:07 -07:00
2020-06-08 10:13:56 -04:00
2020-09-30 11:50:35 -07:00
2020-10-02 13:07:42 -07:00
2020-09-15 16:31:11 -07:00
2020-07-16 16:48:34 -07:00
2020-07-03 14:34:53 -07:00
2020-07-31 09:24:23 +02:00
2020-08-24 14:35:00 -07:00
2020-06-23 20:27:09 -07:00
2020-09-17 16:27:10 -07:00
2020-07-13 11:03:44 -07:00
2020-06-04 15:39:32 -07:00
2020-09-28 15:19:03 -07:00
2020-09-24 19:58:34 -07:00
2020-09-15 13:21:47 -07:00
2020-09-23 13:11:11 -07:00
2020-06-30 13:36:56 -07:00
2020-06-23 20:10:15 -07:00
2020-06-18 20:46:23 -07:00
2020-09-28 12:50:12 -07:00
2020-07-24 15:41:54 -07:00
2020-09-14 16:49:39 -07:00
2020-07-15 20:34:02 -07:00
2020-08-31 21:15:04 +02:00
2020-08-31 21:15:04 +02:00
2020-07-25 20:37:02 -07:00
2020-09-24 08:53:04 +02:00
2020-08-31 21:15:04 +02:00