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)
commit678c85e2ad0e3e9547d142d2f37b027992835687
treee4c211c1135a48ee853b3ec4d00623686317293a
parent5d5acf7f3e8c669857f1288b923731e4b4ceb550
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