Florian Westphal
bba7eb5d9b
hfsc: reduce hfsc_sched to 14 cachelines
...
hfsc_sched is huge (size: 920, cachelines: 15), but we can get it to 14
cachelines by placing level after filter_cnt (covering 4 byte hole) and
reducing period/nactive/flags to u32 (period is just a counter,
incremented when class becomes active -- 2**32 is plenty for this
purpose, also, long is only 32bit wide on 32bit platforms anyway).
cl_vtperiod is exported to userspace via tc_hfsc_stats, but its period
member is already u32, so no precision is lost there either.
Cc: Michal Soltys <soltys@ziu.info>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-08 23:08:39 -04:00
..
2016-06-30 05:03:36 -04:00
2016-07-01 16:00:47 -04:00
2016-06-07 15:53:43 -07:00
2016-06-07 15:53:43 -07:00
2016-06-07 15:53:54 -07:00
2016-06-30 05:03:36 -04:00
2016-06-30 05:03:36 -04:00
2016-03-01 17:15:23 -05:00
2016-03-01 17:15:23 -05:00
2016-07-06 10:35:22 -07:00
2016-06-07 15:53:43 -07:00
2016-06-07 15:53:43 -07:00
2016-06-15 00:05:57 -07:00
2016-06-15 12:43:35 -07:00
2016-07-04 15:11:14 -07:00
2016-06-15 12:43:35 -07:00
2016-06-16 22:50:16 -07:00
2015-03-09 15:35:55 -04:00
2016-07-01 16:00:47 -04:00
2015-07-20 12:41:30 -07:00
2015-11-08 20:56:39 -05:00
2016-06-14 22:37:26 -07:00
2015-09-24 14:33:30 -07:00
2015-03-09 15:35:55 -04:00
2015-08-26 11:01:45 -07:00
2015-08-26 11:01:44 -07:00
2016-06-08 21:43:14 -07:00
2014-10-06 18:02:32 -04:00
2015-09-18 21:58:14 +02:00
2016-04-14 00:35:30 -04:00
2014-10-06 18:02:32 -04:00
2015-02-22 15:59:54 -05:00
2015-02-20 15:30:56 -05:00
2016-03-01 17:15:23 -05:00
2016-03-01 17:15:23 -05:00
2016-06-12 22:02:11 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-30 05:03:36 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-07-08 23:08:39 -04:00
2016-06-25 12:19:35 -04:00
2016-06-30 05:03:36 -04:00
2016-06-07 16:59:53 -07:00
2016-06-07 16:37:14 -07:00
2016-06-07 16:37:14 -07:00
2016-06-25 12:19:35 -04:00
2016-06-30 05:03:36 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-30 05:03:36 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00