From: Andy Lutomirski Subject: Re: [Lsf] [PATCH] xfstests-bld: Simplify determination of number of CPUs in build-all Date: Thu, 3 Apr 2014 10:05:26 -0700 Message-ID: References: <1395997399-3000-1-git-send-email-sedat.dilek@gmail.com> <20140328161806.GA31772@thunk.org> <20140331025148.GF16336@dastard> <20140401023711.GE4911@thunk.org> <20140401222823.GJ17603@dastard> <20140402142620.GA6901@thunk.org> <20140403011411.GL16336@dastard> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Cc: Theodore Ts'o , xfs@oss.sgi.com, lsf@lists.linux-foundation.org, Linux FS Devel , Sedat Dilek , "linux-ext4@vger.kernel.org" To: =?ISO-8859-2?Q?Luk=E1=B9_Czerner?= Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com List-Id: linux-ext4.vger.kernel.org T24gVGh1LCBBcHIgMywgMjAxNCBhdCAzOjI2IEFNLCBMdWvDocWhIEN6ZXJuZXIgPGxjemVybmVy QHJlZGhhdC5jb20+IHdyb3RlOgo+IE9uIFRodSwgMyBBcHIgMjAxNCwgRGF2ZSBDaGlubmVyIHdy b3RlOgo+Cj4+IERhdGU6IFRodSwgMyBBcHIgMjAxNCAxMjoxNDoxMSArMTEwMAo+PiBGcm9tOiBE YXZlIENoaW5uZXIgPGRhdmlkQGZyb21vcmJpdC5jb20+Cj4+IFRvOiBUaGVvZG9yZSBUcydvIDx0 eXRzb0BtaXQuZWR1Pgo+PiBDYzogU2VkYXQgRGlsZWsgPHNlZGF0LmRpbGVrQGdtYWlsLmNvbT4s IGxzZkBsaXN0cy5saW51eC1mb3VuZGF0aW9uLm9yZywKPj4gICAgIGxpbnV4LWV4dDRAdmdlci5r ZXJuZWwub3JnLCBsaW51eC1mc2RldmVsQHZnZXIua2VybmVsLm9yZywgeGZzQG9zcy5zZ2kuY29t Cj4+IFN1YmplY3Q6IFJ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