summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-02-10 08:48:27 +0100
committerJim Meyering <meyering@redhat.com>2011-03-13 18:13:17 +0100
commite0245ae0aed72338d5dcb5b71f7a963859a93317 (patch)
tree655a0448bd8f74c6f55c77a141a1990ae4275c1a /NEWS
parent3ed0384c4171def286f5a9fbad4d89da7b0775aa (diff)
downloadcoreutils-e0245ae0aed72338d5dcb5b71f7a963859a93317.tar.xz
sort: spawn fewer threads for small inputs
* src/sort.c (SUBTHREAD_LINES_HEURISTIC): Do not spawn a new thread for every 4 lines. Increase this from 4 to 128K. 128K lines seems appropriate for a 5-year-old dual-core laptop, but it is too low for some common combinations of short lines and/or newer systems. * NEWS (Bug fixes): Mention it.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS9
1 files changed, 6 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 3157ef201..5770410bf 100644
--- a/NEWS
+++ b/NEWS
@@ -4,13 +4,16 @@ GNU coreutils NEWS -*- outline -*-
** Bug fixes
- du would infloop when given --files0-from=DIR
- [bug introduced in coreutils-7.1]
-
cut could segfault when invoked with a user-specified output
delimiter and an unbounded range like "-f1234567890-".
[bug introduced in coreutils-5.3.0]
+ du would infloop when given --files0-from=DIR
+ [bug introduced in coreutils-7.1]
+
+ sort no longer spawns 7 worker threads to sort 16 lines
+ [bug introduced in coreutils-8.6]
+
wc would dereference a NULL pointer upon an early out-of-memory error
[bug introduced in coreutils-7.1]