lkml.org 
[lkml]   [2012]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH block/for-3.4/core] cfq: fix cfqg ref handling when BLK_CGROUP && !CFQ_GROUP_IOSCHED
On Thu, Mar 15, 2012 at 09:35:46AM -0700, Tejun Heo wrote:
> When BLK_CGROUP is enabled but CFQ_GROUP_IOSCHED is, cfq ends up
> calling blkg_get/put() on dummy cfqg leading to the following crash.
>
> BUG: unable to handle kernel NULL pointer dereference at 00000000000000b0
> IP: [<ffffffff813d44d8>] cfq_init_queue+0x258/0x430

> Reported-by: Fengguang Wu <fengguang.wu@intel.com>
> Signed-off-by: Tejun Heo <tj@kernel.org>

Tested-by: Fengguang Wu <fengguang.wu@intel.com>

Thanks for the quick fix!

> ---
> Yeap, forgot to test that config combination. Fengguang, can you
> please test this patch? Jens, once Fengguang confirms the fix, can
> you please apply this on top of for-3.4/core along with the pending
> stats updates?


\
 
 \ /
  Last update: 2012-03-16 05:25    [W:0.081 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site