summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorminskey guo <chaohong.guo@linux.intel.com>2010-09-17 14:03:27 +0800
committerMatthew Garrett <mjg@redhat.com>2010-10-05 14:59:06 -0400
commita7abda8d721359363d679c5f2de964f29419568c (patch)
tree8f0fe2df8a421a8b1f558a9952fffc2f9d411472 /mm
parentfed522f7ea780d195d5d3e55df95fee520136e17 (diff)
downloadop-kernel-dev-a7abda8d721359363d679c5f2de964f29419568c.zip
op-kernel-dev-a7abda8d721359363d679c5f2de964f29419568c.tar.gz
NULL pointer might be used in ips_monitor()
The patch is to create ips_adjust thread before ips_monitor begins to run because the latter will kthread_stop() or wake up the former via ips->adjust pointer. Without this change, it is possible that ips->adjust is NULL when kthread_stop() or wake_up_process() is called in ips_monitor(). Signed-off-by: minskey guo <chaohong.guo@intel.com> Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud