From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 6 16:45:20 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88FB8387 for ; Mon, 6 Jan 2014 16:45:20 +0000 (UTC) Received: from nm3-vm0.bullet.mail.bf1.yahoo.com (nm3-vm0.bullet.mail.bf1.yahoo.com [98.139.212.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2ADCD144C for ; Mon, 6 Jan 2014 16:45:20 +0000 (UTC) Received: from [66.196.81.171] by nm3.bullet.mail.bf1.yahoo.com with NNFMP; 06 Jan 2014 16:39:38 -0000 Received: from [98.139.211.206] by tm17.bullet.mail.bf1.yahoo.com with NNFMP; 06 Jan 2014 16:39:38 -0000 Received: from [127.0.0.1] by smtp215.mail.bf1.yahoo.com with NNFMP; 06 Jan 2014 16:39:38 -0000 X-Yahoo-Newman-Id: 51286.23468.bm@smtp215.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: stIq8o8VM1mWu69qHy08uXrWnOX3vYDnc0822k4E3DXdZan aVIECd7bwQJZXU7NXqeXh0NqLFzqMYB8aFFHaGOUnpwz8ZX2VdvEsa9A1gGB KqnBo0I.dqJM9.ovAKBhdiAvzl0UqjZV4hRTp0L40QTPy.fRy3qu6oh3ogIZ jU6O_rYJ8rG71axxnSkkEI.GRDbVXcSC9gZBSqk0XI17fYmd55GlcBlR9QT4 j0N.MWIngPZmrKkFWCYxAIW3oMRTb557WUUqNAXyOA4myu3vp6q52iyeWB6W BFJH0DMx4.zFdAnobN62DTivoRYYBx2mWU_Uh21nPRXK54evAchJ6Yim2TSE 7Wj16EqunvO2nDWVBrwi52KxfaZyamhvb0yfIbIIGfcI59cup6kTmvAT_o_b JaObRw5AP0rc1JjADUQsE.1kAUOXrL38kLHzErq6YyjXLTZr9xRj.F7Z50jz LeAfUklP5VpoPIeyuIZIZU09ENyp7o37z6aQ9cL9tkqDQtGT0WUOBlorlcqr nFOOyfrlUNwUtn.Z2Lasxyr2JeQpoUXgAjHy_MgiNJIaWFiB38r5D9Qcoa.a sZUuELfZNaYubOHhwpI0VEZtybxiogULchL9eOfyIfjlUN5cOpvGtx6dLkCH P0uxqs65P0NPPXL5MeMbQ0kJnAg1T_O_s6I1Erp5rvgaq02c25cvg1vog2Mx BrwfQRaJuNENTRssiihucjIjcnFJVdA-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf X-Rocket-Received: from [192.168.0.102] (pfg@190.157.126.109 with plain [63.250.193.228]) by smtp215.mail.bf1.yahoo.com with SMTP; 06 Jan 2014 08:39:37 -0800 PST Message-ID: <52CADC46.1060200@FreeBSD.org> Date: Mon, 06 Jan 2014 11:39:34 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Jordan Hubbard Subject: GCD (was Re: svn commit: r260311 - in head/contrib: gcc gcc/cp gcc/doc gcclibs/include gcclibs/libiberty) References: <201401050043.s050hSMI089553@svn.freebsd.org> <20140105124557.5dd8395a@kalimero.tijl.coosemans.org> <52C985C7.9060406@FreeBSD.org> <9B829C42-1218-46F0-B3BF-D491A2F733B9@me.com> In-Reply-To: <9B829C42-1218-46F0-B3BF-D491A2F733B9@me.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: hackers@Freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jan 2014 16:45:20 -0000 (Time to move this thread to a list) On 06.01.2014 09:48, Jordan Hubbard wrote: > > On Jan 5, 2014, at 5:18 PM, Pedro Giffuni > wrote: > >> *Anyone working on a GCD-enabled version of grep or sort? :). > > Look at stdlib/FreeBSD/psort.c in OS X’s Libc > (http://www.opensource.apple.com/release/os-x-109/Libc-997.1.1) - > that’s the basis for the GCD-aware sort. > Ah , yes: http://opensource.apple.com/source/Libc/Libc-997.1.1/stdlib/FreeBSD/ I see some #include and the code is BSD licensed. > I don’t know if we got around to doing grep or not - I’d have to look. :) > Here is a nice video about GCD: http://youtu.be/nhbA9jZyYO4 There are many nice things to do (parallel patch/diff too), and we are one of the two OSs that support it. Pedro.