diff options
| author | Oleg Nesterov <oleg@redhat.com> | 2013-07-08 16:00:08 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-05-02 21:06:10 +0200 |
| commit | a558e665f41afd80680ecd704b37f381389c488f (patch) | |
| tree | 6d39a782025fe8478862744112078563970646f6 /kernel/cpu_pm.c | |
| parent | b97c37901526d03a400714891946cb056a7993be (diff) | |
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>
Change-Id: Ife3fdbd35dd7e4ba73ae6d59398642bbdc91e2b0
(cherry picked from commit b1d9d5877ac1da2670a768a15ff740a632f100c3)
Diffstat (limited to 'kernel/cpu_pm.c')
0 files changed, 0 insertions, 0 deletions
