From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751280AbbCIEOd (ORCPT ); Mon, 9 Mar 2015 00:14:33 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:30246 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750715AbbCIEOb (ORCPT ); Mon, 9 Mar 2015 00:14:31 -0400 Message-ID: <54FD1E0D.8020406@oracle.com> Date: Mon, 09 Mar 2015 12:14:05 +0800 From: ethan zhao Organization: Oracle Corporation User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Viresh Kumar CC: Ethan Zhao , santosh shilimkar , Rafael Wysocki , Linaro Kernel Mailman List , "linux-pm@vger.kernel.org" , linux-kernel , guangyu.sun@oracle.com, "sriharsha.devdas@oracle.com" Subject: Re: [PATCH Resend] cpufreq: Set cpufreq_cpu_data to NULL before putting kobject References: <54CEF123.5050106@oracle.com> <54CEF574.6040404@oracle.com> <54CEF7AA.80401@oracle.com> <54CEFA23.7040705@oracle.com> <54CF0106.5050601@oracle.com> <54CF9209.1050403@oracle.com> <54ED50F5.5080603@linaro.org> <54EDF8FC.8060204@oracle.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015/3/9 12:06, Viresh Kumar wrote: > On 9 March 2015 at 07:04, Ethan Zhao wrote: >> Viresh, >> Got that box and did some debug, found the policy->kobj is not initialized. >> So the race happened between cpufreq_cpu_get() and >> __cpufreq_add_dev(), and verified 'this' race could be fixed by commit >> >> 6d4e81e cpufreq: Ref the policy object sooner >> >> I have reboot the box with crond for more than 12 hours, no warning found. > Oh, great. Thanks for your work Ethan. You want this to be pushed for 3.18 > stable kernel, right? I will see what I can do. Of course we are happy to see it in 3.18 branch. Thanks, Ethan