[{"id":1051,"web_url":"http://patchwork.ozlabs.org/comment/1051/","msgid":"<48D1DF78.3000907@sm.sony.co.jp>","list_archive_url":null,"date":"2008-09-18T04:56:24","subject":"Re: [Cbe-oss-dev] [PATCH 07/11 v4]MARS: Remove api argument params\n\tstructs","submitter":{"id":39,"url":"http://patchwork.ozlabs.org/api/people/39/","name":"Kazunori Asayama","email":"asayama@sm.sony.co.jp"},"content":"Yuji Mano wrote:\n> This removes the mars_params and mars_task_params structure previously passed\n> into the mars context and mars task APIs.\n> \n> Parameter arguments are now passed in directly.\n> \n> Signed-off-by: Yuji Mano <yuji.mano@am.sony.com>\n\nAcked-by: Kazunori Asayama <asayama@sm.sony.co.jp>\n\n> \n> ---\n> v4:\n>  - remove num_mpus_max() function and just call spe_cpu_info_get once for each\n>    call to mars_initialize\n> v3:\n>  - revert v2 change and keep num_mpus_max() function but cache the result of\n>    spe_cpu_info_get (so we can use the cached spe count later if needed)\n> v2:\n>  - replace num_mpus_max() with mpu_check() that avoids calling spe_cpu_info_get\n>    multiple times\n> \n>  include/host/mars/mars_context.h |   23 +++----------------\n>  include/host/mars/mars_task.h    |   32 +++++++--------------------\n>  src/host/lib/mars_context.c      |   46 +++++++++++++--------------------------\n>  src/host/lib/mars_task.c         |   34 ++++++++++++----------------\n>  4 files changed, 44 insertions(+), 91 deletions(-)\n>","headers":{"Return-Path":"<cbe-oss-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","cbe-oss-dev@ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","cbe-oss-dev@ozlabs.org"],"Received":["from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id DD176DE006\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 18 Sep 2008 14:56:43 +1000 (EST)","from ms4.sony.co.jp (ms4.Sony.CO.JP [211.125.136.198])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\tby ozlabs.org (Postfix) with ESMTPS id ACF5BDDF02\n\tfor <cbe-oss-dev@ozlabs.org>; Thu, 18 Sep 2008 14:56:34 +1000 (EST)","from mta7.sony.co.jp (mta7.Sony.CO.JP [137.153.71.12])\n\tby ms4.sony.co.jp (R8/Sony) with ESMTP id m8I4uTD1019274\n\tfor <cbe-oss-dev@ozlabs.org>; Thu, 18 Sep 2008 13:56:29 +0900 (JST)","from mta7.sony.co.jp (localhost [127.0.0.1])\n\tby mta7.sony.co.jp (R8/Sony) with ESMTP id m8I4uUTX026879\n\tfor <cbe-oss-dev@ozlabs.org>; Thu, 18 Sep 2008 13:56:30 +0900 (JST)","from ibex.sm.sony.co.jp ([43.4.142.104])\n\tby mta7.sony.co.jp (R8/Sony) with ESMTP id m8I4uTgK026871\n\tfor <cbe-oss-dev@ozlabs.org>; Thu, 18 Sep 2008 13:56:30 +0900 (JST)","from [192.168.99.230] ([43.24.196.155]) (authenticated bits=0)\n\tby ibex.sm.sony.co.jp (8.13.1/8.13.1) with ESMTP id m8I4uRrg019237;\n\tThu, 18 Sep 2008 13:56:28 +0900"],"Message-ID":"<48D1DF78.3000907@sm.sony.co.jp>","Date":"Thu, 18 Sep 2008 13:56:24 +0900","From":"Kazunori Asayama <asayama@sm.sony.co.jp>","User-Agent":"Thunderbird 2.0.0.16 (Windows/20080708)","MIME-Version":"1.0","To":"Yuji Mano <yuji.mano@am.sony.com>","References":"<48C972DF.4080409@am.sony.com> <48D1C27E.4030404@am.sony.com>","In-Reply-To":"<48D1C27E.4030404@am.sony.com>","Cc":"CBE Development <cbe-oss-dev@ozlabs.org>","Subject":"Re: [Cbe-oss-dev] [PATCH 07/11 v4]MARS: Remove api argument params\n\tstructs","X-BeenThere":"cbe-oss-dev@ozlabs.org","X-Mailman-Version":"2.1.11","Precedence":"list","List-Id":"Discussion about Open Source Software for the Cell Broadband Engine\n\t<cbe-oss-dev.ozlabs.org>","List-Unsubscribe":"<https://ozlabs.org/mailman/options/cbe-oss-dev>,\n\t<mailto:cbe-oss-dev-request@ozlabs.org?subject=unsubscribe>","List-Archive":"<http://ozlabs.org/pipermail/cbe-oss-dev>","List-Post":"<mailto:cbe-oss-dev@ozlabs.org>","List-Help":"<mailto:cbe-oss-dev-request@ozlabs.org?subject=help>","List-Subscribe":"<https://ozlabs.org/mailman/listinfo/cbe-oss-dev>,\n\t<mailto:cbe-oss-dev-request@ozlabs.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"cbe-oss-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org","Errors-To":"cbe-oss-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org"}}]