]> git.baikalelectronics.ru Git - kernel.git/commit
new primitive: vmemdup_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 7 Jan 2018 18:06:15 +0000 (13:06 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 7 Jan 2018 18:06:15 +0000 (13:06 -0500)
commit9626434cf327103164d02598e95fb183969daf29
treeb7c3dd1d018f7f754d15dc793e4120d0f0c8f007
parentb6b9ce2567f993f0e3bd166231c1e13d9938b1fe
new primitive: vmemdup_user()

similar to memdup_user(), but does *not* guarantee that result will
be physically contiguous; use only in cases where that's not a requirement
and free it with kvfree().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/string.h
mm/util.c