Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp711502ybl; Tue, 13 Aug 2019 01:11:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPFKsgw7Z9f3RpsAPRjSgiPS2TxQvIB+aDUSazbwSQb2iBOeYSs4N/qXvyC5LSJGUGh9kM X-Received: by 2002:a17:90a:a404:: with SMTP id y4mr1040061pjp.69.1565683877679; Tue, 13 Aug 2019 01:11:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565683877; cv=none; d=google.com; s=arc-20160816; b=T+GAOLfSskvgU7lpD0sjwty+kbFkeVqh2CKrowbkhSNe2LFwnpBTjtQiCKceNwF11J nJlj8kkd2+y5L4FqEz3dRuMMWaTE5RI2yu/70foUMGMEEJvOnEBx8BQpqlOWGV6Q/Nvi 7vGMG+EhpILXxy/YL20pLTiZq3M0Skn2wigmFEXEHeUR4Kmsv03+M12NFPoiJOHJKYju nMQJV0Gulb5HbnXSIWJiTcQxoLTIB4tjRj3cKsFPPI6mCkv5OWXKEPNmifNqd6q7DsJK EF4CLuJiicOjSBCzk1D+esWgWpjE8qyOsu1DuKsfUc2ycVL1e3010X+M6jKWScWEGGiz 1VGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=Fl2BhY1EM/dISXqt9QSYAv+iP3lPtgAtnU3TpRIVWAc=; b=zYM6Rz8bNZLBvsLgsl1HsDmX/owLJvQ6Wcr1ISBgeP81uJfYqW4k5qOWKrR5sFK7AW s+NEIoyRvCox+b+dFIs6xinqnWgx3+WIqZCPS9ACTtI2ynTPEWdk1AczKhugprxWiqwj 6RO/OS6fvZw+oPZqs8QAzMP+K5ygxO91DRHYfjEs0dxES86k+OOSNtvDM1NGgAEQPjvO mGFKEyEbBJfc3qV3jeX2tK7RoSh1RiC0a3+aQrXaUyfpMZP+lkFCc9KHzNDyoQDWi3mH ncGO5luRH/lqEemUP6NMWBOwPoajT7q82u+j8dpXObykYUTyWXF7u8cleOTuCA0qSz2c JR6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9si55037926pfi.170.2019.08.13.01.11.01; Tue, 13 Aug 2019 01:11:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727818AbfHMIJg (ORCPT + 99 others); Tue, 13 Aug 2019 04:09:36 -0400 Received: from esa1.mentor.iphmx.com ([68.232.129.153]:15328 "EHLO esa1.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725842AbfHMIJg (ORCPT ); Tue, 13 Aug 2019 04:09:36 -0400 IronPort-SDR: zPXjHNeTtWka6OWrCsMSK3dZl0YuvYNBSsn3UZPrHcsI2AtZp19FZMUl9wxleapPHsAs34R8KO oPXNxcNOeCIw3jrmCxbTLNNTupuKiLNlMl9+8T8D9Uhz2tX0e2v1h0ZgwHTAweKzsf4bDUmuI+ GzQ6EE2g82C4AHYuGkVMQS6J1DSZRu7Oc+IXgIrCc1MJUTQpszO3yx1ZU81O5T2ey8/2D/Mlh4 ciP2ojNKryTYpKohy4RmFKVG7tn6zDbuYPNmREjFZm9eDVAEId+JR0/ByFveNHT+j6QMEraXgE a+Q= X-IronPort-AV: E=Sophos;i="5.64,380,1559548800"; d="scan'208";a="42205101" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 13 Aug 2019 00:09:35 -0800 IronPort-SDR: s8i8PDGueMbmlQfnUAaS19Tsqell/mfvnFkq/xLV+c6Mvg1QS+O8rOEEed7+gWO09HiWSbEf9T H41h+H+DMvQltBWGAyy5HHC68McfvWqIWrDIKnBJHSESLPnAWIYfQIDhoDGG2wzF4wDLxMR0Nh NuouB1TujG0qBL738FEgR6nYDBUikYeOPQEJjxt68yT5R4qvZHVt8YEExDc7XZk7vZ8flbes3X UzijmW94hIOpzXnSpfL1C1ShCluC6JB3qD0EWxpJETOndWNv/gMrlY3RBXZpCntd+OHa9Nd3+d hLI= From: "Schmid, Carsten" To: Linus Torvalds , Wei Yang CC: "bp@suse.de" , "dan.j.williams@intel.com" , "mingo@kernel.org" , "dave.hansen@linux.intel.com" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "osalvador@suse.de" , "rdunlap@infradead.org" , "richardw.yang@linux.intel.com" , "gregkh@linuxfoundation.org" Subject: AW: Resend [PATCH] kernel/resource.c: invalidate parent when freed resource has childs Thread-Topic: Resend [PATCH] kernel/resource.c: invalidate parent when freed resource has childs Thread-Index: AQHVTrktoAw70LsxJE6oaOICoAXoo6bzWCGAgAACFoCABWNbkA== Date: Tue, 13 Aug 2019 08:09:29 +0000 Message-ID: <421b9738bee141648d87a5b1c1b4d4aa@SVR-IES-MBX-03.mgc.mentorg.com> References: <1565278859475.1962@mentor.com> <1565358624103.3694@mentor.com> <20190809223831.fk4uyrzscr366syr@master> In-Reply-To: Accept-Language: de-DE, en-IE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [137.202.0.90] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-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