kern: Split filehead into multiple heads
commit287f6b179fa533a9c8aaf609d389bc6457bdc580
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 12 Oct 2015 13:13:09 +0000 (12 21:13 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 14 Oct 2015 12:10:09 +0000 (14 20:10 +0800)
treeea2289f0420d917bd4e729e7945c150ec102aeb6
parentb545e84c6815004ef015d1467c31be3108f7840d
kern: Split filehead into multiple heads

This greatly reduces filehead spinlock contention (almost no contention)
for the test/kq_connect_client.

Suggested-by: dillon@
sys/kern/kern_descrip.c