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 4050DC433FE for ; Fri, 7 Jan 2022 22:18:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231139AbiAGWSh (ORCPT ); Fri, 7 Jan 2022 17:18:37 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:41302 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230355AbiAGWSe (ORCPT ); Fri, 7 Jan 2022 17:18:34 -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-309-9B2oZdVrNoiElpUy5pZb3A-1; Fri, 07 Jan 2022 22:18:31 +0000 X-MC-Unique: 9B2oZdVrNoiElpUy5pZb3A-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; Fri, 7 Jan 2022 22:18:30 +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; Fri, 7 Jan 2022 22:18:30 +0000 From: David Laight To: 'Vlastimil Babka' , Pintu Agarwal , Christian Brauner CC: Cyrill Gorcunov , Pintu Kumar , open list , "Andrew Morton" , linux-mm , "ebiederm@xmission.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" , Linux API Subject: RE: [PATCH] sysinfo: include availram field in sysinfo struct Thread-Topic: [PATCH] sysinfo: include availram field in sysinfo struct Thread-Index: AQHYA+fIixjnSb16cEG6DC0DSDaBB6xYIBog Date: Fri, 7 Jan 2022 22:18:30 +0000 Message-ID: References: <1641483250-18839-1-git-send-email-quic_pintu@quicinc.com> <20220107120451.z2eqru2tm5mlhla3@wittgenstein> <91d662f1-baf6-1114-f237-a66ebc164009@suse.cz> In-Reply-To: <91d662f1-baf6-1114-f237-a66ebc164009@suse.cz> 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 PiA+IFRoZXNlIGFyZSB0aGUgaGVhZGVyIGNoYW5nZXMgZm9yIHF1aWNrIGxvb2s6DQo+ID4ge3t7 DQo+ID4gZGlmZiAtLWdpdCBhL2luY2x1ZGUvdWFwaS9saW51eC9zeXNpbmZvLmggYi9pbmNsdWRl L3VhcGkvbGludXgvc3lzaW5mby5oDQo+ID4gaW5kZXggNmU3N2U5MC4uZmU4NGM2YSAxMDA2NDQN Cj4gPiAtLS0gYS9pbmNsdWRlL3VhcGkvbGludXgvc3lzaW5mby5oDQo+ID4gKysrIGIvaW5jbHVk ZS91YXBpL2xpbnV4L3N5c2luZm8uaA0KPiA+IEBAIC0xMiw3ICsxMiw2IEBAIHN0cnVjdCBzeXNp bmZvIHsNCj4gPiAgICAgICAgIF9fa2VybmVsX3Vsb25nX3QgZnJlZXJhbTsgICAgICAgLyogQXZh aWxhYmxlIG1lbW9yeSBzaXplICov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