summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/imaxdiv.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-11 22:30:26 +0000
committerphk <phk@FreeBSD.org>2003-02-11 22:30:26 +0000
commit8bf75a2e40d27e97d74ce91498a6ea6ba468bf2b (patch)
treeff5a9b210440d57228ccee0a9f33e9dea14809de /lib/libc/stdlib/imaxdiv.c
parentbaf49e380ca7abf6c8b6f6880015be130527bcf2 (diff)
downloadFreeBSD-src-8bf75a2e40d27e97d74ce91498a6ea6ba468bf2b.zip
FreeBSD-src-8bf75a2e40d27e97d74ce91498a6ea6ba468bf2b.tar.gz
Implement a bio-taskqueue to reduce number of context switches in
disk I/O processing. The intent is that the disk driver in its hardware interrupt routine will simply schedule the bio on the task queue with a routine to finish off whatever needs done. The g_up thread will then schedule this routine, the likely outcome of which is a biodone() which queues the bio on g_up's regular queue where it will be picked up and processed. Compared to the using the regular taskqueue, this saves one contextswitch. Change our scheduling of the g_up and g_down queues to be water-tight, at the cost of breaking the userland regression test-shims. Input and ideas from: scottl
Diffstat (limited to 'lib/libc/stdlib/imaxdiv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud