Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C718C433FE for ; Thu, 6 Jan 2022 17:42:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242213AbiAFRmL (ORCPT ); Thu, 6 Jan 2022 12:42:11 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.85.151]:31064 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242165AbiAFRmH (ORCPT ); Thu, 6 Jan 2022 12:42:07 -0500 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-178-0nBXEbIUPNqqgpk94EfVKQ-1; Thu, 06 Jan 2022 17:41:59 +0000 X-MC-Unique: 0nBXEbIUPNqqgpk94EfVKQ-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Thu, 6 Jan 2022 17:41:59 +0000 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.026; Thu, 6 Jan 2022 17:41:59 +0000 From: David Laight To: 'Pintu Agarwal' , Cyrill Gorcunov CC: Pintu Kumar , open list , Andrew Morton , linux-mm , "ebiederm@xmission.com" , "christian.brauner@ubuntu.com" , "sfr@canb.auug.org.au" , "legion@kernel.org" , "sashal@kernel.org" , "chris.hyser@oracle.com" , "ccross@google.com" , "pcc@google.com" , "dave@stgolabs.net" , "caoxiaofeng@yulong.com" , "david@redhat.com" Subject: RE: [PATCH] sysinfo: include availram field in sysinfo struct Thread-Topic: [PATCH] sysinfo: include availram field in sysinfo struct Thread-Index: AQHYAx1/ixjnSb16cEG6DC0DSDaBB6xWQlhg Date: Thu, 6 Jan 2022 17:41:59 +0000 Message-ID: <14316cf852784a32b5214119a9d976cf@AcuMS.aculab.com> References: <1641483250-18839-1-git-send-email-quic_pintu@quicinc.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogUGludHUgQWdhcndhbA0KPiBTZW50OiAwNiBKYW51YXJ5IDIwMjIgMTY6NTANCj4gDQo+ IE9uIFRodSwgNiBKYW4gMjAyMiBhdCAyMTo0MSwgQ3lyaWxsIEdvcmN1bm92IDxnb3JjdW5vdkBn bWFpbC5jb20+IHdyb3RlOg0KPiA+DQo+ID4gT24gVGh1LCBKYW4gMDYsIDIwMjIgYXQgMDk6MDQ6 MTBQTSArMDUzMCwgUGludHUgS3VtYXIgd3JvdGU6DQo+ID4gPiBUaGUgc3lzaW5mbyBtZW1iZXIg ZG9lcyBub3QgaGF2ZSBhbnkgImF2YWlsYWJsZSByYW0iIGZpZWxkIGFuZA0KPiA+ID4gdGhlIGJ1 ZmZlcnJhbSBmaWVsZCBpcyBub3QgbXVjaCBoZWxwZnVsIGVpdGhlciwgdG8gZ2V0IGEgcm91Z2gN Cj4gPiA+IGVzdGltYXRlIG9mIGF2YWlsYWJsZSByYW0gbmVlZGVkIGZvciBhbGxvY2F0aW9uLg0K PiA+ID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