From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755430AbaCZATi (ORCPT ); Tue, 25 Mar 2014 20:19:38 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:35828 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753818AbaCZATh (ORCPT ); Tue, 25 Mar 2014 20:19:37 -0400 Message-ID: <53321D04.2040102@oracle.com> Date: Tue, 25 Mar 2014 20:19:16 -0400 From: Sasha Levin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Alessandro Zummo CC: Tejun Heo , Greg KH , rtc-linux@googlegroups.com, LKML Subject: Re: kernfs/rtc: circular dependency between kernfs and ops_lock References: <5308E3AE.3040405@oracle.com> <20140222205217.GC16272@mtj.dyndns.org> <20140224120427.6394d5dd@linux.lan.towertech.it> <5331FA9E.20506@oracle.com> <20140325233936.655a798e@linux.lan.towertech.it> In-Reply-To: <20140325233936.655a798e@linux.lan.towertech.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: acsinet21.oracle.com [141.146.126.237] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/25/2014 06:39 PM, Alessandro Zummo wrote: > On Tue, 25 Mar 2014 17:52:30 -0400 > Sasha Levin wrote: > >>> >>> Pretty interesting indeed. One option would be to remove >>> the sys files before acquiring the lock. But I wonder >>> if this could lead to other issues. >>> >> >> Ping? Seems this thing got lost. > > What if we move > > rtc_sysfs_del_device(rtc); > > before acquiring the lock? Trying it now, I'll leave it going for a week and see if it reproduces. Thanks, Sasha