From patchwork Tue Oct 13 09:49:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paoloni, Gabriele" X-Patchwork-Id: 11835265 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EC76092C for ; Tue, 13 Oct 2020 09:50:05 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 36A0E2072D for ; Tue, 13 Oct 2020 09:50:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.elisa.tech header.i=@lists.elisa.tech header.b="ByZPufhf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 36A0E2072D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+72012+91+4688437+8417402@lists.elisa.tech X-Received: by 127.0.0.2 with SMTP id 3LJMYY4689772xUFDXom8CkY; Tue, 13 Oct 2020 02:50:04 -0700 X-Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web10.8224.1602582604220276914 for ; Tue, 13 Oct 2020 02:50:04 -0700 IronPort-SDR: rgcysVXE5qMwNOsFY9FzjrtsRJN1/kKzjn3G3AxloCBF1IqXDneJMVBCgzI8Z5WrIQj21o/0yN y1YebdsylXUw== X-IronPort-AV: E=McAfee;i="6000,8403,9772"; a="227521198" X-IronPort-AV: E=Sophos;i="5.77,369,1596524400"; d="scan'208";a="227521198" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2020 02:49:50 -0700 IronPort-SDR: BpFXEhYaTR0+VeV7fg0pMLUuBXpuhjJQlLqCy03/BTve9La9/dQSefuB2dsDz5eIWaakbcTsAq ScS55OQc2Aog== X-IronPort-AV: E=Sophos;i="5.77,369,1596524400"; d="scan'208";a="463427562" X-Received: from paolonig001.ir.intel.com ([163.33.183.93]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2020 02:49:49 -0700 From: "Paoloni, Gabriele" To: linux-safety@lists.elisa.tech Cc: gabriele.paoloni@intel.com Subject: [linux-safety] [RFC PATCH 0/2] improve bust_spinlocks dependability Date: Tue, 13 Oct 2020 10:49:36 +0100 Message-Id: <20201013094938.356837-1-gabriele.paoloni@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: linux-safety@lists.elisa.tech List-Id: Mailing-List: list linux-safety@lists.elisa.tech; contact linux-safety+owner@lists.elisa.tech Delivered-To: mailing list linux-safety@lists.elisa.tech List-Post: X-Gm-Message-State: nKRs9kRfaKhhHlQuxZMh11Sox4688437AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.elisa.tech; q=dns/txt; s=20140610; t=1602582604; bh=2VkIlpXAl4MHos4Iif0WOstel0AEOlAdtCh+CtqgYz0=; h=Cc:Content-Type:Date:From:Subject:To; b=ByZPufhfwHvXfNdHZOSWornZPSNhfDadJff/4k9PvazAMwsqde/lCBBZjVffrh3Upj7 1qutwOiTzNk6xQVPAdxOmQTrhvjd/jZyRPxzK+OpwV8lXbdmdDy13IkGrNE6qbyiTlz5a wQ96fNR3ql7CY0QOb6wWGxpAuBItdL7G7+g= This patchset provides a kernel-doc documentation format for bust_spinlocks() and fixes a weakness where the global variable oops_in_progress gets unconditionally decremented Gabriele Paoloni (2): bust_spinlocks: add kernel-doc format doc bust_spinlocks: do not decrement oops_in_progress unconditionally lib/bust_spinlocks.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-)