author | San Mehat <san@google.com> | |
Thu, 6 May 2010 22:37:55 +0000 (15:37 -0700) | ||
committer | Arve Hjønnevåg <arve@android.com> | |
Tue, 19 Feb 2013 23:49:20 +0000 (15:49 -0800) | ||
commit | 5d247f99a47643cea3ae74e9c6f861e05710f785 | |
tree | 07a6b44883af9d2a751bf9e538ce4a30c699cc5c | tree | snapshot (tar.xz tar.gz zip) |
parent | 45cb0339422dbf1d44b99a673f61df14ec46779f | commit | diff |
sched: Add a generic notifier when a task struct is about to be freed
This patch adds a notifier which can be used by subsystems that may
be interested in when a task has completely died and is about to
have it's last resource freed.
The Android lowmemory killer uses this to determine when a task
it has killed has finally given up its goods.
Signed-off-by: San Mehat <san@google.com>
This patch adds a notifier which can be used by subsystems that may
be interested in when a task has completely died and is about to
have it's last resource freed.
The Android lowmemory killer uses this to determine when a task
it has killed has finally given up its goods.
Signed-off-by: San Mehat <san@google.com>
include/linux/sched.h | diff | blob | history | |
kernel/fork.c | diff | blob | history |