Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756005Ab0LHSQw (ORCPT ); Wed, 8 Dec 2010 13:16:52 -0500 Received: from mail-pv0-f174.google.com ([74.125.83.174]:42272 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755502Ab0LHSQu (ORCPT ); Wed, 8 Dec 2010 13:16:50 -0500 Date: Wed, 8 Dec 2010 11:16:44 -0700 From: Eric B Munson To: Shaohui Zheng Cc: shaohui.zheng@intel.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, haicheng.li@linux.intel.com, lethal@linux-sh.org, ak@linux.intel.com, rientjes@google.com, dave@linux.vnet.ibm.com, gregkh@suse.de, Haicheng Li Subject: Re: [1/7,v8] NUMA Hotplug Emulator: documentation Message-ID: <20101208181644.GA2152@mgebm.net> References: <20101207010033.280301752@intel.com> <20101207010139.681125359@intel.com> <20101207182420.GA2038@mgebm.net> <20101207232000.GA5353@shaohui> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <20101207232000.GA5353@shaohui> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2445 Lines: 83 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Shaohui, I was able to online a cpu to node 0 successfully. My problem was that I d= id not take the cpu offline before I released it. Everything looks to be work= ing for me. Thanks for your help, Eric On Wed, 08 Dec 2010, Shaohui Zheng wrote: > On Tue, Dec 07, 2010 at 11:24:20AM -0700, Eric B Munson wrote: > > Shaohui, > >=20 > > The documentation patch seems to be stale, it needs to be updated to ma= tch the > > new file names. > >=20 > Eric, > the major change on the patchset is on the interface, for the v8 emulato= r, > we accept David's per-node debugfs add_memory interface, we already inclu= ded > in the documentation patch. the change is very small, so it is not obviou= s. >=20 > This is the change on the documentation compare with v7: > +3) Memory hotplug emulation: > + > +The emulator reserves memory before OS boots, the reserved memory region= is > +removed from e820 table. Each online node has an add_memory interface, a= nd > +memory can be hot-added via the per-ndoe add_memory debugfs interface. > + > +The difficulty of Memory Release is well-known, we have no plan for it u= ntil > +now. > + > + - reserve memory thru a kernel boot paramter > + mem=3D1024m > + > + - add a memory section to node 3 > + # echo 0x40000000 > mem_hotplug/node3/add_memory > + OR > + # echo 1024m > mem_hotplug/node3/add_memory > + >=20 > --=20 > Thanks & Regards, > Shaohui >=20 --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBAgAGBQJM/8uMAAoJEH65iIruGRnNYS8IAK4GQMrZXfwz5nmtvFrBpbfj VAqUR67okBDzpKM1z3RHnueQNQFOByV29zH+b0rk1R3q1kk6BHoIui1gGBE/W/rF gIVM+ozPYtPKnf9ogjivgqlu5nXh8E5e6TkSvLheO8idr3UgqE0jmb1bOQ3ZI0Hy Gf3w2pWTJQDOgTJGQspOdEGaW322h/qDpLnizDA6aL0PFKuxPWwTdW7jS7jfhpxp SpeY/paJFe8fZuxjI49IWx+GMTH0PvMhYprMqswMWT2CTqlT094jg0iy3sF2C+Bv 2S07qou0e6v3b8OMnGWXEGZwiwMxfpQJWwR6kuBEg9hJxi8ruusRN8K1J9L9XN8= =AHrM -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/