From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751149AbbHANGL (ORCPT ); Sat, 1 Aug 2015 09:06:11 -0400 Received: from mx6-phx2.redhat.com ([209.132.183.39]:53583 "EHLO mx6-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750744AbbHANGJ (ORCPT ); Sat, 1 Aug 2015 09:06:09 -0400 Date: Sat, 1 Aug 2015 09:05:52 -0400 (EDT) From: Ulrich Obergfell To: Don Zickus Cc: Jiri Olsa , Peter Zijlstra , lkml , Ingo Molnar , Michal Hocko , Stephane Eranian , Andi Kleen , Paul Bunyan Message-ID: <110159750.2156696.1438434352724.JavaMail.zimbra@redhat.com> In-Reply-To: <20150731153656.GB42272@redhat.com> References: <1438343805-29771-1-git-send-email-jolsa@kernel.org> <20150731153656.GB42272@redhat.com> Subject: Re: [PATCH] watchdog: Fix race on single cpu boot MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.36.4.124] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF22 (Linux)/8.0.6_GA_5922) Thread-Topic: watchdog: Fix race on single cpu boot Thread-Index: 6wr1nj4fNzLCoYpE/UpRzkoAYirp+w== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Regards, Uli