diff options
author | Xianzhong <b07117@freescale.com> | 2013-01-26 02:20:55 +0800 |
---|---|---|
committer | Xianzhong <b07117@freescale.com> | 2013-01-27 20:01:14 +0800 |
commit | 7aca46617dbf94a1a62220408c629771e0377e9e (patch) | |
tree | a8d4e0802f6f7d293822e84941abc58ce751c178 /drivers/video/acornfb.c | |
parent | 16182cc8f6d6b51280f7bb9e5c1621ad309afd7d (diff) |
ENGR00241777 fix rare kernel panic by gpu lowmem killer
task_free notification procedure cannot be registered/unregistered
during gpu memory allocation dynamically, when the lowmem killer triggers
a kill signal to one app, and then rescan to check if memory is available,
if other 3d apps free some memory prior to the killed app in unlikely case,
then task_free notification procedure will be unregistered before the notification
of the killed app is received, that causes kernel panic in task_free processing.
the fix is to move task_free procedures into gpu kernel drv_init and drv_exit.
Signed-off-by: Xianzhong <b07117@freescale.com>
Acked-by: Lily Zhang
Diffstat (limited to 'drivers/video/acornfb.c')
0 files changed, 0 insertions, 0 deletions