From owner-freebsd-arch@FreeBSD.ORG Mon May 17 06:49:09 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E1DD106564A; Mon, 17 May 2010 06:49:09 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2001:4dd0:ff41::b23f:aa]) by mx1.freebsd.org (Postfix) with ESMTP id 306BC8FC0A; Mon, 17 May 2010 06:49:09 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 2BA6C2A28CB5; Mon, 17 May 2010 08:49:08 +0200 (CEST) Date: Mon, 17 May 2010 08:49:08 +0200 From: Ed Schouten To: Doug Barton Message-ID: <20100517064908.GX56080@hoeg.nl> References: <20100514152408.GN56080@hoeg.nl> <4BEEE8A9.7020303@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/MY3p9q5RkoZ3ws+" Content-Disposition: inline In-Reply-To: <4BEEE8A9.7020303@FreeBSD.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Arch Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 06:49:09 -0000 --/MY3p9q5RkoZ3ws+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Doug, Sorry for the delay, but I was on my way back from Ottawa. * Doug Barton wrote: > I was hoping someone else would bring this up, but no one has so here > goes. There seems to be a whole little sub-hierarchy under > usr.bin/clang, including the lib stuff you mentioned above. Is this > necessary for some reason, or could the bmake bits be placed in their > normal locations in the tree before the project is imported? Well, I do agree the directory naming isn't perfect, but at least it is stored in such a way that it doesn't spread out too much across the tree. Things would get a real mess if we used directories like lib/libclangast. If someone can think of a better directory naming scheme, be sure to let me know. Greetings, --=20 Ed Schouten WWW: http://80386.nl/ --/MY3p9q5RkoZ3ws+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkvw5uQACgkQ52SDGA2eCwUNBgCfXPAw2TMjp/pjHr0uAIBx1E/2 U6MAn2HUH29JP32JySISn1mdB4jUmzLw =TZyB -----END PGP SIGNATURE----- --/MY3p9q5RkoZ3ws+-- From owner-freebsd-arch@FreeBSD.ORG Mon May 17 09:14:01 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0CA6106566B; Mon, 17 May 2010 09:14:01 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 411D48FC0A; Mon, 17 May 2010 09:14:00 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o4H9E8Z7081450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 May 2010 12:14:08 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o4H9DtFW075623; Mon, 17 May 2010 12:13:55 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o4H9Dt12075622; Mon, 17 May 2010 12:13:55 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 17 May 2010 12:13:54 +0300 From: Kostik Belousov To: Ed Schouten Message-ID: <20100517091354.GE83316@deviant.kiev.zoral.com.ua> References: <20100514152408.GN56080@hoeg.nl> <4BEEE8A9.7020303@FreeBSD.org> <20100517064908.GX56080@hoeg.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Jm4NjHtWXfjOIegD" Content-Disposition: inline In-Reply-To: <20100517064908.GX56080@hoeg.nl> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: FreeBSD Arch , Doug Barton Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 09:14:02 -0000 --Jm4NjHtWXfjOIegD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 17, 2010 at 08:49:08AM +0200, Ed Schouten wrote: > Hello Doug, >=20 > Sorry for the delay, but I was on my way back from Ottawa. >=20 > * Doug Barton wrote: > > I was hoping someone else would bring this up, but no one has so here > > goes. There seems to be a whole little sub-hierarchy under > > usr.bin/clang, including the lib stuff you mentioned above. Is this > > necessary for some reason, or could the bmake bits be placed in their > > normal locations in the tree before the project is imported? >=20 > Well, I do agree the directory naming isn't perfect, but at least it is > stored in such a way that it doesn't spread out too much across the > tree. Things would get a real mess if we used directories like > lib/libclangast. >=20 > If someone can think of a better directory naming scheme, be sure to let > me know. lib/clang/..., as it is done for bind ? --Jm4NjHtWXfjOIegD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkvxCNIACgkQC3+MBN1Mb4hNBQCgppgE19nYV5i2stcHManbDP7T NYsAn1XRyg6/v+1+keVCAMKD7bceAiaK =5nLK -----END PGP SIGNATURE----- --Jm4NjHtWXfjOIegD-- From owner-freebsd-arch@FreeBSD.ORG Mon May 17 09:26:29 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB32B106564A; Mon, 17 May 2010 09:26:29 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2001:4dd0:ff41::b23f:aa]) by mx1.freebsd.org (Postfix) with ESMTP id AB4088FC14; Mon, 17 May 2010 09:26:29 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 57B002A28CB6; Mon, 17 May 2010 11:26:28 +0200 (CEST) Date: Mon, 17 May 2010 11:26:28 +0200 From: Ed Schouten To: Kostik Belousov Message-ID: <20100517092628.GC56080@hoeg.nl> References: <20100514152408.GN56080@hoeg.nl> <4BEEE8A9.7020303@FreeBSD.org> <20100517064908.GX56080@hoeg.nl> <20100517091354.GE83316@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Rv5sqxueBXCmI1hw" Content-Disposition: inline In-Reply-To: <20100517091354.GE83316@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Arch , Doug Barton Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 09:26:30 -0000 --Rv5sqxueBXCmI1hw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Kostik Belousov wrote: > lib/clang/..., as it is done for bind ? So I guess that would lead to the following directory structure? - lib/clang/libclang.../ - lib/clang/libllvm.../ - usr.bin/clang/clang/ - usr.bin/clang/tblgen/ Sounds fine by me, but then I'm still not sure where I should place the include/ directory, which contains an overlay of header files used by LLVM/Clang sources. --=20 Ed Schouten WWW: http://80386.nl/ --Rv5sqxueBXCmI1hw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkvxC8QACgkQ52SDGA2eCwX0bwCfTdxpa5dgL+D6Q0p5mruxLZyA pXkAn0C6MfgNvpR9RC57U2OLQanC3sH8 =xH5Q -----END PGP SIGNATURE----- --Rv5sqxueBXCmI1hw-- From owner-freebsd-arch@FreeBSD.ORG Mon May 17 10:21:05 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1A681065678; Mon, 17 May 2010 10:21:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 38D388FC1C; Mon, 17 May 2010 10:21:04 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o4HALDlm087231 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 May 2010 13:21:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o4HAKxVe095160; Mon, 17 May 2010 13:20:59 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o4HAKxDs095159; Mon, 17 May 2010 13:20:59 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 17 May 2010 13:20:59 +0300 From: Kostik Belousov To: Ed Schouten Message-ID: <20100517102059.GH83316@deviant.kiev.zoral.com.ua> References: <20100514152408.GN56080@hoeg.nl> <4BEEE8A9.7020303@FreeBSD.org> <20100517064908.GX56080@hoeg.nl> <20100517091354.GE83316@deviant.kiev.zoral.com.ua> <20100517092628.GC56080@hoeg.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M8BZqbl6q5NSES+8" Content-Disposition: inline In-Reply-To: <20100517092628.GC56080@hoeg.nl> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: FreeBSD Arch , Doug Barton Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 10:21:05 -0000 --M8BZqbl6q5NSES+8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 17, 2010 at 11:26:28AM +0200, Ed Schouten wrote: > * Kostik Belousov wrote: > > lib/clang/..., as it is done for bind ? >=20 > So I guess that would lead to the following directory structure? >=20 > - lib/clang/libclang.../ > - lib/clang/libllvm.../ > - usr.bin/clang/clang/ > - usr.bin/clang/tblgen/ >=20 > Sounds fine by me, but then I'm still not sure where I should place the > include/ directory, which contains an overlay of header files used by > LLVM/Clang sources. Is it used only for clang build ? Anyway, lib/clang/include sounds not bad. --M8BZqbl6q5NSES+8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkvxGIsACgkQC3+MBN1Mb4iT4QCggJ3ofW0tND1w5TkCXEiLydym Cl8AnA8rvArOB8MsTRzhVAcsCusOEyLx =nuJt -----END PGP SIGNATURE----- --M8BZqbl6q5NSES+8-- From owner-freebsd-arch@FreeBSD.ORG Mon May 17 10:23:58 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1D0D1065672; Mon, 17 May 2010 10:23:58 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2001:4dd0:ff41::b23f:aa]) by mx1.freebsd.org (Postfix) with ESMTP id 90AB58FC08; Mon, 17 May 2010 10:23:58 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id AA9972A28CB5; Mon, 17 May 2010 12:23:57 +0200 (CEST) Date: Mon, 17 May 2010 12:23:57 +0200 From: Ed Schouten To: Kostik Belousov Message-ID: <20100517102357.GD56080@hoeg.nl> References: <20100514152408.GN56080@hoeg.nl> <4BEEE8A9.7020303@FreeBSD.org> <20100517064908.GX56080@hoeg.nl> <20100517091354.GE83316@deviant.kiev.zoral.com.ua> <20100517092628.GC56080@hoeg.nl> <20100517102059.GH83316@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eD1KVi74e9DkTLEy" Content-Disposition: inline In-Reply-To: <20100517102059.GH83316@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Arch , Doug Barton Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 10:23:58 -0000 --eD1KVi74e9DkTLEy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Kostik Belousov wrote: > Is it used only for clang build ? Yes. > Anyway, lib/clang/include sounds not bad. Okay. Will change it to use these pathnames before the import. Thanks for your input! --=20 Ed Schouten WWW: http://80386.nl/ --eD1KVi74e9DkTLEy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkvxGT0ACgkQ52SDGA2eCwVjigCfbEXV8EZhaXQiPUoNr6bM4pDS o58An0SVYeX4lyvyF1UPL91ElP/goAjN =3C68 -----END PGP SIGNATURE----- --eD1KVi74e9DkTLEy-- From owner-freebsd-arch@FreeBSD.ORG Mon May 17 11:06:54 2010 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 101671065675 for ; Mon, 17 May 2010 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D921B8FC12 for ; Mon, 17 May 2010 11:06:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4HB6rG4015667 for ; Mon, 17 May 2010 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4HB6rX4015662 for freebsd-arch@FreeBSD.org; Mon, 17 May 2010 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 May 2010 11:06:53 GMT Message-Id: <201005171106.o4HB6rX4015662@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arch@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-arch@FreeBSD.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 11:06:54 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/120749 arch [request] Suggest upping the default kern.ps_arg_cache 1 problem total. From owner-freebsd-arch@FreeBSD.ORG Mon May 17 12:12:54 2010 Return-Path: Delivered-To: freebsd-arch@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E66941065674; Mon, 17 May 2010 12:12:54 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BE5148FC08; Mon, 17 May 2010 12:12:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4HCCsHQ080780; Mon, 17 May 2010 12:12:54 GMT (envelope-from trasz@freefall.freebsd.org) Received: (from trasz@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4HCCsmW080776; Mon, 17 May 2010 12:12:54 GMT (envelope-from trasz) Date: Mon, 17 May 2010 12:12:54 GMT Message-Id: <201005171212.o4HCCsmW080776@freefall.freebsd.org> To: trasz@FreeBSD.org, freebsd-arch@FreeBSD.org, freebsd-bugs@FreeBSD.org From: trasz@FreeBSD.org Cc: Subject: Re: kern/120749: [request] Suggest upping the default kern.ps_arg_cache_limit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 12:12:55 -0000 Synopsis: [request] Suggest upping the default kern.ps_arg_cache_limit Responsible-Changed-From-To: freebsd-arch->freebsd-bugs@FreeBSD.org Responsible-Changed-By: trasz Responsible-Changed-When: Mon May 17 12:11:08 UTC 2010 Responsible-Changed-Why: Deassign; mail to arch@ every month is annoying. http://www.freebsd.org/cgi/query-pr.cgi?pr=120749 From owner-freebsd-arch@FreeBSD.ORG Mon May 17 13:03:04 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 205C5106564A; Mon, 17 May 2010 13:03:04 +0000 (UTC) (envelope-from jille@quis.cx) Received: from mulgore.hexon-is.nl (mulgore.hexon-is.nl [82.94.237.14]) by mx1.freebsd.org (Postfix) with ESMTP id AB4C48FC16; Mon, 17 May 2010 13:03:03 +0000 (UTC) Received: from adidas.hexon-nijmegen.nl (gw.hexon-nijmegen.nl [82.93.241.107]) by mulgore.hexon-is.nl (8.14.3/8.14.3) with ESMTP id o4HCW8Ap017346; Mon, 17 May 2010 14:32:09 +0200 Received: from [10.0.0.142] (HENK.hexon-nijmegen.nl [10.0.0.142]) by adidas.hexon-nijmegen.nl (8.14.3/8.14.3) with ESMTP id o4HCW8cR011443; Mon, 17 May 2010 14:32:08 +0200 Message-ID: <4BF13743.8030503@quis.cx> Date: Mon, 17 May 2010 14:32:03 +0200 From: Jille Timmermans User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-arch@freebsd.org References: <201005171212.o4HCCsmW080776@freefall.freebsd.org> In-Reply-To: <201005171212.o4HCCsmW080776@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Hexon-MailScanner-Information: Please contact the ISP for more information X-Hexon-MailScanner-ID: o4HCW8Ap017346 X-Hexon-MailScanner: Found to be clean X-Hexon-MailScanner-From: jille@quis.cx X-Hexon-MailScanner-Watermark: 1274704329.48911@saVWKUjUkDF40rt0UPeLhQ Cc: trasz@freebsd.org, bug-followup@freebsd.org Subject: Re: kern/120749: [request] Suggest upping the default kern.ps_arg_cache_limit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 13:03:04 -0000 Can't we better start a discussion about this? If we deassign it we will be quite sure it will remain there forever. I don't think it is really usefull as it is already adjustable by `sysctl kern.ps_arg_cache_limit=1024` and nobody really seems to care. -- Jille Ps, I have not looked back in the archives whether this was already discussed; as there was no followup and I'm lazy. Op 17-5-2010 14:12, trasz@freebsd.org schreef: > Synopsis: [request] Suggest upping the default kern.ps_arg_cache_limit > > Responsible-Changed-From-To: freebsd-arch->freebsd-bugs@FreeBSD.org > Responsible-Changed-By: trasz > Responsible-Changed-When: Mon May 17 12:11:08 UTC 2010 > Responsible-Changed-Why: > Deassign; mail to arch@ every month is annoying. > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=120749 > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" From owner-freebsd-arch@FreeBSD.ORG Mon May 17 14:40:52 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67F0F106566B; Mon, 17 May 2010 14:40:52 +0000 (UTC) (envelope-from lists@mawer.org) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 42E2D8FC27; Mon, 17 May 2010 14:40:51 +0000 (UTC) Received: by pxi7 with SMTP id 7so1269349pxi.13 for ; Mon, 17 May 2010 07:40:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.101.16 with SMTP id d16mr3684267rvm.169.1274103450727; Mon, 17 May 2010 06:37:30 -0700 (PDT) Received: by 10.140.207.2 with HTTP; Mon, 17 May 2010 06:37:30 -0700 (PDT) In-Reply-To: <4BF13743.8030503@quis.cx> References: <201005171212.o4HCCsmW080776@freefall.freebsd.org> <4BF13743.8030503@quis.cx> Date: Mon, 17 May 2010 23:37:30 +1000 Message-ID: From: Antony Mawer To: Jille Timmermans Content-Type: text/plain; charset=ISO-8859-1 Cc: trasz@freebsd.org, bug-followup@freebsd.org, freebsd-arch@freebsd.org Subject: Re: kern/120749: [request] Suggest upping the default kern.ps_arg_cache_limit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 14:40:52 -0000 There was some recent comments that suggested this was beneficial with various Tomcat/Java applications, which otherwise experienced their command lines being truncated in the rc.d script for tomcat. What is the trade of increasing this - increased memory usage? -- Antony On Mon, May 17, 2010 at 10:32 PM, Jille Timmermans wrote: > Can't we better start a discussion about this? > If we deassign it we will be quite sure it will remain there forever. > > I don't think it is really usefull as it is already adjustable by `sysctl > kern.ps_arg_cache_limit=1024` and nobody really seems to care. > > > -- Jille > Ps, I have not looked back in the archives whether this was already > discussed; as there was no followup and I'm lazy. > > Op 17-5-2010 14:12, trasz@freebsd.org schreef: >> >> Synopsis: [request] Suggest upping the default kern.ps_arg_cache_limit >> >> Responsible-Changed-From-To: freebsd-arch->freebsd-bugs@FreeBSD.org >> Responsible-Changed-By: trasz >> Responsible-Changed-When: Mon May 17 12:11:08 UTC 2010 >> Responsible-Changed-Why: >> Deassign; mail to arch@ every month is annoying. >> >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=120749 >> _______________________________________________ >> freebsd-arch@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-arch >> To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > From owner-freebsd-arch@FreeBSD.ORG Mon May 17 21:21:24 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 070BE1065676 for ; Mon, 17 May 2010 21:21:24 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 946298FC12 for ; Mon, 17 May 2010 21:21:23 +0000 (UTC) Received: (qmail 19856 invoked by uid 399); 17 May 2010 21:21:22 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 17 May 2010 21:21:22 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BF1B352.4030306@FreeBSD.org> Date: Mon, 17 May 2010 14:21:22 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Ed Schouten References: <20100514152408.GN56080@hoeg.nl> <4BEEE8A9.7020303@FreeBSD.org> <20100517064908.GX56080@hoeg.nl> <20100517091354.GE83316@deviant.kiev.zoral.com.ua> <20100517092628.GC56080@hoeg.nl> In-Reply-To: <20100517092628.GC56080@hoeg.nl> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , FreeBSD Arch Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 21:21:24 -0000 On 05/17/10 02:26, Ed Schouten wrote: > * Kostik Belousov wrote: >> lib/clang/..., as it is done for bind ? > > So I guess that would lead to the following directory structure? > > - lib/clang/libclang.../ > - lib/clang/libllvm.../ Yes. > - usr.bin/clang/clang/ > - usr.bin/clang/tblgen/ I don't think we have any hierarchies like this in the tree currently. I would vote for just usr.bin/clang, usr.bin/tblgen, etc. How many binaries are we talking about? > Sounds fine by me, but then I'm still not sure where I should place the > include/ directory, which contains an overlay of header files used by > LLVM/Clang sources. I agree with the previous poster that lib/clang/include sounds reasonable. In any case, thanks for taking a look at this. :) hth, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-arch@FreeBSD.ORG Mon May 17 22:00:14 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E6741065675 for ; Mon, 17 May 2010 22:00:14 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id A6A8C8FC1C for ; Mon, 17 May 2010 22:00:12 +0000 (UTC) Received: from vampire.homelinux.org (dslb-088-064-177-165.pools.arcor-ip.net [88.64.177.165]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0M7nzI-1NIqsL3WYi-00vQp6; Tue, 18 May 2010 00:00:09 +0200 Received: (qmail 35239 invoked from network); 17 May 2010 22:00:09 -0000 Received: from f8x64.laiers.local (192.168.4.188) by router.laiers.local with SMTP; 17 May 2010 22:00:09 -0000 From: Max Laier Organization: FreeBSD To: freebsd-arch@freebsd.org Date: Tue, 18 May 2010 00:00:08 +0200 User-Agent: KMail/1.13.3 (FreeBSD/8.0-RELEASE-p2; KDE/4.4.3; amd64; ; ) References: <20100514152408.GN56080@hoeg.nl> <20100517092628.GC56080@hoeg.nl> <4BF1B352.4030306@FreeBSD.org> In-Reply-To: <4BF1B352.4030306@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005180000.08299.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1/XrN9OC/3U09MmzLB/e+oMys2dhIZUE7bXtJg gAfPZMi2vsZz57i9EmwCUl3NRAKDd66BnxZaoP5R+uadkLTI8s /BrjOnwM8a0Invb3c2i8w== Cc: Kostik Belousov , Ed Schouten , Doug Barton Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 22:00:14 -0000 On Monday 17 May 2010 23:21:22 Doug Barton wrote: > On 05/17/10 02:26, Ed Schouten wrote: > > * Kostik Belousov wrote: > >> lib/clang/..., as it is done for bind ? > > > > So I guess that would lead to the following directory structure? > > > > - lib/clang/libclang.../ > > - lib/clang/libllvm.../ > > Yes. > > > - usr.bin/clang/clang/ > > - usr.bin/clang/tblgen/ > > I don't think we have any hierarchies like this in the tree currently. we do - e.g. usr.bin/bsdiff/{bsdiff,bspatch} and usr.sbin/acpi/* I can see that the latter makes sense, but the former doesn't make immediate sense to me. From my POV clang is more like acpi in this regard - at least for the moment. > I would vote for just usr.bin/clang, usr.bin/tblgen, etc. How many > binaries are we talking about? I can see the argument for grouping clang stuff together as it probably uses a good amount of common Makefile definitions etc. In addition, as we keep this as an option for the moment, having it confined as much as possible makes it easy to disable/enable and allows to localize changes to the lot. -- Max From owner-freebsd-arch@FreeBSD.ORG Mon May 17 22:07:05 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF0F11065673 for ; Mon, 17 May 2010 22:07:05 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 614C58FC15 for ; Mon, 17 May 2010 22:07:05 +0000 (UTC) Received: (qmail 22186 invoked by uid 399); 17 May 2010 22:07:04 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 17 May 2010 22:07:04 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BF1BE06.3050008@FreeBSD.org> Date: Mon, 17 May 2010 15:07:02 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Max Laier References: <20100514152408.GN56080@hoeg.nl> <20100517092628.GC56080@hoeg.nl> <4BF1B352.4030306@FreeBSD.org> <201005180000.08299.max@love2party.net> In-Reply-To: <201005180000.08299.max@love2party.net> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , Ed Schouten , freebsd-arch@freebsd.org Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 22:07:05 -0000 On 05/17/10 15:00, Max Laier wrote: > On Monday 17 May 2010 23:21:22 Doug Barton wrote: >> On 05/17/10 02:26, Ed Schouten wrote: >>> * Kostik Belousov wrote: >>>> lib/clang/..., as it is done for bind ? >>> >>> So I guess that would lead to the following directory structure? >>> >>> - lib/clang/libclang.../ >>> - lib/clang/libllvm.../ >> >> Yes. >> >>> - usr.bin/clang/clang/ >>> - usr.bin/clang/tblgen/ >> >> I don't think we have any hierarchies like this in the tree currently. > > we do - e.g. usr.bin/bsdiff/{bsdiff,bspatch} and usr.sbin/acpi/* I can see > that the latter makes sense, but the former doesn't make immediate sense to > me. From my POV clang is more like acpi in this regard - at least for the > moment. Sorry I wasn't clear ... there are a few hierarchies for things that share common code (add usr.sbin/pkg_install to the list) but I didn't think that was the case here. If I'm wrong, sorry for the misinformation. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-arch@FreeBSD.ORG Tue May 18 07:38:38 2010 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91072106566B; Tue, 18 May 2010 07:38:38 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 495188FC12; Tue, 18 May 2010 07:38:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id AF7959CB0F6; Tue, 18 May 2010 09:35:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31lwOHNC66yk; Tue, 18 May 2010 09:35:27 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 23F329CB140; Tue, 18 May 2010 09:35:27 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o4I7ZQFP096985; Tue, 18 May 2010 09:35:26 +0200 (CEST) (envelope-from rdivacky) Date: Tue, 18 May 2010 09:35:26 +0200 From: Roman Divacky To: Doug Barton Message-ID: <20100518073526.GA96818@freebsd.org> References: <20100514152408.GN56080@hoeg.nl> <4BEEE8A9.7020303@FreeBSD.org> <20100517064908.GX56080@hoeg.nl> <20100517091354.GE83316@deviant.kiev.zoral.com.ua> <20100517092628.GC56080@hoeg.nl> <4BF1B352.4030306@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BF1B352.4030306@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: Kostik Belousov , Ed Schouten , FreeBSD Arch Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 07:38:38 -0000 On Mon, May 17, 2010 at 02:21:22PM -0700, Doug Barton wrote: > On 05/17/10 02:26, Ed Schouten wrote: > > * Kostik Belousov wrote: > >> lib/clang/..., as it is done for bind ? > > > > So I guess that would lead to the following directory structure? > > > > - lib/clang/libclang.../ > > - lib/clang/libllvm.../ > > Yes. > > > - usr.bin/clang/clang/ > > - usr.bin/clang/tblgen/ > > I don't think we have any hierarchies like this in the tree currently. I > would vote for just usr.bin/clang, usr.bin/tblgen, etc. How many > binaries are we talking about? two now (clang and tblgen) with one more coming soon (llvm-mc/as) From owner-freebsd-arch@FreeBSD.ORG Tue May 18 19:13:11 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF3711065672 for ; Tue, 18 May 2010 19:13:11 +0000 (UTC) (envelope-from vsoldatov@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 63B018FC1E for ; Tue, 18 May 2010 19:13:11 +0000 (UTC) Received: by fxm4 with SMTP id 4so79952fxm.13 for ; Tue, 18 May 2010 12:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=tNk/RYooPRx4qb4phyyjb3H+Eyf4J3FJi9UXkuV0hvM=; b=vXdm3ER4MF2g72qL8XMl2RDU2WwddEQwXe7n8x5ZQ9rKWkzrpeGoSJ+4iz4diJxrwU sYx4NMhtacJ1SzFAlmvNofr5Atcgmxs8AQrB2XbGJmM47jCyRDsVU3C4KgbtHsRCtjeL tA4vnLjf/UFn1GhFcT/dTesW9Kmq9idLNin+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=H8DrXgPusX5UFRPoZa5Mb6GQEPFf3h2ao6MOXS9/x19x2hx2mCWpCOmqZyUvfsPWSy YPFh5Lc+hs8JF5nJmvcwUYORdG9/4Y+LWf8UZ8K3e6q5RfGpOeC70wKhOx1v73AKtRxV Z77YcNLKiLPID5MuwukXfMf/mVXeo/3tz/xR4= MIME-Version: 1.0 Received: by 10.239.192.74 with SMTP id d10mr633812hbi.74.1274208250846; Tue, 18 May 2010 11:44:10 -0700 (PDT) Received: by 10.239.136.70 with HTTP; Tue, 18 May 2010 11:44:10 -0700 (PDT) In-Reply-To: <20100428120012.C900110656A9@hub.freebsd.org> References: <20100428120012.C900110656A9@hub.freebsd.org> Date: Tue, 18 May 2010 22:44:10 +0400 Message-ID: From: Vladislav Soldatov To: freebsd-arch@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: freebsd-arch Digest, Vol 365, Issue 2 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 19:13:12 -0000 On Wed, Apr 28, 2010 at 4:00 PM, wrote: > Send freebsd-arch mailing list submissions to > freebsd-arch@freebsd.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > or, via email, send a message with subject or body 'help' to > freebsd-arch-request@freebsd.org > > You can reach the person managing the list at > freebsd-arch-owner@freebsd.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of freebsd-arch digest..." > > > Today's Topics: > > 1. Re: New "scallhook" feature. Is is OK to create a proposal? > (Jeremie Le Hen) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 27 Apr 2010 18:54:31 +0200 > From: Jeremie Le Hen > Subject: Re: New "scallhook" feature. Is is OK to create a proposal? > To: Alexander Churanov > Cc: freebsd-arch@freebsd.org > Message-ID: <20100427165431.GQ34466@felucia.tataz.chchile.org> > Content-Type: text/plain; charset=us-ascii > > Hi Alexander, > > On Tue, Apr 06, 2010 at 05:27:29PM +0400, Alexander Churanov wrote: > > About me: > > > > I am software engineer, currently working in Cisco Systems, specializing > in > > C/C++/UNIX. My additional interests are software quality and security. I > am > > a port maintainer for devel/boost-* and was participating in extending > > syscons driver, until the project was superseded by syscons rewrite by Ed > > Schouten. > > > > About Vladislav: > > Vladislav is a PhD of computer science, has experience with developing in > C > > and C++ for FreeBSD. > > > > Before writing the full proposal on the wiki, I'd like to receive the > first > > approval. > > I don't know what you intend to do after Robert's reply but if you are > seeking a kernel-level security improvement to work on, I suggest to > look at porting PaX into FreeBSD. > > Regards, > -- > Jeremie Le Hen > > Humans are born free and equal. But some are more equal than others. > Coluche > > > ------------------------------ > > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > > End of freebsd-arch Digest, Vol 365, Issue 2 > ******************************************** > It seems to me that discussion on the new "scallhook" feature, proposed by my friend Alexander Churanov, has somehow frozen. We propose the following possible solutions to the problems, mentioned by Robert Watson. We propose to create a special procedure to control the "identity" of the object, to which the given indirect argument is pointing. For example, we can calculate the hash code of the string, that represents absolute path to the resource, before the policy checks done by the scallhook's modules are performed, and store it somewhere in the kernel space. When the actual system call is made, we compute it again and compare with the previously saved one. It is evident, that this procedure is not able to prevent the substitution of the object, for example, associated with the symbolic link. Nonetheless, it allows to "spot" indirect argument substitution and raise an error. Yes, this approach is intrusive and requires kernel source code changes. We prefer substitution detection over locking, because this allows policies to be implemented in user-space processes (for flexibility), as well as implemented in loadable kernel modules (for performance). While permitting implementation of the the policy check procedures in languages other than C and easy debugging, this approach prevents concurrency vulnerabilities by performing the argument identity check in kernel. Recently Jeremie Le Hen has mentioned a possibility of porting PaX from Linux to FreeBSD. Our aim is not just to port something to FreeBSD, but to create a general mechanism for secure system call interposition. PaX has a different functionality and can't be used to implement policy check logic of any kind or detect argument substitution in syscall wrappers. From owner-freebsd-arch@FreeBSD.ORG Tue May 18 21:10:11 2010 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1560C1065674 for ; Tue, 18 May 2010 21:10:11 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 95E2D8FC17 for ; Tue, 18 May 2010 21:10:10 +0000 (UTC) Received: (qmail 28202 invoked by uid 399); 18 May 2010 21:10:09 -0000 Received: from localhost (HELO ?192.168.0.145?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 18 May 2010 21:10:09 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BF30230.8020001@FreeBSD.org> Date: Tue, 18 May 2010 14:10:08 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Roman Divacky References: <20100514152408.GN56080@hoeg.nl> <4BEEE8A9.7020303@FreeBSD.org> <20100517064908.GX56080@hoeg.nl> <20100517091354.GE83316@deviant.kiev.zoral.com.ua> <20100517092628.GC56080@hoeg.nl> <4BF1B352.4030306@FreeBSD.org> <20100518073526.GA96818@freebsd.org> In-Reply-To: <20100518073526.GA96818@freebsd.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , Ed Schouten , FreeBSD Arch Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 21:10:11 -0000 On 5/18/2010 12:35 AM, Roman Divacky wrote: > two now (clang and tblgen) with one more coming soon (llvm-mc/as) With just two binaries I'd suggest usr.bin/clang and usr.bin/tblgen. hth, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-arch@FreeBSD.ORG Wed May 19 01:04:58 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85D04106566C; Wed, 19 May 2010 01:04:58 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 477FF8FC13; Wed, 19 May 2010 01:04:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o4J0sjT2029188; Tue, 18 May 2010 18:54:45 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 18 May 2010 18:55:11 -0600 (MDT) Message-Id: <20100518.185511.690401613847732178.imp@bsdimp.com> To: dougb@freebsd.org From: "M. Warner Losh" In-Reply-To: <4BF1B352.4030306@FreeBSD.org> References: <20100517091354.GE83316@deviant.kiev.zoral.com.ua> <20100517092628.GC56080@hoeg.nl> <4BF1B352.4030306@FreeBSD.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: kostikbel@gmail.com, ed@80386.nl, arch@freebsd.org Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 01:04:58 -0000 In message: <4BF1B352.4030306@FreeBSD.org> Doug Barton writes: : On 05/17/10 02:26, Ed Schouten wrote: : > * Kostik Belousov wrote: : >> lib/clang/..., as it is done for bind ? : > : > So I guess that would lead to the following directory structure? : > : > - lib/clang/libclang.../ : > - lib/clang/libllvm.../ : : Yes. : : > - usr.bin/clang/clang/ : > - usr.bin/clang/tblgen/ : : I don't think we have any hierarchies like this in the tree currently. I : would vote for just usr.bin/clang, usr.bin/tblgen, etc. How many : binaries are we talking about? We do, actually. Look at lpr, gcc, and a few others that nest. Warner : > Sounds fine by me, but then I'm still not sure where I should place the : > include/ directory, which contains an overlay of header files used by : > LLVM/Clang sources. : : I agree with the previous poster that lib/clang/include sounds : reasonable. In any case, thanks for taking a look at this. :) : : : hth, : : Doug : : -- : : ... and that's just a little bit of history repeating. : -- Propellerheads : : Improve the effectiveness of your Internet presence with : a domain name makeover! http://SupersetSolutions.com/ : : _______________________________________________ : freebsd-arch@freebsd.org mailing list : http://lists.freebsd.org/mailman/listinfo/freebsd-arch : To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" : From owner-freebsd-arch@FreeBSD.ORG Wed May 19 07:19:43 2010 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59BC6106566B; Wed, 19 May 2010 07:19:43 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0DCC08FC1A; Wed, 19 May 2010 07:19:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id D733A9CB078; Wed, 19 May 2010 09:16:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jA+Vs5Vcc61k; Wed, 19 May 2010 09:16:30 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 92AE99CB16A; Wed, 19 May 2010 09:16:30 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o4J7GUrC077269; Wed, 19 May 2010 09:16:30 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 19 May 2010 09:16:30 +0200 From: Roman Divacky To: Doug Barton Message-ID: <20100519071630.GA77151@freebsd.org> References: <20100514152408.GN56080@hoeg.nl> <4BEEE8A9.7020303@FreeBSD.org> <20100517064908.GX56080@hoeg.nl> <20100517091354.GE83316@deviant.kiev.zoral.com.ua> <20100517092628.GC56080@hoeg.nl> <4BF1B352.4030306@FreeBSD.org> <20100518073526.GA96818@freebsd.org> <4BF30230.8020001@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BF30230.8020001@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: Kostik Belousov , Ed Schouten , FreeBSD Arch Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 07:19:43 -0000 On Tue, May 18, 2010 at 02:10:08PM -0700, Doug Barton wrote: > On 5/18/2010 12:35 AM, Roman Divacky wrote: > > two now (clang and tblgen) with one more coming soon (llvm-mc/as) > > With just two binaries I'd suggest usr.bin/clang and usr.bin/tblgen. the tblgen is used only for building clang/llvm stuff so I don't think it deserves it's own directory. maybe we should not even install in during installworld From owner-freebsd-arch@FreeBSD.ORG Wed May 19 13:10:56 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBBC8106566B; Wed, 19 May 2010 13:10:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id AC4B98FC0A; Wed, 19 May 2010 13:10:56 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id D196746B09; Wed, 19 May 2010 09:10:55 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 7D2128A026; Wed, 19 May 2010 09:10:54 -0400 (EDT) From: John Baldwin To: freebsd-arch@freebsd.org Date: Wed, 19 May 2010 09:04:22 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100514152408.GN56080@hoeg.nl> <4BF30230.8020001@FreeBSD.org> <20100519071630.GA77151@freebsd.org> In-Reply-To: <20100519071630.GA77151@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005190904.22248.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 19 May 2010 09:10:54 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Kostik Belousov , Ed Schouten , Roman Divacky , Doug Barton , FreeBSD Arch Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 13:10:57 -0000 On Wednesday 19 May 2010 3:16:30 am Roman Divacky wrote: > On Tue, May 18, 2010 at 02:10:08PM -0700, Doug Barton wrote: > > On 5/18/2010 12:35 AM, Roman Divacky wrote: > > > two now (clang and tblgen) with one more coming soon (llvm-mc/as) > > > > With just two binaries I'd suggest usr.bin/clang and usr.bin/tblgen. > > the tblgen is used only for building clang/llvm stuff so I don't > think it deserves it's own directory. maybe we should not even > install in during installworld Given that we nest for gcc, I think it is fine to nest for clang. -- John Baldwin From owner-freebsd-arch@FreeBSD.ORG Wed May 19 13:10:56 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBBC8106566B; Wed, 19 May 2010 13:10:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id AC4B98FC0A; Wed, 19 May 2010 13:10:56 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id D196746B09; Wed, 19 May 2010 09:10:55 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 7D2128A026; Wed, 19 May 2010 09:10:54 -0400 (EDT) From: John Baldwin To: freebsd-arch@freebsd.org Date: Wed, 19 May 2010 09:04:22 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100514152408.GN56080@hoeg.nl> <4BF30230.8020001@FreeBSD.org> <20100519071630.GA77151@freebsd.org> In-Reply-To: <20100519071630.GA77151@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005190904.22248.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 19 May 2010 09:10:54 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Kostik Belousov , Ed Schouten , Roman Divacky , Doug Barton , FreeBSD Arch Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 13:10:57 -0000 On Wednesday 19 May 2010 3:16:30 am Roman Divacky wrote: > On Tue, May 18, 2010 at 02:10:08PM -0700, Doug Barton wrote: > > On 5/18/2010 12:35 AM, Roman Divacky wrote: > > > two now (clang and tblgen) with one more coming soon (llvm-mc/as) > > > > With just two binaries I'd suggest usr.bin/clang and usr.bin/tblgen. > > the tblgen is used only for building clang/llvm stuff so I don't > think it deserves it's own directory. maybe we should not even > install in during installworld Given that we nest for gcc, I think it is fine to nest for clang. -- John Baldwin From owner-freebsd-arch@FreeBSD.ORG Wed May 19 15:46:58 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3124A106567B for ; Wed, 19 May 2010 15:46:58 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 805CE8FC21 for ; Wed, 19 May 2010 15:46:57 +0000 (UTC) Received: (qmail 26670 invoked by uid 399); 19 May 2010 15:46:56 -0000 Received: from localhost (HELO ?192.168.0.145?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 19 May 2010 15:46:56 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BF407EF.7010508@FreeBSD.org> Date: Wed, 19 May 2010 08:46:55 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: John Baldwin References: <20100514152408.GN56080@hoeg.nl> <4BF30230.8020001@FreeBSD.org> <20100519071630.GA77151@freebsd.org> <201005190904.22248.jhb@freebsd.org> In-Reply-To: <201005190904.22248.jhb@freebsd.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , Ed Schouten , Roman Divacky , freebsd-arch@freebsd.org Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 15:46:58 -0000 On 5/19/2010 6:04 AM, John Baldwin wrote: > On Wednesday 19 May 2010 3:16:30 am Roman Divacky wrote: >> On Tue, May 18, 2010 at 02:10:08PM -0700, Doug Barton wrote: >>> On 5/18/2010 12:35 AM, Roman Divacky wrote: >>>> two now (clang and tblgen) with one more coming soon (llvm-mc/as) >>> >>> With just two binaries I'd suggest usr.bin/clang and usr.bin/tblgen. >> >> the tblgen is used only for building clang/llvm stuff so I don't >> think it deserves it's own directory. maybe we should not even >> install in during installworld > > Given that we nest for gcc, I think it is fine to nest for clang. That makes it sound like it's some sort of privilege that we don't want clang to feel bad about if it doesn't get. :) In any case, if tblgen isn't even used other than as a build tool then I agree, "nesting" is reasonable, and I think Roman is right that it shouldn't be installed either. Not that the BIND bmake is authoritative in any way, but it has a parallel here in that I have to build the BIND libs in order to build the binaries but unless the user twiddles the knob I don't install the libs. ... which leads to hopefully my last suggestion, if there is _any_ chance that it would be useful to have tblgen installed then providing a knob to do so (defaulting to off of course) is cheap, and will prevent you having to rework the code later when someone requests it (and believe me, someone will). :) hth, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-arch@FreeBSD.ORG Thu May 20 01:58:42 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2118106566C for ; Thu, 20 May 2010 01:58:42 +0000 (UTC) (envelope-from ftp40322-2566123@sh8-21.1blu.de) Received: from sh8-21.1blu.de (sh8-21.1blu.de [88.84.137.159]) by mx1.freebsd.org (Postfix) with ESMTP id 981348FC0A for ; Thu, 20 May 2010 01:58:42 +0000 (UTC) Received: from ftp40322-2566123 by sh8-21.1blu.de with local (Exim 4.50) id 1OEv1s-0000oj-Qc; Thu, 20 May 2010 03:58:36 +0200 To: freebsd-arch@freebsd.org,zz@macbox.ru From: nu 100 qe Message-Id: Date: Thu, 20 May 2010 03:58:32 +0200 Cc: Subject: RAMBLERS.ru - , marketing@fundam.ru, esk_ntk@mail.kuban.ru, peri@peterlink.ru, kufia@yahoo.com, mykola_zuyev@mail.ru, wawaa@hotmail.com, rhoda@mail.ru, afgmp@zazo44.tp X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2010 01:58:42 -0000 http://CRENSHAW2191.makesgirlscrazy.com From owner-freebsd-arch@FreeBSD.ORG Fri May 21 00:11:38 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6838D1065670 for ; Fri, 21 May 2010 00:11:38 +0000 (UTC) (envelope-from n-hwfhmC_UOONjzxVAU79HHH0VcgBEm6HUJ9D7QjeTg7KKDarUK5bdvBFCHU1@bounce.linkedin.com) Received: from mail16-a-aa.linkedin.com (mail16-a-aa.linkedin.com [64.74.98.139]) by mx1.freebsd.org (Postfix) with ESMTP id 2698D8FC0C for ; Fri, 21 May 2010 00:11:37 +0000 (UTC) DomainKey-Signature: s=prod; d=linkedin.com; c=nofws; q=dns; h=Sender:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type:X-LinkedIn-fbl; b=uTcd1MObxOnO6LulhLrfhTkrxDQ9aXgpih3dJaXVKNU83jr8924W5BYS 3ST9jcVR6Ji3l9SsN7TlNGqC5I3pQuh1bAtlbcyNUr8xnwpOiS1zSc5m4 WzBFd8CUWPcwJJ6; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=linkedin.com; i=invitations@linkedin.com; q=dns/txt; s=proddkim; t=1274400698; x=1305936698; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20"Rami=20Vikas=20(LinkedIn=20Invitations)"=20|Sender:=20messages-noreply@bounce. linkedin.com|Subject:=20Reminder=20about=20your=20invitat ion=20from=20Rami=20Vikas|Date:=20Thu,=2020=20May=202010 =2017:11:37=20-0700=20(PDT)|Message-ID:=20<1545855064.136 5579.1274400697473.JavaMail.app@ech3-cdn09.prod>|To:=20 =20|MIME-Version:=201.0; bh=OyLDtHPubvsQ6PWtNjKEkmb0g3A+uZPvZes4XXKnRbU=; b=BoH+drUj4uPsxcwgZDcXoExObM707ajjdo86tphmEzm2yQAplnig5CKP Zz9Ef5/cTeOHQ08bIQfVlhYmyAKgFimMN0/B5vZaOfSHIxCR1fPpKAM3K yTTAigrDUlXcNk9; Sender: messages-noreply@bounce.linkedin.com Date: Thu, 20 May 2010 17:11:37 -0700 (PDT) From: "Rami Vikas (LinkedIn Invitations)" To: Message-ID: <1545855064.1365579.1274400697473.JavaMail.app@ech3-cdn09.prod> MIME-Version: 1.0 X-LinkedIn-fbl: n-hwfhmC_UOONjzxVAU79HHH0VcgBEm6HUJ9D7QjeTg7KKDarUK5bdvBFCHU1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Reminder about your invitation from Rami Vikas X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2010 00:11:38 -0000 LinkedIn ------------ This is a reminder that on May 13, Rami Vikas sent you an invitation to become part of his or her professional network at LinkedIn. Follow this link to accept Rami Vikas's invitation. https://www.linkedin.com/e/doi/1300229913/WW6b62IO/gir_56587196_0/EML-inv_17_rem/ Signing up is free and takes less than a minute. On May 13, Rami Vikas wrote: > To: [freebsd-arch@freebsd.org] > From: Rami Vikas [vikas.rami@hp.com] > Subject: Invitation to connect on LinkedIn > > I'd like to add you to my professional network on LinkedIn. > > - Rami The only way to get access to Rami Vikas's professional network on LinkedIn is through the following link: https://www.linkedin.com/e/doi/1300229913/WW6b62IO/gir_56587196_0/EML-inv_17_rem/ You can remove yourself from Rami Vikas's network at any time. -------------- ------ (c) 2010, LinkedIn Corporation From owner-freebsd-arch@FreeBSD.ORG Fri May 21 01:00:52 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4E681065670; Fri, 21 May 2010 01:00:52 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 665528FC08; Fri, 21 May 2010 01:00:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o4L0v67c060455; Thu, 20 May 2010 18:57:06 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 20 May 2010 18:57:28 -0600 (MDT) Message-Id: <20100520.185728.29593248011634036.imp@bsdimp.com> To: dougb@freebsd.org From: "M. Warner Losh" In-Reply-To: <4BF407EF.7010508@FreeBSD.org> References: <20100519071630.GA77151@freebsd.org> <201005190904.22248.jhb@freebsd.org> <4BF407EF.7010508@FreeBSD.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: kostikbel@gmail.com, ed@80386.nl, rdivacky@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2010 01:00:52 -0000 In message: <4BF407EF.7010508@FreeBSD.org> Doug Barton writes: : ... which leads to hopefully my last suggestion, if there is _any_ : chance that it would be useful to have tblgen installed then providing : a knob to do so (defaulting to off of course) is cheap, and will : prevent you having to rework the code later when someone requests it : (and believe me, someone will). :) Knobs are too cheap. We're starting to accumulate rather a lot of them for trivial things... We need to think about a better way to do subsetting... Warner From owner-freebsd-arch@FreeBSD.ORG Fri May 21 02:46:40 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B6791065672 for ; Fri, 21 May 2010 02:46:40 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 0BAB68FC15 for ; Fri, 21 May 2010 02:46:39 +0000 (UTC) Received: (qmail 10628 invoked by uid 399); 21 May 2010 02:46:39 -0000 Received: from localhost (HELO ?192.168.0.145?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 21 May 2010 02:46:39 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BF5F40D.2010602@FreeBSD.org> Date: Thu, 20 May 2010 19:46:37 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: "M. Warner Losh" References: <20100519071630.GA77151@freebsd.org> <201005190904.22248.jhb@freebsd.org> <4BF407EF.7010508@FreeBSD.org> <20100520.185728.29593248011634036.imp@bsdimp.com> In-Reply-To: <20100520.185728.29593248011634036.imp@bsdimp.com> X-Enigmail-Version: 1.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2010 02:46:40 -0000 On 5/20/2010 5:57 PM, M. Warner Losh wrote: > In message:<4BF407EF.7010508@FreeBSD.org> > Doug Barton writes: > : ... which leads to hopefully my last suggestion, if there is _any_ > : chance that it would be useful to have tblgen installed then providing > : a knob to do so (defaulting to off of course) is cheap, and will > : prevent you having to rework the code later when someone requests it > : (and believe me, someone will). :) > > Knobs are too cheap. We're starting to accumulate rather a lot of > them for trivial things... We need to think about a better way to do > subsetting... EPONTIFICATING. I would not want to stand in the way of people doing real work while we wait for the next great thing. :) Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-arch@FreeBSD.ORG Fri May 21 03:55:41 2010 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 816F21065676; Fri, 21 May 2010 03:55:41 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 43C7B8FC0A; Fri, 21 May 2010 03:55:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o4L3n9DM061540; Thu, 20 May 2010 21:49:10 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 20 May 2010 21:49:37 -0600 (MDT) Message-Id: <20100520.214937.319083499807535537.imp@bsdimp.com> To: dougb@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <4BF5F40D.2010602@FreeBSD.org> References: <4BF407EF.7010508@FreeBSD.org> <20100520.185728.29593248011634036.imp@bsdimp.com> <4BF5F40D.2010602@FreeBSD.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-arch@FreeBSD.org Subject: Re: Request for review: build infrastructure for Clang X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2010 03:55:41 -0000 In message: <4BF5F40D.2010602@FreeBSD.org> Doug Barton writes: : On 5/20/2010 5:57 PM, M. Warner Losh wrote: : > In message:<4BF407EF.7010508@FreeBSD.org> : > Doug Barton writes: : > : ... which leads to hopefully my last suggestion, if there is _any_ : > : chance that it would be useful to have tblgen installed then : > providing : > : a knob to do so (defaulting to off of course) is cheap, and will : > : prevent you having to rework the code later when someone requests it : > : (and believe me, someone will). :) : > : > Knobs are too cheap. We're starting to accumulate rather a lot of : > them for trivial things... We need to think about a better way to do : > subsetting... : : EPONTIFICATING. I would not want to stand in the way of people doing : real work while we wait for the next great thing. :) That's kind of uncalled for. We have a problem with a proliferation of silly knobs. When someone wants to add a new one is the perfect time to raise the issue. Especially when I have some work in flight that might help... Warner P.S. I'm not standing in the way of this knob (if that's the consensus), but this one seems especially useless. Nobody is ever going to turn it on. We should wait for someone to ask for it before adding it. From owner-freebsd-arch@FreeBSD.ORG Sat May 22 03:39:28 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E699D106566B for ; Sat, 22 May 2010 03:39:28 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 725FC8FC13 for ; Sat, 22 May 2010 03:39:28 +0000 (UTC) Received: by fxm4 with SMTP id 4so1761130fxm.13 for ; Fri, 21 May 2010 20:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=UJpdTVumKYdMmXUawLgmaDEI/f23gdE2n45U6+FPIaA=; b=or8Pz3g+t4Vc/UO4Z7+/opAMN9f4AvhNVO4L0KWcvdTSvNl3ag9KP8xssNqtvnUg12 FZrlo/tiOLkKRj9dxdKi5Au5ti5cTWoriyGp4ULYeVstf7dZ79QmqC1W23TravdkjRLy h9XVJjdZxkVu970UdMfkZ9V3v2GFHlqwo7LBg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=ghcBjxFiKou9wXP34IbNH7ia0VtdsUFVEjRXjamJv8syQyDHYYBbpl4YnUpMPcfa/W fnGl4EDtB3nP/I/lSFt9EHOUjM2kziTYzSMpbloJqo7r6PlBRWyYx9foUIQtTnCzHmFZ zk3KG4PI+3ESlV0JShnM371rZq+TUZZJfd8tE= Received: by 10.223.4.217 with SMTP id 25mr2198782fas.60.1274499566495; Fri, 21 May 2010 20:39:26 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 2sm7564998fav.13.2010.05.21.20.39.25 (version=SSLv3 cipher=RC4-MD5); Fri, 21 May 2010 20:39:26 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BF751DD.7020701@FreeBSD.org> Date: Sat, 22 May 2010 06:39:09 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: freebsd-arch@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Device driver unload X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2010 03:39:29 -0000 Hi. I think we have some inconsistency around device driver unloading. When devices gets no driver during boot, bus driver receives BUS_PROBE_NOMATCH() call, allowing to power-down the device. But if device looses driver after module unload - nothing happens. So my question is: shouldn't we call either device_probe_and_attach() or BUS_PROBE_NOMATCH() for devices detached due to driver unload? If there is no alternative driver - device_probe_and_attach() also result in BUS_PROBE_NOMATCH() call. -- Alexander Motin From owner-freebsd-arch@FreeBSD.ORG Sat May 22 05:10:04 2010 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 312F1106566C; Sat, 22 May 2010 05:10:04 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id E81488FC0A; Sat, 22 May 2010 05:10:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o4M56ZuT076419; Fri, 21 May 2010 23:06:35 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 21 May 2010 23:07:03 -0600 (MDT) Message-Id: <20100521.230703.1076064300569247858.imp@bsdimp.com> To: mav@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <4BF751DD.7020701@FreeBSD.org> References: <4BF751DD.7020701@FreeBSD.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-arch@FreeBSD.org Subject: Re: Device driver unload X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2010 05:10:04 -0000 In message: <4BF751DD.7020701@FreeBSD.org> Alexander Motin writes: : Hi. : : I think we have some inconsistency around device driver unloading. When : devices gets no driver during boot, bus driver receives : BUS_PROBE_NOMATCH() call, allowing to power-down the device. But if : device looses driver after module unload - nothing happens. Correct. : So my question is: shouldn't we call either device_probe_and_attach() or : BUS_PROBE_NOMATCH() for devices detached due to driver unload? I don't think so. We're not really setup to do that. If we were to do that, then reloading the old driver would break since the new, alternative driver wouldn't detach when we kldload the new one. This is an important case to keep working, even if there might be some slight benefit to your proposed change. There's some infrastructure to do this already, in the DF_REBID stuff I did a while ago. Alternatively, we'll need to fix the so-called '/dev/foot' patches to give direct control. BUS_PROBE_NOMATCH likely isn't a bad choice to call on detach, however. Oh, and we'll need to unset DF_NOMATCH on attach. At least I think that's the right place... : If there : is no alternative driver - device_probe_and_attach() also result in : BUS_PROBE_NOMATCH() call. Sounds good in theory. However, there's problems with this. We'll need to make a list of devices that are detached, and then call device_probe_and_attach() after we've completely unwound the module unload. There may be other issues here as well. I've not thought through the consequences of doing this with multiple module unloads. So, in short, we could do something like this, but we must do it very carefully. There's a lot of interrelated junk here, and I don't want to break useful cases that work today... Warner From owner-freebsd-arch@FreeBSD.ORG Sat May 22 05:57:16 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F43F1065687 for ; Sat, 22 May 2010 05:57:16 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id DBEBE8FC0A for ; Sat, 22 May 2010 05:57:15 +0000 (UTC) Received: by mail-fx0-f54.google.com with SMTP id 4so1805457fxm.13 for ; Fri, 21 May 2010 22:57:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=qePCSvWnytw7orcgQDyxcSRLpBFrtvZrxNLKH8HXwDw=; b=SLMhk8Fv9PjN7+WOPLyf19sO+GFR6Hn2x5YaVXEfAWfMMlRt2QoDl58GxauNPk71LY FTLARniF2cEhkhKAgEz+cJGFZoRGxcwodDhD3EcUcvww1skFOIV0+tBhku5+HnJg7Dsg le2DTSE+XJwuuRT99qcmG+WitAQ4IvZQkLsu0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=R+HBezJTdDF4oZiSUlSUILcUjO7AQYxG4sUmID8Y98gn6vZWQvBAc1/zcbxaRevsIF 2mYICzAV0KEy0wWGMhhYSjnJ1vVrET4QN83j5ZR424+jswGrzUS3q81N8WytAVxpBR4Q voKJAqCZrF6SdJhhew2LQwCstwCNxue2P8JkY= Received: by 10.223.92.152 with SMTP id r24mr2287725fam.74.1274507835483; Fri, 21 May 2010 22:57:15 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id r12sm8018996fah.20.2010.05.21.22.57.14 (version=SSLv3 cipher=RC4-MD5); Fri, 21 May 2010 22:57:14 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BF77229.3050205@FreeBSD.org> Date: Sat, 22 May 2010 08:56:57 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: "M. Warner Losh" References: <4BF751DD.7020701@FreeBSD.org> <20100521.230703.1076064300569247858.imp@bsdimp.com> In-Reply-To: <20100521.230703.1076064300569247858.imp@bsdimp.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-arch@FreeBSD.org Subject: Re: Device driver unload X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2010 05:57:16 -0000 M. Warner Losh wrote: > In message: <4BF751DD.7020701@FreeBSD.org> > Alexander Motin writes: > : I think we have some inconsistency around device driver unloading. When > : devices gets no driver during boot, bus driver receives > : BUS_PROBE_NOMATCH() call, allowing to power-down the device. But if > : device looses driver after module unload - nothing happens. > > Correct. > > : So my question is: shouldn't we call either device_probe_and_attach() or > : BUS_PROBE_NOMATCH() for devices detached due to driver unload? > > I don't think so. We're not really setup to do that. If we were to > do that, then reloading the old driver would break since the new, > alternative driver wouldn't detach when we kldload the new one. This Yes, I consider this. It is indeed a problem, but it is not new, it is already exist. Now I can't load ahci(4) driver in runtime after ata(4) grabbed devices on boot. > is an important case to keep working, even if there might be some > slight benefit to your proposed change. There's some infrastructure > to do this already, in the DF_REBID stuff I did a while ago. Yes, I've seen it, but I can hardly see how can it be really used, while calling probe require device to be detached first. It will not be nice to loose root file system on loading sound driver. > Alternatively, we'll need to fix the so-called '/dev/foot' patches to > give direct control. What is this? Is it something to control attach/detach from user-level? I would really like to see such mechanisms, but I have no good idea how to reliably identify device when it's name changes with driver change. It would be nice to be able to address device via attachment point, but it seems too bus-specific now. > BUS_PROBE_NOMATCH likely isn't a bad choice to call on detach, > however. Oh, and we'll need to unset DF_NOMATCH on attach. At least > I think that's the right place... Sure. -- Alexander Motin From owner-freebsd-arch@FreeBSD.ORG Sat May 22 06:19:53 2010 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2B7E1065794; Sat, 22 May 2010 06:19:53 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8720A8FC19; Sat, 22 May 2010 06:19:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o4M6FGZI077019; Sat, 22 May 2010 00:15:17 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 22 May 2010 00:15:44 -0600 (MDT) Message-Id: <20100522.001544.725436840180021448.imp@bsdimp.com> To: mav@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <4BF77229.3050205@FreeBSD.org> References: <4BF751DD.7020701@FreeBSD.org> <20100521.230703.1076064300569247858.imp@bsdimp.com> <4BF77229.3050205@FreeBSD.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-arch@FreeBSD.org Subject: Re: Device driver unload X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2010 06:19:54 -0000 In message: <4BF77229.3050205@FreeBSD.org> Alexander Motin writes: : M. Warner Losh wrote: : > In message: <4BF751DD.7020701@FreeBSD.org> : > Alexander Motin writes: : > : I think we have some inconsistency around device driver unloading. When : > : devices gets no driver during boot, bus driver receives : > : BUS_PROBE_NOMATCH() call, allowing to power-down the device. But if : > : device looses driver after module unload - nothing happens. : > : > Correct. : > : > : So my question is: shouldn't we call either device_probe_and_attach() or : > : BUS_PROBE_NOMATCH() for devices detached due to driver unload? : > : > I don't think so. We're not really setup to do that. If we were to : > do that, then reloading the old driver would break since the new, : > alternative driver wouldn't detach when we kldload the new one. This : : Yes, I consider this. It is indeed a problem, but it is not new, it is : already exist. Now I can't load ahci(4) driver in runtime after ata(4) : grabbed devices on boot. That's the opposite problem... : > is an important case to keep working, even if there might be some : > slight benefit to your proposed change. There's some infrastructure : > to do this already, in the DF_REBID stuff I did a while ago. : : Yes, I've seen it, but I can hardly see how can it be really used, while : calling probe require device to be detached first. It will not be nice : to loose root file system on loading sound driver. DF_REBID wouldn't change that at all. You don't detach unless there's a newer, better driver. And you don't detach if the driver is currently still in use. The biggest reason I've not enabled it is that I've not audited the tree to know if other driver's probe routines are safe to call while the driver is attached... : > Alternatively, we'll need to fix the so-called '/dev/foot' patches to : > give direct control. : : What is this? Is it something to control attach/detach from user-level? : I would really like to see such mechanisms, but I have no good idea how : to reliably identify device when it's name changes with driver change. : It would be nice to be able to address device via attachment point, but : it seems too bus-specific now. There's already a bus-supplied location string... That could be used to make it work... : > BUS_PROBE_NOMATCH likely isn't a bad choice to call on detach, : > however. Oh, and we'll need to unset DF_NOMATCH on attach. At least : > I think that's the right place... : : Sure. Warner