mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 15:25:49 +00:00
9437102692
Reported by Harry Sintonen <sintonen@iki.fi> in <https://lists.gnu.org/archive/html/bug-gnulib/2025-09/msg00108.html>. * lib/pagealign_alloc.c: Include gl_xmap.h, gl_hash_map.h. Don't include xalloc.h. (info_t, memnode_t, struct memnode_s): Remove types. (memnode_table): Remove variable. (new_memnode, get_memnode): Remove functions. (page_info_map): New variable. (pagealign_alloc): Use gl_map_put instead of new_memnode. (pagealign_free): Use gl_map_getremove instead of get_memnode. * modules/pagealign_alloc (Depends-on): Add xmap, hash-map. Remove xalloc.
39 lines
479 B
Plaintext
39 lines
479 B
Plaintext
Description:
|
|
Memory allocation aligned on page boundaries.
|
|
|
|
Files:
|
|
lib/pagealign_alloc.h
|
|
lib/pagealign_alloc.c
|
|
m4/mmap-anon.m4
|
|
m4/pagealign_alloc.m4
|
|
|
|
Depends-on:
|
|
error
|
|
extensions
|
|
getpagesize
|
|
gettext-h
|
|
gnulib-i18n
|
|
stdlib-h
|
|
unistd-h
|
|
stdint-h
|
|
xmap
|
|
hash-map
|
|
|
|
configure.ac:
|
|
gl_PAGEALIGN_ALLOC
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += pagealign_alloc.c
|
|
|
|
Include:
|
|
"pagealign_alloc.h"
|
|
|
|
Link:
|
|
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
|
|
|
|
License:
|
|
GPL
|
|
|
|
Maintainer:
|
|
bug-gnulib@gnu.org
|