summaryrefslogtreecommitdiff
path: root/gnulib-tests
diff options
context:
space:
mode:
authorChen Guo <chenguo4@ucla.edu>2010-12-06 00:15:42 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2010-12-11 00:29:13 -0800
commit621876ff446885d32922f34681790581c994f9a5 (patch)
treee279f95ce07f9d267e14a8e09f79ae31622e3f02 /gnulib-tests
parent195c455d0ae3884ab2d9680ac3043aa36e9c8c3d (diff)
downloadcoreutils-621876ff446885d32922f34681790581c994f9a5.tar.xz
sort: use mutexes, not spinlocks (avoid busy loop on blocked output)
Running a command like this on a multi-core system sort < big-file | less would peg all processors at near 100% utilization. * src/sort.c: (struct merge_node) Change member lock to mutex. All uses changed. * tests/Makefile.am (XFAIL_TESTS): Remove definition, now that this test passes once again. I.e., the sort-spinlock-abuse test no longer fails. * NEWS (Bug reports): Mention this. Reported by DJ Lucas in http://debbugs.gnu.org/7489.
Diffstat (limited to 'gnulib-tests')
0 files changed, 0 insertions, 0 deletions