Merge branch 'segmented-threads'
authorJens Axboe <axboe@kernel.dk>
Fri, 13 Nov 2020 17:06:26 +0000 (10:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Nov 2020 17:06:26 +0000 (10:06 -0700)
commit2ee239fb084355e115cf8c2bf8051e8807c4222a
treec936b647f80435cd79be2ab71f367776bec30f9a
parent84f9318fc16e33633ac9f789dcef7cc58c3b8595
parent42eb99528738f7d613e345c2db2eae63555234f7
Merge branch 'segmented-threads'

Pull in the segmented segments code. This avoids having to setup a
thread area segment for the max (4096) number of jobs. Instead it's
done in chunks of 8. This results in a net reduction of more than 1G
of memory used for the normal use case.

* segmented-threads:
  Kill off 'max_jobs'
  Add thread_segments as needed
  Wrap thread_data in thread_segment