make vfree() safe to call from interrupt contexts
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 Mar 2013 00:14:08 +0000 (20:14 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 Mar 2013 01:18:21 +0000 (21:18 -0400)
commit32fcfd40715ed13f7a80cbde49d097ddae20c8e2
treee4c211c1135a48ee853b3ec4d00623686317293a
parent6dbe51c251a327e012439c4772097a13df43c5b8
make vfree() safe to call from interrupt contexts

A bunch of RCU callbacks want to be able to do vfree() and end up with
rather kludgy schemes.  Just let vfree() do the right thing - put the
victim on llist and schedule actual __vunmap() via schedule_work(), so
that it runs from non-interrupt context.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/vmalloc.c