Received: by 10.223.185.116 with SMTP id b49csp5226600wrg; Wed, 7 Mar 2018 08:17:54 -0800 (PST) X-Google-Smtp-Source: AG47ELsqZWci5ijHiBa8h01kfo6ZtM4fDbhz7B5S+xAKB52BcX8noCjw2mveZN5J1W3G+wbcFlZM X-Received: by 10.98.225.2 with SMTP id q2mr22914673pfh.23.1520439474476; Wed, 07 Mar 2018 08:17:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520439474; cv=none; d=google.com; s=arc-20160816; b=iQvOOeh2+scH3ugqyEVRMUvLaR0bBuMEX5Z/eR8kIdJEP/jAihOV8wbWMOukHodQFy u6sK8/IoQIk129JOcd6YMqQ/GTUsbfMCmeyrWHiK7BrOVdzey9mdr7F9gl70GvgnpKYX RkrcH3FLk7j/BxXYVPTA9qt8UU6W0c3st5fZbFpCeUR6u3GdWlfxiBaKrW4PEpI4yArB PLvgs7PZBTD6KpDKgfwR/2O7jx8ba5NZVYCjjnfiTNnhUBUIJ/hHyBIh3diqYhZEv+Y4 WIQaWKzVeVwRYv0Qt6QCLGSBkEoD2mOSSkU5A6c9nqYBGFwUBKwTQd28lUzk08keq8QU I9xg== 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 :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:dkim-signature:arc-authentication-results; bh=GoqhqE2osDMFdBAv6u6OpQlhVJMyS/WwDRm9iR7tz9Q=; b=bnX/AMdjM+rIa7h7byAWIhG2f4EIl7muyjJ5e0VcYVVJzBI8x0bCAhUof6Ua0+J+2j VuemhDWI1H7ljh4ZR1Ujc3Ym9AyOX9wb2X6APqqwe7Y+oULBBNtPSZRlcbc1TK/XWjYo D/s46RtusiJ4IKlYNY+9eyML3+AIGHow4scqT0puMdac3/RfJY1iuirFK/4dRFAnX9ec w0pDJ4LoIN64TpEPpmeiyBjNR9XhQG6eiFTRVviMI//5mLX+xiesAP0Rg0PSkhmnVJRJ vNLlbqdWVEUvlzF3PGRMYLxANMGimwt3aXAGokBbuZE+PRkaIXkTh+oEDs7kXZ9rOEbl 5lLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=VMDvqedM; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=AqsM/CTC; 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 k74si14130854pfb.216.2018.03.07.08.17.39; Wed, 07 Mar 2018 08:17:54 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=VMDvqedM; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=AqsM/CTC; 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 S934017AbeCGQQf (ORCPT + 99 others); Wed, 7 Mar 2018 11:16:35 -0500 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:45482 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933335AbeCGQQe (ORCPT ); Wed, 7 Mar 2018 11:16:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1520439394; x=1551975394; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=GoqhqE2osDMFdBAv6u6OpQlhVJMyS/WwDRm9iR7tz9Q=; b=VMDvqedMVUKaAFhnAQ45G4qXubw9tQUvjbwtwQlyX9S3aL2uR/3akC3+ Ad+Cp3tfx/GGp6cuFkkpnGXYOMJhtrUGgWdtreHdF7Q2Wgp1RWjU8/w1y dJTpCc2sO0JeiZlEqNwyjNuoL9cnE7MN+25qytyTlpgCi8iGEBVRDZFQi qIOV9ETDavm7Acmfi2lyJVjyORUGmZFnzesZwQWbfyrMZqTRORY/1XWgy UWAgl2gyD0KQamWZ533jtv8D0f9NNKcblcsdkLK9eUVf2x9Gp+bcSXz9o aIm5dCKtVdIYiMgn5u84yYrQhvCSkG8IvkQslUIDza+Rx4gR+yTbfUPZt Q==; X-IronPort-AV: E=Sophos;i="5.47,436,1515427200"; d="scan'208";a="72960586" Received: from mail-dm3nam03lp0020.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([207.46.163.20]) by ob1.hgst.iphmx.com with ESMTP; 08 Mar 2018 00:16:33 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=GoqhqE2osDMFdBAv6u6OpQlhVJMyS/WwDRm9iR7tz9Q=; b=AqsM/CTCF/wnXUQropACUdCppIwCvHN3MNPQxA3UIwVunML3AqY6bY/PgHAWWt4YqTogNMYRXAYH1/q+YXRViWKX4iwacNI1fMYOAviF3j6koZqXIF1FDSrfcQ3Jo+eYz/fC54MH/Tg8a78Joau6HQvLG/N3Sd+8lRwCEsWW5PM= Received: from MWHPR04MB1198.namprd04.prod.outlook.com (10.173.48.151) by MWHPR04MB0814.namprd04.prod.outlook.com (10.172.168.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Wed, 7 Mar 2018 16:16:30 +0000 Received: from MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::a06f:fa0e:f691:9dca]) by MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::a06f:fa0e:f691:9dca%13]) with mapi id 15.20.0548.016; Wed, 7 Mar 2018 16:16:30 +0000 From: Bart Van Assche To: "linux-kernel@vger.kernel.org" , "tursulin@ursulin.net" CC: "tvrtko.ursulin@intel.com" , "hare@suse.com" , "jthumshirn@suse.de" , "axboe@kernel.dk" Subject: Re: [PATCH 3/6] lib/scatterlist: Do not leak pages when high-order allocation fails Thread-Topic: [PATCH 3/6] lib/scatterlist: Do not leak pages when high-order allocation fails Thread-Index: AQHTthJ29ElMPnlnbEiOlFlrboqlxKPE8yeA Date: Wed, 7 Mar 2018 16:16:30 +0000 Message-ID: <1520439389.2890.16.camel@wdc.com> References: <20180307124712.14963-1-tvrtko.ursulin@linux.intel.com> <20180307124712.14963-4-tvrtko.ursulin@linux.intel.com> In-Reply-To: <20180307124712.14963-4-tvrtko.ursulin@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bart.VanAssche@wdc.com; x-originating-ip: [199.255.44.172] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR04MB0814;7:+epKcE+7MxnRsXx65kvqQcb5gHOJD9qsIbugpeHCuOFRbPK05i1V7wEGiuA2F5NcjX4bYMjhCqo/3WSOugi9AHwVxird4f6EbopO9CFeE5NeuT21cGPRWKkkOwLwY7g81KK5sbLR43h9ZVeSdDMVsEhyRSbLRhqGELoFi41SiXafx6o4iBF0Ez8Jc9PDIRSeKNtZSlS4CLxYkrnCEGsG6LEbQMSCFGRjrARw2HX3VjoRfPDehe3ngIqYzr515xJB;20:qhSZfK8UN/Rbqk+Qezjir5f/xvhG7kNMYbp/pK1V9bCWqbIqWr2ukBPyb2Nvy6/zN9b1svvusedDlLsl+R+2xEtwa3qeNggHnIQkZjMQuQXKnBeNMTsKKATrJq9GPiEkGGWkQk+BEpBu0/ogk/8gBcXY9UUGFTL5PR1fN4xWXBQ= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: e7f5ddc7-dfbe-4124-4f91-08d58446c9ad x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:MWHPR04MB0814; x-ms-traffictypediagnostic: MWHPR04MB0814: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231220)(944501244)(52105095)(93006095)(93001095)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011);SRVR:MWHPR04MB0814;BCL:0;PCL:0;RULEID:;SRVR:MWHPR04MB0814; x-forefront-prvs: 0604AFA86B x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(346002)(39860400002)(396003)(366004)(39380400002)(199004)(189003)(377424004)(3846002)(186003)(25786009)(478600001)(68736007)(72206003)(6116002)(103116003)(26005)(2950100002)(106356001)(229853002)(8936002)(8676002)(3660700001)(54906003)(316002)(81156014)(81166006)(4326008)(2501003)(2906002)(5660300001)(110136005)(105586002)(6486002)(66066001)(5250100002)(3280700002)(76176011)(102836004)(86362001)(6506007)(59450400001)(305945005)(7736002)(6512007)(97736004)(6246003)(2900100001)(99286004)(14454004)(6436002)(36756003)(53936002);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR04MB0814;H:MWHPR04MB1198.namprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-microsoft-antispam-message-info: 3i01C1QFqO6siAyRWREVmMqcBfeEK1mH0Jo1Qoo7k/ZT3Q9Ce98ypZWTTwsNt0r6FATPsML/ctYYiCG+vWx4VBZ5NUqEQwNrUdarIlMUjyz6LGMAhVvzk/t/aMvhG61LxuDhOw7skSOsov2H5NxQmvbik89NJFOn6y18ILY/L0fTolW+wgV7LjUHLUS0TdoNKmWRHUwGuyC5FqD2aRUhtjVGcfGmZypQMjfIux7Mv34/8y+ZmpkL6friO23OIAhZrViPaXRkLUPET7nEbuD6NxLniQaCCLwe0k4MnQ9JXhweugjbNGznk1NO4JdyNrsSxitSa7DUnDmMUhzHpPsx7g== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <37BBBBDCE889EC4AB78F69AC4267790A@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: e7f5ddc7-dfbe-4124-4f91-08d58446c9ad X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Mar 2018 16:16:30.6761 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR04MB0814 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDE4LTAzLTA3IGF0IDEyOjQ3ICswMDAwLCBUdnJ0a28gVXJzdWxpbiB3cm90ZToN Cj4gZGlmZiAtLWdpdCBhL2xpYi9zY2F0dGVybGlzdC5jIGIvbGliL3NjYXR0ZXJsaXN0LmMNCj4g aW5kZXggOTg4NGJlNTBhMmMwLi5lMTNhNzU5YzVjNDkgMTAwNjQ0DQo+IC0tLSBhL2xpYi9zY2F0 dGVybGlzdC5jDQo+ICsrKyBiL2xpYi9zY2F0dGVybGlzdC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