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:Roman Gushchin <guro@fb.com> Suggested-by:
Andrew 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:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Stephen 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:
Vijayanand Jitta <vjitta@codeaurora.org>
Loading
Please register or sign in to comment