]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commit
sched: Add a generic notifier when a task struct is about to be freed
authorSan Mehat <san@google.com>
Thu, 6 May 2010 22:37:55 +0000 (15:37 -0700)
committerArve Hjønnevåg <arve@android.com>
Tue, 19 Feb 2013 23:49:20 +0000 (15:49 -0800)
commit5d247f99a47643cea3ae74e9c6f861e05710f785
tree07a6b44883af9d2a751bf9e538ce4a30c699cc5c
parent45cb0339422dbf1d44b99a673f61df14ec46779f
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>
include/linux/sched.h
kernel/fork.c