]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitadefdb30d324c4a30d327cfe7cf440660a115321
treee4c211c1135a48ee853b3ec4d00623686317293a
parent1550423bbae002d3be1ebdba2fe7b0d0e8ade01e
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