[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54E4DEDF.1010102@kernel.dk>
Date: Wed, 18 Feb 2015 10:50:07 -0800
From: Jens Axboe <axboe@...nel.dk>
To: Thadeu Lima de Souza Cascardo <cascardo@...ux.vnet.ibm.com>
CC: linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] blk-throttle: check stats_cpu before reading it from
sysfs
On 02/16/2015 11:16 AM, Thadeu Lima de Souza Cascardo wrote:
> When reading blkio.throttle.io_serviced in a recently created blkio
> cgroup, it's possible to race against the creation of a throttle policy,
> which delays the allocation of stats_cpu.
>
> Like other functions in the throttle code, just checking for a NULL
> stats_cpu prevents the following oops caused by that race.
Applied for this series, thanks.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists