Received: by 10.223.176.46 with SMTP id f43csp1024212wra; Wed, 24 Jan 2018 09:25:19 -0800 (PST) X-Google-Smtp-Source: AH8x226FyVjPLckLNjc2Y2iYNOka0FT21QyXDwT1DZKVhsssGkjWg2yNhh2grOIwQeWOEYEYseEV X-Received: by 10.99.43.13 with SMTP id r13mr6724708pgr.242.1516814719731; Wed, 24 Jan 2018 09:25:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516814719; cv=none; d=google.com; s=arc-20160816; b=LrtQ25R/vqWpXNzzNHT/jDWZTeKaCqxD+dzXgT/lpnpt46hBTFAPvSap4ihpP6dgRR J4I1R/hVzcClHnsvNIrnQEyAr/Vqxu/+wWpHDdL6w+biZzTUOVp5k6Y6EcL7jmy8s358 KAuocdHXN03x/uCe3Vbs4ADMxx8F2+wFL/k9cefF5tfJYCDlTHJ+umlrGH1ttiN2XDg/ phBSBHg9w1S/HBdxGhUodkYWWUSXHNK41CdtLLdocDllMpSKPAV/H0dHa8JNsjXSSrk9 AfgI2w1mZP775ZKgRrQUlB+dyesZeVXFUMU7zF+tu0b9/vat1VFNp3mLaTsud973i1Th FMKw== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=on5SRA8Ld4XcK4HSKw/Y+Vbn4wPwWCUZzP12SEcUJJk=; b=Tj5+db5p5P9xcYcaKBaA3MoNi57MOGEVH/MH+HTPQjMOqKl1Im+/SPvZEHgxTBBbSw KJMqbvt5QHZHgMNLdRUCHkXECK/WA3Xu4S4APV6wuas5yt/Bm9OKVpsXSmeKbDqpcqbw rZ1IwQ5G0/Lr3lPIlwEgxXF2IdwJJ5scApTf3FGWtR5nx8799e4tdqOx5oVgGG8BEra7 fyX1N/Fz/89p0nGI4TcwClgybCEtFAVLsLSfZIqBL1Yy4xN8rtkLbyDLds1Cn451BYds sjb8g7qdwS9YMI3TjRAbdpL1NAuuzspVddiElVAMO7TMOUsKtw4m+5X4zZN3ze+7MFIE UkqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Ml0NlLm6; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6-v6si481325plz.522.2018.01.24.09.25.05; Wed, 24 Jan 2018 09:25:19 -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=@microsoft.com header.s=selector1 header.b=Ml0NlLm6; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964904AbeAXRYf (ORCPT + 99 others); Wed, 24 Jan 2018 12:24:35 -0500 Received: from mail-dm3nam03on0139.outbound.protection.outlook.com ([104.47.41.139]:52960 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S964791AbeAXRYd (ORCPT ); Wed, 24 Jan 2018 12:24:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=on5SRA8Ld4XcK4HSKw/Y+Vbn4wPwWCUZzP12SEcUJJk=; b=Ml0NlLm6Ee/x30+5XbNAxu1uXeAD+RpNVhYtExxsuLmjqQGQCELAaFmouiKEHMt4Xa8cSRgsfHgwubGNXRhMOVKHYygLKrDjALSPMR+EMcpDo91z3niaURrrWexZg021tdR4yXzfJ/3UYfLg00ZvbaTBVMiw/ye1WElgbz0/dEM= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0935.namprd21.prod.outlook.com (52.132.131.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.428.9; Wed, 24 Jan 2018 17:24:32 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::6485:b98:d15e:9da7]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::6485:b98:d15e:9da7%2]) with mapi id 15.20.0464.006; Wed, 24 Jan 2018 17:24:32 +0000 From: Sasha Levin To: Yisheng Xie CC: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Michal Hocko , Andrew Morton , "Linus Torvalds" Subject: Re: [PATCH AUTOSEL for 4.14 078/100] kmemleak: add scheduling point to kmemleak_scan() Thread-Topic: [PATCH AUTOSEL for 4.14 078/100] kmemleak: add scheduling point to kmemleak_scan() Thread-Index: AQHTlMnpTyJC5yAaR02FyOItdpzpKKOCpU2AgAChgoA= Date: Wed, 24 Jan 2018 17:24:32 +0000 Message-ID: <20180124172431.m6gmke4ndex7xynv@lappy> References: <20180124041414.32065-1-alexander.levin@microsoft.com> <20180124041414.32065-78-alexander.levin@microsoft.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [73.47.72.35] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB0935;7:NjIrv3teE1Gun7/Rr9HfVSYv7bcqcS3ThOolS3zMBgC8dsT4eawx0Lzhb0+GhJi+92qMuUyIBu1D+u8LiNc2LF2AxZAmDwH+1O2UVS8AngROnFoTvAqIGVA45E6z5hRvJCub4XIYlIhMsq2gn1oBM+jWyybSJs5orrUoAaQrSPZvF8JA2/Vo4ce7oj+m5tc0F8Z6cAa8wN4IM3RL6AU5JcEKOZHOF1DRv2Zxth++3XctB7SedPMZFCaS6Q8YD0r6 x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 7aca99c8-9f17-4b92-385a-08d5634f550f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7193020);SRVR:DM5PR2101MB0935; x-ms-traffictypediagnostic: DM5PR2101MB0935: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231046)(2400081)(944501161)(6055026)(61426038)(61427038)(6041288)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB0935;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0935; x-forefront-prvs: 056297E276 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(376002)(39860400002)(396003)(39380400002)(346002)(366004)(199004)(189003)(6116002)(26005)(305945005)(7736002)(68736007)(3846002)(14454004)(8936002)(3280700002)(72206003)(10290500003)(8676002)(86362001)(102836004)(5660300001)(81156014)(86612001)(81166006)(6916009)(478600001)(2950100002)(3660700001)(6346003)(76176011)(2906002)(66066001)(105586002)(9686003)(6512007)(6436002)(2900100001)(4326008)(5250100002)(6486002)(53936002)(54906003)(229853002)(22452003)(6506007)(316002)(1076002)(106356001)(33896004)(99286004)(10090500001)(25786009)(33716001)(6246003)(97736004)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0935;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: MMS4yUz3+i5uBBAZjxgk461RfguKUYYC6orPBQ84ONB9vMDdR8/Ii2FOAp9Pqk5x1oYQ0cvVjhyfzVxVZ16BYQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7aca99c8-9f17-4b92-385a-08d5634f550f X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2018 17:24:32.2439 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0935 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 24, 2018 at 03:46:27PM +0800, Yisheng Xie wrote: >Hi Sasha, > >There is a fix patch for this patch: > > 13ab183 mm/kmemleak.c: make cond_resched() rate-limiting more efficient > >So if this patch is backported to stable, maybe the above patch is also >need to be backported too. Hi Yisheng, This patch fixes a softlockup, while the patch you linked seems like an performance optimization for this patch, so I'd rather skip it unless you're aware of an actual issue it might fix. -- Thanks, Sasha=