OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_12-2-gf1b890f
Gerrit Code Review
gerrit@openafs.org
Thu, 22 Aug 2024 12:08:05 -0400
The following commit has been merged in the openafs-stable-1_8_x branch:
commit f1b890fbb916db6be5d8a50748b2563d43478771
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Wed Jun 12 14:16:43 2024 -0600
Linux-6.10: define a wrapper for vmalloc
The Linux 6.10 commit:
"mm: vmalloc: enable memory allocation profiling" (88ae5fb755)
changed vmalloc from a function to a wrapper macro.
This change results in build errors:
"error: implicit declaration of function ‘vmalloc’; did you mean
‘kmalloc’? [-Werror=implicit-function-declaration]"
when vmalloc is passed as a parameter to the afs_atomlist_create() and
afs_lhash_create() functions.
Add a little wrapper function around vmalloc() to use for the parameter
to afs_atomlist_create() and afs_lhash_create().
Note: A configure test was not needed for this change since the name
and functionality of Linux's vmalloc did not change.
Reviewed-on: https://gerrit.openafs.org/15765
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
(cherry picked from commit 658942f2791fad5e33ec7542158c16dfc66eed39)
Change-Id: Iece75aea9c8dbc072e1dfa83cf82aee88ac647dd
Reviewed-on: https://gerrit.openafs.org/15797
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_alloc.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository