Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3170243imu; Fri, 23 Nov 2018 23:13:42 -0800 (PST) X-Google-Smtp-Source: AJdET5dn65HFVHXG9UFy4XeN9pulfYUPRsGEjvhfPQNVZKdLWG8E3/hPL6qw0LvCrK47Gj127CTw X-Received: by 2002:a62:31c2:: with SMTP id x185-v6mr19243071pfx.39.1543043622426; Fri, 23 Nov 2018 23:13:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543043622; cv=none; d=google.com; s=arc-20160816; b=0XFKy8b5KLXSZ/drAyvMq5F2NpRGjE/ZrJkXKBlvmAZ0pr04oQruMjX+aQheJeNqUn zygknj1iZ+WowKuaua1TmszNb1OEUk7rrBrO7X9Z3SAN2Eqy9YcQhJuwj38g1e1wgxKz KUamHiz9M7ZAFjolAGXcOaN94B/0yHRhG86zeeeuJW3Gn9BZp99A7IcLxfL3Yw8/gwwg eyiwicbXnOMnnSIexoZgZN7OaOrkAdblgzHt3DqwQ+4n93znoZNh41Dhe8vPmRJwo8XH cjALoUVDnDsSKnHfbvSts0mCu6+3mQxCxMn0V/e8z5MZZO65gQajZZFL67EBDk3L0esh pm4w== 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-id:spamdiagnosticmetadata:spamdiagnosticoutput:user-agent :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=qRIIqtxIJDEZPKh2wm3qfuJ99ekfCYeRUDkJY+VyuR4=; b=HLSLFwpuEcT3A3inm+CfuWjTJyHpzitlEmM6InMfvL1gtT7vkL2SGQy6kiEg3aCWFj A5n5xzm7RAkFEfvF00kUpzVANUMdCV/eSTrQ+r02rZmL0jAeGAMdSQSWwZo0VpCI/oRd X6ow7mniTaXNoAphNLMZog0jdKblfOZGhlT4+TWXbZ/7RStPnOrvefBPxMTuvSSNI20n cMpK/Diclng05CZ9mZw0nMYP1cxj81VZZ51ysJQe99v4GcUjk/ar9yXUxJT//r3s/dDG OeHriVzdqfWGgfTdPh4DAtyU1TKPaQE4k49itXzvnH9P4xBSop1C8+fy+QQTrQYBJk7K pYIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=rFO9QDt8; 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 w32si55719304pga.337.2018.11.23.23.13.28; Fri, 23 Nov 2018 23:13:42 -0800 (PST) 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; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=rFO9QDt8; 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 S2406579AbeKWFgC (ORCPT + 99 others); Fri, 23 Nov 2018 00:36:02 -0500 Received: from mail-eopbgr810040.outbound.protection.outlook.com ([40.107.81.40]:57848 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2392136AbeKWFgC (ORCPT ); Fri, 23 Nov 2018 00:36:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qRIIqtxIJDEZPKh2wm3qfuJ99ekfCYeRUDkJY+VyuR4=; b=rFO9QDt8JBw5vU2qcgoGgig7BOHUu6E8yEEPiEL9YoOOdM/YIV88pF2NCBs4z1pwbmFeupopTijD0OVD6lJG8ru/p9NFKk9vvlEso/VCeG3AUw0FGYRPa5YELQAklOFLvATGr5Kpv7u3vpK1+DNxRuMyeZTZb9HeXNPy46SjMKE= Received: from BN6PR12MB1714.namprd12.prod.outlook.com (10.175.101.11) by BN6PR12MB1393.namprd12.prod.outlook.com (10.168.228.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1339.23; Thu, 22 Nov 2018 18:55:17 +0000 Received: from BN6PR12MB1714.namprd12.prod.outlook.com ([fe80::f8a7:157:6224:34ee]) by BN6PR12MB1714.namprd12.prod.outlook.com ([fe80::f8a7:157:6224:34ee%2]) with mapi id 15.20.1339.027; Thu, 22 Nov 2018 18:55:17 +0000 From: "Koenig, Christian" To: Daniel Vetter , LKML CC: Linux MM , Intel Graphics Development , DRI Development , Andrew Morton , Michal Hocko , David Rientjes , =?utf-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Daniel Vetter Subject: Re: [PATCH 2/3] mm, notifier: Catch sleeping/blocking for !blockable Thread-Topic: [PATCH 2/3] mm, notifier: Catch sleeping/blocking for !blockable Thread-Index: AQHUgoOXn35FlQ7VOUGIwFoSriypUaVcJMKA Date: Thu, 22 Nov 2018 18:55:17 +0000 Message-ID: References: <20181122165106.18238-1-daniel.vetter@ffwll.ch> <20181122165106.18238-3-daniel.vetter@ffwll.ch> In-Reply-To: <20181122165106.18238-3-daniel.vetter@ffwll.ch> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 x-originating-ip: [2a02:908:125b:9a00:a142:2be6:b7be:5a3a] x-clientproxiedby: AM5PR0701CA0053.eurprd07.prod.outlook.com (2603:10a6:203:2::15) To BN6PR12MB1714.namprd12.prod.outlook.com (2603:10b6:404:106::11) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Christian.Koenig@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR12MB1393;20:PbxAU93wa0J3u3SJvCDE26lAneccqyXv72Pyy8Fjk8zjFYas0WDuc+hL/OBOQpwnI8GI/OQhIH4/de4UkZwar/cyGUyhsmQoilOjC1VsRApUMSNffBaGdUIJwXUeyLuMvL5AUxfeEMqIm7SMPdEHuyw7hMLKmryCLMYtdZoOAwrzWAypg9wVdOZ7O/zJ02WC27a87bSagwrkCYJAf19w9WC8ktASvzxP/NTV7jh699PCkwDt3477DOjDTfyc4EYP x-ms-office365-filtering-correlation-id: 2adeea86-f9ab-4555-7e97-08d650ac0b31 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:BN6PR12MB1393; x-ms-traffictypediagnostic: BN6PR12MB1393: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231442)(944501410)(52105112)(3002001)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123562045)(201708071742011)(7699051)(76991095);SRVR:BN6PR12MB1393;BCL:0;PCL:0;RULEID:;SRVR:BN6PR12MB1393; x-forefront-prvs: 0864A36BBF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(366004)(39860400002)(376002)(346002)(136003)(199004)(189003)(25786009)(72206003)(64126003)(65956001)(65806001)(97736004)(68736007)(478600001)(316002)(76176011)(52116002)(6486002)(6436002)(99286004)(54906003)(2900100001)(14454004)(58126008)(110136005)(81156014)(81166006)(31686004)(186003)(6506007)(386003)(229853002)(102836004)(86362001)(106356001)(105586002)(36756003)(2906002)(7736002)(65826007)(6116002)(446003)(8936002)(6246003)(4326008)(486006)(46003)(14444005)(476003)(6512007)(2616005)(305945005)(53936002)(11346002)(8676002)(256004)(31696002)(66574009)(71190400001)(7416002)(71200400001)(5660300001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR12MB1393;H:BN6PR12MB1714.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: OV/aOhVst5pC58OVOJfIyOVnHJ2ViumnRO/ah8r4iu5kBGpZjvIRZv5fOQnixQvYvbJeNDQHE19jqgYNkcgKFv9BfyJ19ZYix0a1ci1y0FB5wPgCuTxrWpN/quEaPsRDcVMBML+7qsGL3QZmgxrwxqRCjIgqUdg+60gk6sg41BUNbEJ7tlde1J/wByFkAofEeRA+2HJTv3L5SyPugAhmKEM3WT5YYffV0ZOqJXJaXBHf02pLEESCwZgbfdQQ0059hjKyVf4ZMGfnklJ2lV3lBbpqjzMIYecKQFvEl8gZ9qfyBilBupId8zVmiyBR3GBRYctABHDzuiB3saSeBf9HLdm8M4fwDKs9SmaIF9lsiwY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <4EC4BF4399C95F4382DBAFADB9310725@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2adeea86-f9ab-4555-7e97-08d650ac0b31 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2018 18:55:17.5175 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantH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