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 33849C433FE for ; Sat, 8 Jan 2022 22:35:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234957AbiAHWfc (ORCPT ); Sat, 8 Jan 2022 17:35:32 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:33901 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229899AbiAHWfa (ORCPT ); Sat, 8 Jan 2022 17:35:30 -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-273-98gkTIwGNSu2nY5srYZbTQ-1; Sat, 08 Jan 2022 22:35:25 +0000 X-MC-Unique: 98gkTIwGNSu2nY5srYZbTQ-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; Sat, 8 Jan 2022 22:35:24 +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; Sat, 8 Jan 2022 22:35:24 +0000 From: David Laight To: 'Pintu Agarwal' CC: Pintu Kumar , "linux-kernel@vger.kernel.org" , "akpm@linux-foundation.org" , "linux-mm@kvack.org" , "ebiederm@xmission.com" , "christian.brauner@ubuntu.com" , "sfr@canb.auug.org.au" , "legion@kernel.org" , "sashal@kernel.org" , "gorcunov@gmail.com" , "chris.hyser@oracle.com" , "ccross@google.com" , "pcc@google.com" , "dave@stgolabs.net" , "caoxiaofeng@yulong.com" , "david@redhat.com" , "vbabka@suse.cz" , "linux-api@vger.kernel.org" , "dhowells@redhat.com" Subject: RE: [PATCH v2] sysinfo: include availram field in sysinfo struct Thread-Topic: [PATCH v2] sysinfo: include availram field in sysinfo struct Thread-Index: AQHYA/GqnIwLmHPdn0+moS7Mf5DX3axYIclAgAE2xoCAAF134A== Date: Sat, 8 Jan 2022 22:35:24 +0000 Message-ID: <5aa1e8c55cf84436b35ee5557a508e8d@AcuMS.aculab.com> References: <1641483250-18839-1-git-send-email-quic_pintu@quicinc.com> <1641578854-14232-1-git-send-email-quic_pintu@quicinc.com> <19cce51e24584c2a8090b618c580a0bd@AcuMS.aculab.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 RnJvbTogUGludHUgQWdhcndhbA0KPiBTZW50OiAwOCBKYW51YXJ5IDIwMjIgMTY6NTMNCj4gDQo+ IE9uIFNhdCwgOCBKYW4gMjAyMiBhdCAwMzo1MiwgRGF2aWQgTGFpZ2h0IDxEYXZpZC5MYWlnaHRA YWN1bGFiLmNvbT4gd3JvdGU6DQo+ID4NCj4gPiBGcm9tOiBQaW50dSBLdW1hcg0KPiA+ID4gU2Vu dDogMDcgSmFudWFyeSAyMDIyIDE4OjA4DQo+ID4gPg0KPiA+ID4gVGhlIHN5c2luZm8gbWVtYmVy IGRvZXMgbm90IGhhdmUgYW55ICJhdmFpbGFibGUgcmFtIiBmaWVsZCBhbmQNCj4gPiA+IHRoZSBi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