Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755372AbbFSSmt (ORCPT ); Fri, 19 Jun 2015 14:42:49 -0400 Received: from mga09.intel.com ([134.134.136.24]:32091 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752259AbbFSSml convert rfc822-to-8bit (ORCPT ); Fri, 19 Jun 2015 14:42:41 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,644,1427785200"; d="scan'208";a="511064839" From: "Luck, Tony" To: Xishi Qiu CC: Vlastimil Babka , Andrew Morton , "nao.horiguchi@gmail.com" , Yinghai Lu , "H. Peter Anvin" , Thomas Gleixner , "mingo@elte.hu" , Xiexiuqi , Hanjun Guo , Linux MM , LKML Subject: RE: [RFC PATCH 00/12] mm: mirrored memory support for page buddy allocations Thread-Topic: [RFC PATCH 00/12] mm: mirrored memory support for page buddy allocations Thread-Index: AQHQnsX0wbhyfzcGQEKDIvGOcGPNzJ2vStwAgAAGuICAABjOAIACmB+AgABMywCAAD02gIAABSoAgAA84YCAAMoCAIAAqAqA Date: Fri, 19 Jun 2015 18:42:39 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F32A9E82F@ORSMSX114.amr.corp.intel.com> References: <55704A7E.5030507@huawei.com> <557FD5F8.10903@suse.cz> <557FDB9B.1090105@huawei.com> <557FF06A.3020000@suse.cz> <55821D85.3070208@huawei.com> <55825DF0.9090903@suse.cz> <55829149.60807@huawei.com> <5582959E.4080402@suse.cz> <20150618203335.GA3829@agluck-desk.sc.intel.com> <55837224.2090702@huawei.com> In-Reply-To: <55837224.2090702@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 687 Lines: 17 > What's your suggestions? a new zone or a new migratetype? > Maybe add a new zone will change more mm code. I don't understand this code well enough (yet) to make a recommendation. I think our primary concern may not be "how much code we change", but more "how can we minimize the run-time impact on systems that don't have any mirrored memory. Just putting all the heavy work behind a CONFIG option isn't sufficient ... we want enterprise distributions to ship with the option turned on ... even though most machines won't be using this feature. -Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/