Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5673504rwl; Tue, 4 Apr 2023 01:47:11 -0700 (PDT) X-Google-Smtp-Source: AKy350b3wPlibzMw+PJJ2DX7Gdaj5qHEITuN4xKuySHzg2PHVaNaOM2Vs2t9R7cyLJGSA0GDy3Jo X-Received: by 2002:a17:906:454b:b0:92c:5f1:8288 with SMTP id s11-20020a170906454b00b0092c05f18288mr1325887ejq.13.1680598031326; Tue, 04 Apr 2023 01:47:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1680598031; cv=pass; d=google.com; s=arc-20160816; b=kuBFVvSvxVGZg/NHwGFjoaNs1DuvaFgDZv3vmDEON9VIw0CKs4jyGk43fG2IvWjFut 5YXond+7WX6AN+J/wAO9UAcso+KftKJO4B3dr3Pdbib/zEbhzEm6+pOdo9vM6HFeNKPK Gh/qtL6Kr983LFSBbBCO3hrAQBDVjLWRqxF/AUofGkdPAaxKS4mN91Gu13mLJgClxK79 ksGHPe0F7KIEOSApx+Z71JzNQEPnOt1sYKYj5Ub1u422IfgyfEt2lZlVyu1jocz9x6Pc 2pMjrd2JYWB5t+xLno23xVzY3T1aGrMOfIax65k4lyK1/zciQr8PGLLsTaUj33fICSN+ LCHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature:dkim-signature; bh=CwBd8VIVqig1KSETexcoP8hRMLyRRDRlZpfgmLHt3x4=; b=ohFWZ8vvPTE3gD1Y+8eKPx/z1VAm4bjei8yiSsOzPuWmga6dnKYxlxbZaRosD+Xw8L v4bdNkaFFHhGuswf95nkKr76yUX+6X3EOQVZChK3ZpABTLReer3z2PAPOdPeNAXWAsJf Qmz4hgfU89XA2ZUaC66A2Jk6Dd7lyLYG7HY7MGkChdQkqPvVoxWFeQc/mb/KK5L9XJwQ RAXqtmiVGV3scEYJi9aunTqrB24Q+dNydpEF5SdpAG76BsbztehfNv/h3iORRvqCH7Q+ 8iCutZnrjR+47zshUcjyNDo8RvBCLe4cuVI3uOG+w3lGLV8Po6k7OPRAEacGR7As6a41 UWeg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nutanix.com header.s=proofpoint20171006 header.b=XNhEVMGk; dkim=pass header.i=@nutanix.com header.s=selector1 header.b=oOBqJBgQ; arc=pass (i=1 spf=pass spfdomain=nutanix.com dkim=pass dkdomain=nutanix.com dmarc=pass fromdomain=nutanix.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nutanix.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt4-20020a170907728400b00947c1a1170bsi9919542ejc.717.2023.04.04.01.46.46; Tue, 04 Apr 2023 01:47:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nutanix.com header.s=proofpoint20171006 header.b=XNhEVMGk; dkim=pass header.i=@nutanix.com header.s=selector1 header.b=oOBqJBgQ; arc=pass (i=1 spf=pass spfdomain=nutanix.com dkim=pass dkdomain=nutanix.com dmarc=pass fromdomain=nutanix.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nutanix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229693AbjDDIpP (ORCPT + 99 others); Tue, 4 Apr 2023 04:45:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233526AbjDDIpO (ORCPT ); Tue, 4 Apr 2023 04:45:14 -0400 Received: from mx0b-002c1b01.pphosted.com (mx0b-002c1b01.pphosted.com [148.163.155.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 186FE10DD; Tue, 4 Apr 2023 01:45:13 -0700 (PDT) Received: from pps.filterd (m0127843.ppops.net [127.0.0.1]) by mx0b-002c1b01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3346uujA022123; Tue, 4 Apr 2023 01:44:57 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=proofpoint20171006; bh=CwBd8VIVqig1KSETexcoP8hRMLyRRDRlZpfgmLHt3x4=; b=XNhEVMGk+X/Fum0Lijq/qlsAtJjnsWZpIzLlKiAsvKUNJNqkBgQCFOWXeW6ourXDbzyq /5jco6EojlE/FPntsEH0aqBZ22VtcOSIQE/38cyUZlBgAX2pK9an44RExlwX4dTKN2hd V4FP+1Ps8jjqLRoLtZsvGRdmbZt12PtD0lgjhC8Hr2haSK31fmlUELrMshdHdvNRQENX k/ZlpZElSoyCCivnqAal9slBW1IE9i3NPC9j425LsGKqaxS3M53J3T1BIYhHVGL3eL8/ 3+jTX23EXaxiFq5cs/ln1Pi+v74/FLgPwBx4NDPmXOUVcrfeATUdEhvCfsOHePEHvqFa ug== Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2172.outbound.protection.outlook.com [104.47.73.172]) by mx0b-002c1b01.pphosted.com (PPS) with ESMTPS id 3ppjqme5tq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Apr 2023 01:44:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Eqhwp4msGlBIH5Fzg/sOU+MiD2Vx0UO4qIid0WvGZjwtTVdtR0IA5ic7r4NTxz7PAuHrC8nLlnNYJmC73X9Q05ZtgvRGPhHhAn3573DiKKjfPrx4wQsQRZwh/s2Z2jBf+9RHtdaEt3z/tEDhLBw0Rlnbw4WpBZpeB/I5NTixA0zBezSf3QB1wW6urd4rab4Wef5GROMnX+nJ7FepoP0ilrwXtyvC1uln+LyTYfnCZTxCzBLv++zc5FoyRb/++rWbQvb1p7ENkSKUac3DkHpjzW2z0YZRcZ02XXpPgZymQZ2JaICBUWPryY5YdBOLCLGgf+L9BqIqzYM9Y6fe83E+fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CwBd8VIVqig1KSETexcoP8hRMLyRRDRlZpfgmLHt3x4=; b=Xf0Vjs//L1BGs1U/8UBd9CXsD53APetjLOAcSoJ/N3xs/83SaWDDjmI/vg6x537kDmsaW72QPgnnZ0+bMXSjrGtvjLBt+6gSjtPF9m9XCaeIV0DEtGhhAZyMk90AiBVCEUr6dJLB57wfa50+UODmcoewYRiT5XASfjIatualt9Ch5Vrg+mSICrZJCkYU0WaV/m+sX/qb6eJO1b2HFvqn3GCDK3V8NwUgV39JPx+DpKaN4N/n6tQ4+6o/uqQn+EVhc1Tjfo6CjSh8Tp/XuJ0b3ghuCbvlRTP0Y7y1DPC2MIb0/OKxODQ/BWWIPu9vCd5rUPdyc6832hZl6OupiWEMlA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nutanix.com; dmarc=pass action=none header.from=nutanix.com; dkim=pass header.d=nutanix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CwBd8VIVqig1KSETexcoP8hRMLyRRDRlZpfgmLHt3x4=; b=oOBqJBgQsai65YnlwhuU4zUOD1/QRBxTrf03XXBlaS3potkcs7t8f2cp/YOrXJZYVyT6k3ztW4L2RxRiOjQSoEvO+Co3ArxtVOXKkI9Pj4zkgPNdvSPaz3t0U/Ev2DVbgaloKVlqrq6hiAiu8uuqN8KZ1FT+A7wDT5k20KkMkQbvmErfR1DWhZE1iDSHp0oQLlHVNlfr6G+sTRq52CHHbsOx7BlJ/T1IiPNKnzwLWWEaUIcyMYFfNGFvqzNCDdF9dz3k7h4L5WOTBxdWOk0S4PKpzdcxeGNPnkN/sZgCVwH/8k1Q1TWhnqg+vhR4+tlnUKCfq2pVpNg8col72i1AWA== Received: from BL3PR02MB8217.namprd02.prod.outlook.com (2603:10b6:208:33b::20) by SJ2PR02MB9653.namprd02.prod.outlook.com (2603:10b6:a03:53c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.33; Tue, 4 Apr 2023 08:44:54 +0000 Received: from BL3PR02MB8217.namprd02.prod.outlook.com ([fe80::5065:b9d6:42c9:823e]) by BL3PR02MB8217.namprd02.prod.outlook.com ([fe80::5065:b9d6:42c9:823e%9]) with mapi id 15.20.6254.035; Tue, 4 Apr 2023 08:44:53 +0000 Message-ID: <63942948-a41f-c4c0-dac3-b71adb38496f@nutanix.com> Date: Tue, 4 Apr 2023 09:44:47 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [RFC] memcg v1: provide read access to memory.pressure_level Content-Language: en-US To: Michal Hocko Cc: =?UTF-8?Q?Michal_Koutn=c3=bd?= , Johannes Weiner , Roman Gushchin , Shakeel Butt , Muchun Song , Andrew Morton , cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20230322142525.162469-1-flosch@nutanix.com> <20230324150350.fu7itbqqvtjmyf3s@blackpad> <6f4420d0-2f86-7294-01e1-6806ef7e4686@nutanix.com> From: Florian Schmidt In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: AM4PR0202CA0013.eurprd02.prod.outlook.com (2603:10a6:200:89::23) To BL3PR02MB8217.namprd02.prod.outlook.com (2603:10b6:208:33b::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR02MB8217:EE_|SJ2PR02MB9653:EE_ X-MS-Office365-Filtering-Correlation-Id: d36c570c-0bf5-43e7-3404-08db34e8dc17 x-proofpoint-crosstenant: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ap0X9b6fITdRXSA2KNQ+169YqCKP4pLrAEbiW1fv7wq1n7GbAhT8B/WPxASO9IUzXLVwQysrLozPrMXMpfKCdqiagEuo34SH+BJfjChNL5rQE3BCtGZZZh43g8fxU4pkBuwofpRNXov3JF43OtcilDviiCZGQfyD1lYDYoydKtoqfIoogzOV8/2XYugsglX4Cnkt0FGt5AWcm2PExRQavaPuW+fK4452WxreLMCthaCFA0wz/mt4W4JU0d/b2wZUldhXtvod0vgixsu46N8uK2DEvJVXDzjlXIh9yaR1p/NGO3LODuhpN8t3jU15XUtgbSAKVPLMfSJ0z0mFlKWsSl6pQwXsU3cfqVNc5Wzr3loYnmO1W/sPG4+7yOY5AkerwPCWNzG7t2S7Gi6gzh6QRfQVnEato3tf66G5oDcgtVWgEu3huZ4jdnqeKgy8LDt8p24uGzOyBuP3f01FwfdEog2XMtY8XMsLGvbwfwZ8MdvWT7KYH3iDsgnBRKn9b1tUoXW/2ipBWYgG2ZElJO1GwYvAveBdNqEtOlmI+mc5TARSz50FLPuOTYBgdcQ921a7P0xFm8Ae/gWEk8bvftlo/YdXMQ0y27Y3Q14tdiKzg58g2heAjVCt/j4MeyF/MWOd7tedDqj8ivbIobVCxSw0tw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR02MB8217.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(346002)(376002)(39860400002)(396003)(366004)(136003)(451199021)(2616005)(6666004)(478600001)(6486002)(316002)(186003)(4744005)(6506007)(26005)(54906003)(6512007)(2906002)(5660300002)(7416002)(36756003)(8676002)(66946007)(38100700002)(41300700001)(4326008)(66476007)(8936002)(66556008)(31696002)(6916009)(86362001)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?S283cG8rZEp3RmpJMGJ3bmlRMWc4YjJCRXU2Z2F0VnpBZU1YUk1RYzA1ZDV5?= =?utf-8?B?ODVkdExpWVprRHB6V0ZWTjNLcVJFeWJkUFFDNmE3ZFRZd2lKMit3U3hWRGJv?= =?utf-8?B?cTlnVmRwRXpZOTdubWRyMnU4VTdoOC9vRGZpOElta3hORnZwWjlGeGJKai9X?= =?utf-8?B?TVBFRzg1K1lFODRVTDEvZ1M3YjY3MVNPOEdmdDB6Mml5THJYNHJKTDdjSExn?= =?utf-8?B?SnJIZGtwdnVnNHh6Y2ZnS25JRmppMXhndjFYM3RPZjRjSEtRYmdJSnRsWnVy?= =?utf-8?B?WUNnSFJsSTF3V3YweHloVFlWaEIrYVNTQkl0a3oxb0xNWEYyc05nM2lReSts?= =?utf-8?B?ZHpYd1lHdEpXQnN2Ums5SjkxUUJxMHJXc1lQM1c1S2VFNmViRUFObUliT0FJ?= =?utf-8?B?UGtZeVNESmM2ZFROQjJsNm1PTkwxV29Dc3dYRXUvcE8wRmJmbHptNEd2OEds?= =?utf-8?B?eGp2QStTMlp3MFkvSGNHN04zckdXb1dHcU1yQU9oSURQK1ZpckRV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mL240bkQ2cXREKzU4VUVHL3g5VStx?= =?utf-8?B?Tk5Ra0dVdmViTEZXbUYxb05td001dVVXVCs5NGdjR0doUkgxNTVzeGZlMTJW?= =?utf-8?B?YmNPeUQybFhMZ2NkRVV1MnN1UFEwNGRQL1J3OUc3QW0wRzN6aGJpcUJsOXRQ?= =?utf-8?B?eWRMbE9iQWRqQjJ6b3F0SmhTZitrK3hQZTAzM0lPVUhkOU9pNFVjYUdrdnFt?= =?utf-8?B?WmVPSU0rODg4QjQvY016Wnh5UGNKYzBsKzZpTGM0ZG5kUGRwR3dCZTNXSmE5?= =?utf-8?B?MlBJbCtqaDRuWXB1bmk4YkFtVmxDT09yTjJiTVlxbEVIeVg4blBKc21ZV0N6?= =?utf-8?B?V3dkSzJaclVqSndFUG1jaC9RN1pOU2FRQlp2UndZOUIwVUlZY2N6M1duKzJB?= =?utf-8?B?bERDcVlpeWVETzM5czVlTDNyZHNqU0tCaXAwL0l2WUNFVlprZEp2Z2prSGM3?= =?utf-8?B?ZnIwdWJaK1RvbjFmU0ltOCthbmk2MTNpZGVHYUVPd0pjblNPSFNGSUh3VXRH?= =?utf-8?B?a05ja1h4MzFtb21GTXFNRlJoS2NUR2VSaGwvM3RidXpQZk1WQjFVcWd2bTdp?= =?utf-8?B?V1VJenNBNWhvQldVWkhvQmRrWmdSdFFYRk04ZGFmdzJLVC9YRTB0OTZaeUQz?= =?utf-8?B?aUdjQVZRYnc0dHhzRUNtc0N3UlgvY1kvL0c1OUs0K3FwSVN6Z3lqRXUrZ2Jv?= =?utf-8?B?SUdQakFMcG1zSWVPQTlYUlZOMHU2QXAzbHJHWWRNUTZZdUN4WkZLYzJTWFAx?= =?utf-8?B?Rmc9PQ==?= X-OriginatorOrg: nutanix.com X-MS-Exchange-CrossTenant-Network-Message-Id: d36c570c-0bf5-43e7-3404-08db34e8dc17 X-MS-Exchange-CrossTenant-AuthSource: BL3PR02MB8217.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2023 08:44:53.5177 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bb047546-786f-4de1-bd75-24e5b6f79043 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QmqTuJdomlhv6RJ9fhizwc7UnizF1oDVjubcoX6tZUNO0St7lq7FFUi9etd2oFqb3DzlA52ACHiuJjT2U1Rvf9cXEr41OFlGSPeZOQfE67k= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR02MB9653 X-Proofpoint-ORIG-GUID: al_-d1Qml2luVfRmd6jsln_bWVJ4b9wb X-Proofpoint-GUID: al_-d1Qml2luVfRmd6jsln_bWVJ4b9wb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-04_02,2023-04-03_03,2023-02-09_01 X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, to summarise, I've heard generally positive feedback from Michal H and some more reserved, but not fundamentally opposed feedback from Michal K. Thanks to both of you. Since there's been no other feedback for the last few days, I'll raise a proper patch, and any potential further discussion can then be done on that. Cheers, Florian