Debian Codegraph @

NEWS

raw
1 libhugetlbfs 2.24
2 ======================================================================
3 New Features
4 * Basic loong64 support
5
6 Bug Fixes
7 * Disable hugepage-backed malloc if glibc __morecore is not available
8 * Fix handle leak in gethugepagesizes()
9 * Fix possible wild pointer returned in get_hugepage_region
10 * Fix max hugetlb segment to adapt x86
11
12 Test Suite
13 * Update /sys/kernel/mm/hugepages/ directory parse
14 * Disable partial usecases of shmoverride_linked_static
15
16 Build
17 * switch to automake
18
19 libhugetlbfs 2.23 "The Cedarvale Ravine"
20 ======================================================================
21 New Features
22 * Basic riscv64 support
23
24 Bug Fixes
25 * Python now waits on child processes with os.wait()
26 * open() call with O_CREAT now passes permissions
27 * -Ttext-segment argument on aarch64 passes page size in hex
28 * Build system improvements
29
30 libhugetlbfs 2.22 "The Corner of College and St George"
31 ======================================================================
32 New Features
33 * Library now verifies if slices are supported on PPC
34
35 Bug Fixes
36 * ld.hugetlbfs now supports multiple page sizes on PPC64
37 * Various GCC warning cleanups
38 * setup script converted to Python 3
39
40 Test Suite
41 * Tests are only run on online CPUs and only if a sufficient number are
42 available
43 * task-size-overrun now searches empty address space more efficiently
44 * Tests that do not link the library are run for default page sizes only
45 * Test runner now uses Python 3
46
47
48 libhugetlbfs 2.21 "The Bloor Annex"
49 ======================================================================
50 New Features
51 * Suport for 512M huge pages on aarch64
52
53 Bug Fixes
54 * The noexec stack markers are set directly
55 * We no longer lie to glibc about shrinking the heap by less than HPAGE_SIZE
56
57 Test Suite
58 * No existent tests are no longer marked Killed By Signal
59 * Disable malloc per-thread cache for heap shrinking tests
60
61 libhugetlbfs 2.20 "View Across the Charles"
62 ======================================================================
63 Bug Fixes
64 * Fix keyword collisions and warnings from GCC 5
65 * hugeadm output is parsed for default size in huge_page_setup_helper
66
67 Test Suite
68 * fallocate tests
69
70 libhugetlbfs 2.19 "Missing Longfellow Lanes"
71 ======================================================================
72 Bug Fixes
73 * Fixed hugeadm behavior when mtab is a symlink
74 * fix plt_extrasz() on ppc64le
75 * ARM: fix page size and text offset setup
76 * Fix hugeadm handling of negative pool resize amounts
77
78 Test Suite
79 * remove duplicate mremap-* tests
80
81 libhugetlbfs 2.18 "Infinite Corridor"
82 ======================================================================
83 New Features
84 * Add support for ppc64le
85 * ARM 64 big endian support
86
87 Bug Fixes
88 * Reverted 3bdd9924 which broke building on PPC64
89 * Fix parsing of kernel version string
90 * ARM: mark direct_syscall as a FUNC
91
92 Test Suite
93 * mmap of huge page files with misaligned offset success treated as PASS
94
95 libhugetlbfs 2.17 "Fowl and Fetus"
96 ======================================================================
97 New Features
98 * PPC segement alignment restrictions can be disabled
99 * Added Aarch64 support
100
101 Bug Fixes
102 * Allow compiler overrides for 64 and 32 bit builds
103 * hugeadm now handles /etc/mtab being a simlink properly
104
105 Test Suite
106 * Add corrupt-by-cow-opt test
107 * Add noresv-preserve-resv-page test
108 * Add noresv-regarded-as-resv test
109
110 libhugetlbfs 2.16 "Joe E. Parker"
111 ======================================================================
112 New Features
113 * ARM Support
114 * s390x Dynamic TASK_SIZE support
115
116 Bug Fixes
117 * find_mounts() now properly NULL terminates mount point names
118
119 Test Suite
120 * ARM Support
121 * mremap-fixed-huge-near-normal no longer calls munmap with 0 length
122
123 libhugetlbfs 2.15 "Minature Panda"
124 ======================================================================
125 New Features
126 * Add variable in Makefile to disable using deprecated linker scripts
127 * s390 support
128
129 Bug Fixes
130 * Disable Unable to verify address range warning when offset < page_size
131 * Remove sscanf in library setup to avoid heap allocation before _morecore
132 override
133 * Revert heap exhaustion patch
134 * hugectl no longer clips LD_LIBRARY_PATH variable
135
136
137 Test Suite
138 * Fix mremap-expand-slice-collision expanding anon shm
139 * mremap-expand-slice-collision now asks kernel for availble slices
140 * Make 4GB boundary tests only fail when allocation fails on free slice
141 * Link 4GB test cases with --static so libraries are not placed in the way
142
143 libhugetlbfs 2.14 "The White Album"
144 ======================================================================
145 New Features
146 * Updated man pages
147 * Added basic events for core_i7 to oprofile_map_events
148
149 Bug Fixes
150 * Fix clean on failure code to avoid closing stdout
151
152 Test Suite
153 * Fixed readahead, malloc, and hugepagesizes tests
154 * Avoid core dumps on stack_grow_into_huge test
155
156 libhugetlbfs 2.13 "Insert Clever Title Here"
157 ======================================================================
158 New Features
159 * hugeadm can now be used to control Transparent Huge Page tunables
160 * New morecore mode to better support THP
161
162 Bug Fixes
163 * Check permissions on hugetlbfs mount point before marking it as available
164
165 Test Suite
166 * Fix shm tests to use random address instead of fixed, old address failed
167 on ARM
168
169 libhugetlbfs 2.12 "Serrano"
170 ======================================================================
171 New Features
172 * libhugetlbfs usage can now be restricted to certain binary names
173 * lihugetlbfs now supports static linking
174 * hugeadm uses more human readable directory names for mount points
175
176 Bug Fixes
177 * hugeadm would segfault if specified user was not in passwd, failure in
178 getpwuid() is now checked
179
180 Test Suite
181 * Added missing tests to driver script
182 * Added tests for static linking
183
184 libhugetlbfs 2.11 "Ghost Pepper"
185 ======================================================================
186 New Features
187 * cpupcstat reports time servicing tlb misses when requested
188 * When supported by the kernel and glibc, MAP_HUGETLB is used
189 for the heap and to back memory returned by get_huge_pages.
190 These features can now be used without mounting hugetlbfs
191
192 Bug Fixes
193 * tlbmiss_cost.sh supresses oprofile errors
194 * numerous fixes to setup_helper.py
195 * Corrected usage of hugetlbfs_test_feature return value
196 * find_mounts now correctly ignores non-hugetlbfs mount points
197 * When prefaulting pages for get_huge_pages readv was using the fd
198 for the mapping, this caused the prefault to fail on older libc.
199 Now /dev/zero is used for all prefaulting
200
201 libhugetlbfs 2.10 "Another Hottie"
202 ======================================================================
203 Bug Fixes
204 * hugeadm now handles pool size deltas properly
205 * Makefile uses ?= to assign PREFIX and EXEDIR to allow for easier build
206 modification
207
208 libhugetlbfs 2.9 "Something Spicy"
209 ======================================================================
210 New Features
211 * Add --no-reseve to hugectl to request mmap'd pages are not reserved
212 for kernels newer than 2.6.34
213 * POWER6 now supported by TLB miss cost estimator
214 * Add --obey-numa-mempol to hugeadm to request static pool pages are
215 allocated following the process NUMA memory policy
216
217 Test Suite
218 * Fix gethugepagesizes test case
219
220 libhugetlbfs 2.8 "Scotch Bonnet"
221 ======================================================================
222 New Features
223 * Add switch to let administrator limit new mount points by size or inodes
224 * cpupcstat now caches the value returned by tlmiss_cost.sh to avoid
225 rerunning the script
226
227 Bug Fixes
228 * errno values are saved in get_huge_pages
229 * tlbmiss_cost.sh patches calibrator to fix round naming collision
230 * Fixed ALIGN_UP macro for aligning huge page segments
231 * Fix --create-mounts switch in hugeadm
232 * Library and helpers are all linked with -z noexecstack
233
234 Test Suite
235 * run_tests.py detects valid word sizes
236
237 libhugetlbfs 2.7 "Adobo"
238 ======================================================================
239 New Features
240 * When specifying huge page pool sizes with hugeadm, memory sizes can
241 be used as well as the number of huge pages
242 * DEFAULT is now a valid huge page pool for resizing, it will adjust
243 the pool for the default huge page size
244 * tlbmiss_cost.sh in the contrib/ sub directory will estimate the cost
245 in CPU cycles of a TLB miss on the arch where it is run
246 * Add python script which automates huge page pool setup with minimal
247 input required from user
248
249 Bug Fixes
250 * The --dry-run switch in hugeadm is now obeyed
251 * hugeadm now uses unsigned long long for page resizes to avoid
252 overflow errors
253 * --set-recommended-shmmax no longer overflows if the number of
254 available huge pages is bigger than the address space
255
256 Test Suite
257 * Updated linkhuge_nofd to override proper functions when testing
258 * run_tests.py can now monitor the pool sizes between tests to help
259 identify accounting errors
260 * Add test for mremap bug on architectures with holes in address space
261
262 libhugetlbfs 2.6 "Adovada"
263 ======================================================================
264 New Features
265 * cpupcstat now supports data collection using the perf tool as well as
266 oprofile
267 * --explain reports if min_free_kbytes is too small
268 * add --set-min_free_kbytes to hugeadm
269
270 Bug Fixes
271 * Admin utils (hugeadm, hugectl, etc) are now built as 64 bit binaries
272 if possible to support adminstration of larger huge page sizes
273
274 Test Suite
275 * Suppress ld.hugetlbfs warnings during test suite build
276 * Make SPECIAL keyword test cross-compile safe
277 * Test script sets proper rlimits for mlock and stack_grow_into_huge
278 tests
279 * Ensure that all elflink tests are run with both HUGETLB_SHARE=0 and
280 HUGETLB_SHARE=1
281
282 libhugetlbfs 2.5 "Self Titled"
283 ======================================================================
284 New Features
285 * added --add-ramdisk-swap option to hugeadm to use ramdisks as
286 temporary swap space for diskless systems
287 * added --persist option to hugeadm to be used with either --add-*-swap
288 option. Makes swap added stay until removed or the machine is rebooted
289 * added cpupcstat script which uses oprofile to monitor tlb miss rate
290 of a target program
291
292 Bug Fixes
293 * --add-temp-swap option now takes an optional integer argument that is
294 the size in number of hugepages to make the swap space
295
296 libhugetlbfs 2.4 "Birdseye"
297 ======================================================================
298 New Features
299 * added --add-temp-swap option to hugeadm to add a swap file for a pool
300 resize
301 * added --[enable|disable]-zone-moveable options to hugeadm to control
302 /proc/sys/vm/hugepages_treat_as_movable
303
304 Bug Fixes
305 * Fix pool-pages-max processing by using the proper array for its
306 requests
307 * Move private reservation check out of morecore setup
308
309 Test Suite
310 * Added regression tests for leaking reserve count due to madvise and
311 fadvise and readahead
312 * Add test for mixed permissions on shm segments
313 * Wrap tests that can hang the machine to fail is kernel is too old
314 * Add -f option to run_tests.py to force running of tests that can hang
315 the machine
316
317 libhugetlbfs 2.3 "NuMex Sunglo"
318 ======================================================================
319 New Features
320 * added --force-preload option to hugectl for backing segments with
321 64kb pages on ppc64 when app was not linked with libhugetlbfs
322 * added --explain swtich to hugadm to give a quick overview of the
323 system wrt huge pages
324 * hugeadm warns if min pool size is being adjusted without sufficient
325 swap space configured
326 * added --hard switch to ask hugeadm to try multiple times to resize
327 a huge page pool
328 * added --create-*-mounts switches to create mount points for hugetlbfs
329 usable by specific users, groups, or globally
330
331 Bug Fixes
332 * hugeadm will no longer mount a directory multiple times
333 * hugeadm adds all new mount points to /etc/mtab
334
335 libhugetlbfs 2.2 "Barkers Extra Hot"
336 ======================================================================
337 New Features
338 * Refactored environment variable parsing to read once and store values
339 * Add --list-mounts and --list-all-mounts options to hugeadm
340 * Rework test suite to run for all avaialbe page sizes
341 * Add --create-mounts for root only, --create-user-mounts,
342 --create-group-mounts, and --create-global-mounts options to hugeadm
343 * Add --share-text option to hugectl
344
345 Test Suite Fixes
346 * Added wrapper to shm-fork and shm-getraw tests that makes runs on
347 hpage sizes different from default expected failures
348 * Reworked shmoverride tests to handle new env parsing
349
350 libhugetlbfs 2.1 "NM 64"
351 ======================================================================
352 New Features
353 * Multiple page size support
354 * Add a more user friendly allocator that handles cache coloring
355 * Add pagesize utility to display supported page sizes
356 * Add hugeadm utility for managing hugepage pools
357 * Add hugectl utility for running programs using hugepages
358 * Add hugeedit utility for marking segments in aligned binaries for
359 huge page backing by default
360 * Deprecated linker linker scripts
361 * gethugepagesize() and getpagesizes() API added to programatically
362 discover supported hugepages
363 * Manual pages for all API functions and utilities
364 * Allow automatic backing of shared memory segments with hugepages
365 * huge page regions will no longer prefault for kernels >= 2.6.27
366 improving mmap() performance and NUMA layout
367
368 Bug Fixes
369 * Add missing segment to interp section in linker scripts
370 * Fix free_hugepage_region to handle segments that fell back to small
371 pages
372 * Fix install when lib32 and lib64 resolve to the same place
373 * Install header files so APIs can be used
374 * Fix installation paths to make life easier for package maintainers
375 * Do not export internal symbols unnecessarily
376 * Prefault regions allocated by direct allocation API on kernels older
377 than 2.6.27
378 * Gracefully fallback to using base pages for text/data when the
379 hugepage pool is too small
380 * Fix handling of HUGETLB_SHARE_PATH environment variable
381 * Relax remapping requirements
382
383 Test suite Fixes
384 * Added expected failure support
385 * gethugepagesizes override for getting meminfo
386 * Increase debug output for tests that fail
387 * Summarise pass and failure counts
388
389 libhugetlbfs 2.0 "Sandia Red"
390 ======================================================================
391
392 New Features
393 * New scriptless relinking for binutils >= 2.17
394 * Added direct allocator API for huge pages
395
396 Bug Fixes
397 * /proc/mounts is parsed line at a time to handle file larger than 4kb
398 * Read-only mappings use MAP_NORESERVE
399
400 Test suite fixes
401 * Add test for /proc/mounts file larger than 4kb
402 * Fix quota test with private reservations
403 * Output strerror on failure
404 * linkhuge tests are skipped when known to be broken
405
406 libhugetlbfs 1.3 "Big Jim"
407 ======================================================================
408
409 New features
410 * Add HUGETLB_NO_PREFAULT to control prefaulting of huge pages via mlock
411 * Add "[hostname:pid]" to output messages
412 * Setup for handling larger huge page sizes e.g. 16G huge pages
413 * Update for new upstream sysctl
414 * Add support for hugetlbfs_morecore to shrink the heap
415
416 Bug fixes
417 * Disable heap shrinking by default to avoid bug in glibc malloc
418 * Skip elflink calls in setup_libhugetlbfs for IA64 and sparc64
419 * Replace gethugepagesize with check_hugepagesize for error checking
420 * Make morecore argument a long to handle larger page sizes
421
422 Test suite fixes
423 * Check uid/gid in tests where it matters
424 * tests: verify there are enough huge pages
425 * Change tests to read /proc/meminfo
426 * tests: verify that huge page size isn't too big for the test
427
428 libhugetlbfs 1.2 "Mango Habanero"
429 ======================================================================
430
431 New features
432
433 * Partial segment remapping. This allows non-relinked binaries to try
434 to take advantage of libhugetlbfs' segment remapping code. Large
435 segments are required, especially on Power. This feature is useful
436 for estimating huge page performance, however full relinking will
437 still perform better.
438 * Add extra debugging for binaries that may run out of address space.
439 * Log library version when HUGETLB_VERBOSE is enabled.
440 * Beginning support for ia64 and sparc64.
441 * New test to check handling of misaligned mmap() parameters.
442
443 Bug fixes
444
445 * Fix EH_FRAME segment. Fixes some C++ applications.
446 * Rework PLT detection to work better on Power.
447 * Add per-target-arch syscall stubs to the library. These provide
448 reliable error messages from elflink.c if they occur while the
449 program segments are unmapped.
450 * Add proper SONAME to shared libs.
451 * Makefile respects CFLAGS/LDFLAGS/CPPFLAGS environment variables.
452 * Make mlock() failure non-fatal.
453
454 Test suite fixes
455
456 * Fix zero_filesize_segment test.
457 * Fix the icache-hygeine testcase for i386 and x86_64.
458 * Fix SEGVs in task-size-overrun test.
459 * Enable stack_grow_into_huge test, previously skipped.
460 * Fix test_addr_huge() for anon pages.
461
462 libhugetlbfs 1.1 "Carribbean Jerk"
463 ======================================================================
464
465 This large release brings several performance improvements
466
467 Security
468
469 * Remove the sharing daemon completely and rework the segment sharing
470 code. Permissions on the hugetlbfs mountpoint are used to enforce
471 segment sharing.
472
473 Bug fixes
474
475 * Sharing of writable segments is no longer possible, due to address
476 space randomization on x86_64 (although similar issues could happen on
477 any architecture).
478 * minimal_copy detection should work better in this release.
479
480 Trivial but notable changes
481
482 * Testcase updates
483
484 libhugetlbfs 1.0.1 "Spicy Garlic"
485 ======================================================================
486
487 This small maintenance release brings a security fix, a few minor bug
488 fixes, plus some documentation and error message updates.
489
490 Security
491
492 * A section on security has been added to the README file
493 * The hugetlbd daemon socket has been moved from /tmp to /var/run.
494 This will require the daemon to be run as root, which was previously
495 just a recommendation.
496
497 Bug fixes
498
499 * Reduce reserved huge pages needed for application start-up
500 * PPC linker script fixes
501
502 Trivial but notable changes
503
504 * Always install linker scripts for all targets
505 * Error message updates
506 * Add documentation on HUGETLB_DEBUG
507 * Testcase updates
508
509 libhugetlbfs 1.0
510 ======================================================================
511
512 * First stable release