Skip to contentSkip to conversation

tree-wide: rename vmemdup_user to kvmemdup_user

PATCH Matthew Wilcox 1 participant 1 message Aug 15, 2020 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · Markus Elfring
Quoted 2 lines

This helper uses kvmalloc, not vmalloc, so rename it to kvmemdup_user to make it clear we're using kvmalloc() and will need to use kvfree().

Can the renaming of this function name trigger software updates for any more source files?

Why don't you find out, and if there are, submit your own patch?

Quoted 5 lines

Example:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/coccinelle/api/memdup_user.cocci?idÉc9735c46f589b9877b7fc00c89ef1b61a31e18#n18

Regards,
Markus