summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_pdev.c
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2019-12-01 15:34:44 +0000
committerad <ad@NetBSD.org>2019-12-01 15:34:44 +0000
commitf364e91ab4bfe5dd9090b6fd0d5cf580583f62e6 (patch)
tree8caed27fd089f112a0fcf48b8cbff49f4b393e8d /sys/dev/dm/dm_pdev.c
parent186decc2e1f11e0d7033a8b056d1ec96551ad247 (diff)
Fix false sharing problems with cpu_info. Identified with tprof(8).
This was a very nice win in my tests on a 48 CPU box. - Reorganise cpu_data slightly according to usage. - Put cpu_onproc into struct cpu_info alongside ci_curlwp (now is ci_onproc). - On x86, put some items in their own cache lines according to usage, like the IPI bitmask and ci_want_resched.
Diffstat (limited to 'sys/dev/dm/dm_pdev.c')
0 files changed, 0 insertions, 0 deletions