diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-07-09 01:00:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 19:33:22 +0200 |
commit | 59d3132f8abdc18301898febf205d00db5f0458c (patch) | |
tree | f780fd6c6883edfbcdf2101e74941265d8e8a18b /net/rfkill | |
parent | mm/page_alloc.c: remove unlikely() from the current_order test (diff) | |
download | linux-59d3132f8abdc18301898febf205d00db5f0458c.tar.xz linux-59d3132f8abdc18301898febf205d00db5f0458c.zip |
vfree: don't schedule free_work() if llist_add() returns false
vfree() only needs schedule_work(&p->wq) if p->list was empty, otherwise
vfree_deferred->wq is already pending or it is running and didn't do
llist_del_all() yet.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions