mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
kvfree(): fix misleading comment
vfree() might sleep if called not in interrupt context. So does kvfree()
too. Fix misleading kvfree()'s comment about allowed context.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 04b8e94607 ("mm/util.c: improve kvfree() kerneldoc")
Signed-off-by: Andrey Ryabinin <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
dedf2c73b8
commit
52414d3302
1 changed files with 1 additions and 1 deletions
|
|
@ -435,7 +435,7 @@ EXPORT_SYMBOL(kvmalloc_node);
|
|||
* It is slightly more efficient to use kfree() or vfree() if you are certain
|
||||
* that you know which one to use.
|
||||
*
|
||||
* Context: Any context except NMI.
|
||||
* Context: Either preemptible task context or not-NMI interrupt.
|
||||
*/
|
||||
void kvfree(const void *addr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue