From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hajime Tazaki Subject: Re: [RFC PATCH 00/11] an introduction of library operating system for Linux (LibOS) Date: Fri, 03 Apr 2015 10:43:55 +0900 Message-ID: References: <1427202642-1716-1-git-send-email-tazaki@sfc.wide.ad.jp> <551164ED.5000907@nod.at> <55117565.6080002@nod.at> <55118277.5070909@nod.at> <55133BAF.30301@nod.at> <5514560A.7040707@nod.at> <55152137.20405@nod.at> <87iodgocu4.fsf@rustcorp.com.au> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <87iodgocu4.fsf@rustcorp.com.au> Sender: owner-linux-mm@kvack.org To: rusty@rustcorp.com.au Cc: richard@nod.at, linux-arch@vger.kernel.org, arnd@arndb.de, corbet@lwn.net, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, netdev@vger.kernel.org, linux-mm@kvack.org, jdike@addtoit.com, mathieu.lacage@gmail.com List-Id: linux-arch.vger.kernel.org Thanks Rusty, At Wed, 01 Apr 2015 11:59:39 +1030, Rusty Russell wrote: > > Hajime Tazaki writes: > > the issue here is the decision between 'no-ops' and > > 'assert(false)' depends on the context. an auto-generated > > mechanism needs some hand-written parameters I think. > > Yes, I used auto-generated (fprintf, abort) stubs for similar testing in > pettycoin, where if it failed to link it would generate such stubs > for undefined symbols. > > It's not a panacea, but it helps speed up rejiggin after code changes. > Generating noop stubs can actually make that process slower, as you can > get failures because you now need to do something in that stub. is it the following ? it's really cool stuff ! https://github.com/rustyrussell/pettycoin/blob/master/test/mockup.sh -- Hajime -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shonan.sfc.wide.ad.jp ([203.178.142.130]:57933 "EHLO mail.sfc.wide.ad.jp" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753847AbbDCBn7 (ORCPT ); Thu, 2 Apr 2015 21:43:59 -0400 Date: Fri, 03 Apr 2015 10:43:55 +0900 Message-ID: From: Hajime Tazaki Subject: Re: [RFC PATCH 00/11] an introduction of library operating system for Linux (LibOS) In-Reply-To: <87iodgocu4.fsf@rustcorp.com.au> References: <1427202642-1716-1-git-send-email-tazaki@sfc.wide.ad.jp> <551164ED.5000907@nod.at> <55117565.6080002@nod.at> <55118277.5070909@nod.at> <55133BAF.30301@nod.at> <5514560A.7040707@nod.at> <55152137.20405@nod.at> <87iodgocu4.fsf@rustcorp.com.au> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-arch-owner@vger.kernel.org List-ID: To: rusty@rustcorp.com.au Cc: richard@nod.at, linux-arch@vger.kernel.org, arnd@arndb.de, corbet@lwn.net, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, netdev@vger.kernel.org, linux-mm@kvack.org, jdike@addtoit.com, mathieu.lacage@gmail.com Message-ID: <20150403014355.fNvwjBEzePcIv_tY035lqLsgvZbcIFRq0uHL2ON3rM4@z> Thanks Rusty, At Wed, 01 Apr 2015 11:59:39 +1030, Rusty Russell wrote: > > Hajime Tazaki writes: > > the issue here is the decision between 'no-ops' and > > 'assert(false)' depends on the context. an auto-generated > > mechanism needs some hand-written parameters I think. > > Yes, I used auto-generated (fprintf, abort) stubs for similar testing in > pettycoin, where if it failed to link it would generate such stubs > for undefined symbols. > > It's not a panacea, but it helps speed up rejiggin after code changes. > Generating noop stubs can actually make that process slower, as you can > get failures because you now need to do something in that stub. is it the following ? it's really cool stuff ! https://github.com/rustyrussell/pettycoin/blob/master/test/mockup.sh -- Hajime