Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f6901d82 authored by Roman Gushchin's avatar Roman Gushchin Committed by Vijayanand Jitta
Browse files

mm/vmalloc.c: remove might_sleep() in __remove_vm_area()

__remove_vm_area() has a redundant might_sleep() call, which isn't really
required, because the only place it can sleep is vfree() and it already
contains might_sleep_if(!in_interrupt()).

Change-Id: Ib7578507765eb462d14ab98316f1e8f155e1e67c
Link: http://lkml.kernel.org/r/20190417230219.GA5538@tower.DHCP.thefacebook.com


Signed-off-by: default avatarRoman Gushchin <guro@fb.com>
Suggested-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Git-commit: cbaea3a9df34123e78011d0f786931898cc3d38c
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarVijayanand Jitta <vjitta@codeaurora.org>
parent 48480dc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment