From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751430AbbHAQZ0 (ORCPT ); Sat, 1 Aug 2015 12:25:26 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:47895 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750935AbbHAQZZ (ORCPT ); Sat, 1 Aug 2015 12:25:25 -0400 Date: Sat, 1 Aug 2015 18:25:22 +0200 From: Peter Zijlstra To: Ulrich Obergfell Cc: Don Zickus , Jiri Olsa , lkml , Ingo Molnar , Michal Hocko , Stephane Eranian , Andi Kleen , Paul Bunyan Subject: Re: [PATCH] watchdog: Fix race on single cpu boot Message-ID: <20150801162522.GO2859@worktop.programming.kicks-ass.net> References: <1438343805-29771-1-git-send-email-jolsa@kernel.org> <20150731153656.GB42272@redhat.com> <110159750.2156696.1438434352724.JavaMail.zimbra@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <110159750.2156696.1438434352724.JavaMail.zimbra@redhat.com> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 01, 2015 at 09:05:52AM -0400, Ulrich Obergfell wrote: > > Don, > > > Uli privately has been working on a patchset that cleans up a bunch of these > > race conditions. We believe it should cover this case. It uses the > > proc_mutex to synchronize everything. > > > > I think he is reaching out to you. If you could try his patchset to see if > > it fixes things, it might be a cleaner approach than what you are doing. > > > > > > > > Ok, I was poked on IRC and you have already done this and it passed your > > testcase. Let me get Uli to post his patches. :-) > > > > Cheers, > > Don > > I posted the patch set here: > > https://lkml.org/lkml/2015/8/1/64 > https://lkml.org/lkml/2015/8/1/65 > https://lkml.org/lkml/2015/8/1/66 > https://lkml.org/lkml/2015/8/1/67 > https://lkml.org/lkml/2015/8/1/68 If only you didn't use lkml.org links, that site is flaky beyond unusable. Please use lkml.kernel.org/r/$msgid, that way people actually have a chance of getting a working link and/or finding it in their local archive.