From owner-freebsd-hackers@FreeBSD.ORG  Sun Oct  7 10:40:56 2012
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Delivered-To: hackers@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 818B3106566C;
	Sun,  7 Oct 2012 10:40:56 +0000 (UTC)
	(envelope-from hselasky@c2i.net)
Received: from swip.net (mailfe09.c2i.net [212.247.155.2])
	by mx1.freebsd.org (Postfix) with ESMTP id 864688FC08;
	Sun,  7 Oct 2012 10:40:54 +0000 (UTC)
X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED
Received: from [176.74.213.204] (account mc467741@c2i.net HELO
	laptop015.hselasky.homeunix.org)
	by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.4)
	with ESMTPA id 154285814; Sun, 07 Oct 2012 12:40:46 +0200
From: Hans Petter Selasky <hselasky@c2i.net>
To: freebsd-usb@freebsd.org,
 hackers@freebsd.org
Date: Sun, 7 Oct 2012 12:42:11 +0200
User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; )
References: <5070C1E9.5000405@sbcglobal.net>
In-Reply-To: <5070C1E9.5000405@sbcglobal.net>
X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp
	|U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI
	-%GU9V5]iUZF&nRn9mJ'?&>O
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201210071242.11932.hselasky@c2i.net>
Cc: bugs@freebsd.org, Jin Guojun <jguojun@sbcglobal.net>, current@freebsd.org
Subject: Re: 9.1-RCs issues
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
	<freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
	<mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
	<mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Oct 2012 10:40:56 -0000

On Sunday 07 October 2012 01:42:33 Jin Guojun wrote:
> 1) moused stops functioning on 9.1-RC2. Neither PS2 nor USB mouse can work.
>     9.1-RC1 has no such problem.
> 
> 2) All i386 / amd64 of 9.1-RC1/RC2 have USB read failure -- see dmesg
> output at end of this email.
> ada0 is internal SATA drive for system disk -- s# partitions: /, /tmp,
> /var, /usr
>     s1   -- 6.4-Release
>     s2   -- 8.3-Release
>     s3   -- 9.1-RC2 amd64
>     s4   --  9.1-RC2 i386 --   This slice also contains /home
> da0 is external USB2 drive (300GB) plugged in USB2 port -- mounted on /mnt
> 

Regarding USB, it might be some patches did not reach it for the RC's. Have 
you tried 9-stable, or any 10-current snapshots?

--HPS

From owner-freebsd-hackers@FreeBSD.ORG  Sun Oct  7 12:17:36 2012
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Delivered-To: freebsd-hackers@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 42CA4106566C
	for <freebsd-hackers@FreeBSD.org>; Sun,  7 Oct 2012 12:17:36 +0000 (UTC)
	(envelope-from avg@FreeBSD.org)
Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140])
	by mx1.freebsd.org (Postfix) with ESMTP id 930F38FC18
	for <freebsd-hackers@FreeBSD.org>; Sun,  7 Oct 2012 12:17:34 +0000 (UTC)
Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua
	[212.40.38.100])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA14196
	for <freebsd-hackers@freebsd.org>;
	Sun, 07 Oct 2012 15:17:32 +0300 (EEST)
	(envelope-from avg@FreeBSD.org)
Received: from localhost ([127.0.0.1])
	by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD))
	id 1TKpnY-000873-Gy
	for freebsd-hackers@freebsd.org; Sun, 07 Oct 2012 15:17:32 +0300
Message-ID: <507172DA.2020309@FreeBSD.org>
Date: Sun, 07 Oct 2012 15:17:30 +0300
From: Andriy Gapon <avg@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:15.0) Gecko/20120913 Thunderbird/15.0.1
MIME-Version: 1.0
To: freebsd-hackers <freebsd-hackers@FreeBSD.org>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=X-VIET-VPS
Content-Transfer-Encoding: 7bit
Cc: 
Subject: machine/cpu.h in userland
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
	<freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
	<mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
	<mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Oct 2012 12:17:36 -0000


I noticed that couple of our userland file include machine/cpu.h for no apparent
good reason.  It looks like at least amd64 cpu.h has no userland serviceable
parts inside.
Maybe its content should be put under _KERNEL ?

Also:

--- a/sbin/adjkerntz/adjkerntz.c
+++ b/sbin/adjkerntz/adjkerntz.c
@@ -51,7 +51,6 @@ __FBSDID("$FreeBSD$");
 #include <syslog.h>
 #include <sys/time.h>
 #include <sys/param.h>
-#include <machine/cpu.h>
 #include <sys/sysctl.h>

 #include "pathnames.h"
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index 8441ce5..9674fc2 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -57,7 +57,6 @@ static const char sccsid[] = "@(#)w.c	8.4 (Berkeley) 4/16/94";
 #include <sys/socket.h>
 #include <sys/tty.h>

-#include <machine/cpu.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <arpa/nameser.h>

-- 
Andriy Gapon

From owner-freebsd-hackers@FreeBSD.ORG  Sun Oct  7 12:43:38 2012
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Delivered-To: freebsd-hackers@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id F27161065670;
	Sun,  7 Oct 2012 12:43:37 +0000 (UTC)
	(envelope-from hselasky@c2i.net)
Received: from swip.net (mailfe02.c2i.net [212.247.154.34])
	by mx1.freebsd.org (Postfix) with ESMTP id 742E38FC12;
	Sun,  7 Oct 2012 12:43:35 +0000 (UTC)
X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED,
	BAYES_50
Received: from [176.74.213.204] (account mc467741@c2i.net HELO
	laptop015.hselasky.homeunix.org)
	by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4)
	with ESMTPA id 329237632; Sun, 07 Oct 2012 14:43:27 +0200
From: Hans Petter Selasky <hselasky@c2i.net>
To: freebsd-hackers@freebsd.org
Date: Sun, 7 Oct 2012 14:44:52 +0200
User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; )
References: <5070C1E9.5000405@sbcglobal.net>
	<201210071242.11932.hselasky@c2i.net>
In-Reply-To: <201210071242.11932.hselasky@c2i.net>
X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp
	|U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI
	-%GU9V5]iUZF&nRn9mJ'?&>O
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201210071444.52845.hselasky@c2i.net>
Cc: bugs@freebsd.org, hackers@freebsd.org, Jin Guojun <jguojun@sbcglobal.net>,
	freebsd-usb@freebsd.org, current@freebsd.org
Subject: Re: 9.1-RCs issues
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
	<freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
	<mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
	<mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Oct 2012 12:43:38 -0000

On Sunday 07 October 2012 12:42:11 Hans Petter Selasky wrote:
> On Sunday 07 October 2012 01:42:33 Jin Guojun wrote:
> > 1) moused stops functioning on 9.1-RC2. Neither PS2 nor USB mouse can
> > work.
> > 
> >     9.1-RC1 has no such problem.
> > 
> > 2) All i386 / amd64 of 9.1-RC1/RC2 have USB read failure -- see dmesg
> > output at end of this email.
> > ada0 is internal SATA drive for system disk -- s# partitions: /, /tmp,
> > /var, /usr
> > 
> >     s1   -- 6.4-Release
> >     s2   -- 8.3-Release
> >     s3   -- 9.1-RC2 amd64
> >     s4   --  9.1-RC2 i386 --   This slice also contains /home
> > 
> > da0 is external USB2 drive (300GB) plugged in USB2 port -- mounted on
> > /mnt
> 
> Regarding USB, it might be some patches did not reach it for the RC's. Have
> you tried 9-stable, or any 10-current snapshots?
> 
> --HPS

s/reach/make

--HPS

From owner-freebsd-hackers@FreeBSD.ORG  Sun Oct  7 12:43:38 2012
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Delivered-To: hackers@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id F27161065670;
	Sun,  7 Oct 2012 12:43:37 +0000 (UTC)
	(envelope-from hselasky@c2i.net)
Received: from swip.net (mailfe02.c2i.net [212.247.154.34])
	by mx1.freebsd.org (Postfix) with ESMTP id 742E38FC12;
	Sun,  7 Oct 2012 12:43:35 +0000 (UTC)
X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED,
	BAYES_50
Received: from [176.74.213.204] (account mc467741@c2i.net HELO
	laptop015.hselasky.homeunix.org)
	by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4)
	with ESMTPA id 329237632; Sun, 07 Oct 2012 14:43:27 +0200
From: Hans Petter Selasky <hselasky@c2i.net>
To: freebsd-hackers@freebsd.org
Date: Sun, 7 Oct 2012 14:44:52 +0200
User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; )
References: <5070C1E9.5000405@sbcglobal.net>
	<201210071242.11932.hselasky@c2i.net>
In-Reply-To: <201210071242.11932.hselasky@c2i.net>
X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp
	|U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI
	-%GU9V5]iUZF&nRn9mJ'?&>O
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201210071444.52845.hselasky@c2i.net>
Cc: bugs@freebsd.org, hackers@freebsd.org, Jin Guojun <jguojun@sbcglobal.net>,
	freebsd-usb@freebsd.org, current@freebsd.org
Subject: Re: 9.1-RCs issues
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
	<freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
	<mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
	<mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Oct 2012 12:43:38 -0000

On Sunday 07 October 2012 12:42:11 Hans Petter Selasky wrote:
> On Sunday 07 October 2012 01:42:33 Jin Guojun wrote:
> > 1) moused stops functioning on 9.1-RC2. Neither PS2 nor USB mouse can
> > work.
> > 
> >     9.1-RC1 has no such problem.
> > 
> > 2) All i386 / amd64 of 9.1-RC1/RC2 have USB read failure -- see dmesg
> > output at end of this email.
> > ada0 is internal SATA drive for system disk -- s# partitions: /, /tmp,
> > /var, /usr
> > 
> >     s1   -- 6.4-Release
> >     s2   -- 8.3-Release
> >     s3   -- 9.1-RC2 amd64
> >     s4   --  9.1-RC2 i386 --   This slice also contains /home
> > 
> > da0 is external USB2 drive (300GB) plugged in USB2 port -- mounted on
> > /mnt
> 
> Regarding USB, it might be some patches did not reach it for the RC's. Have
> you tried 9-stable, or any 10-current snapshots?
> 
> --HPS

s/reach/make

--HPS

From owner-freebsd-hackers@FreeBSD.ORG  Sun Oct  7 14:11:23 2012
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Delivered-To: freebsd-hackers@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 75786106564A;
	Sun,  7 Oct 2012 14:11:23 +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 CBE7D8FC0A;
	Sun,  7 Oct 2012 14:11:22 +0000 (UTC)
Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1])
	by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q97EBUU8023980;
	Sun, 7 Oct 2012 17:11:30 +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.5/8.14.5) with ESMTP id
	q97EBIuV004831; Sun, 7 Oct 2012 17:11:18 +0300 (EEST)
	(envelope-from kostikbel@gmail.com)
Received: (from kostik@localhost)
	by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q97EBIRA004830; 
	Sun, 7 Oct 2012 17:11:18 +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: Sun, 7 Oct 2012 17:11:18 +0300
From: Konstantin Belousov <kostikbel@gmail.com>
To: Andriy Gapon <avg@freebsd.org>
Message-ID: <20121007141118.GW35915@deviant.kiev.zoral.com.ua>
References: <507172DA.2020309@FreeBSD.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="CLy2MrvMHpW9mjhY"
Content-Disposition: inline
In-Reply-To: <507172DA.2020309@FreeBSD.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua
X-Virus-Status: Clean
X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00
	autolearn=ham version=3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
	skuns.kiev.zoral.com.ua
Cc: freebsd-hackers <freebsd-hackers@freebsd.org>
Subject: Re: machine/cpu.h in userland
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
	<freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
	<mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
	<mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Oct 2012 14:11:23 -0000


--CLy2MrvMHpW9mjhY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 07, 2012 at 03:17:30PM +0300, Andriy Gapon wrote:
>=20
> I noticed that couple of our userland file include machine/cpu.h for no a=
pparent
> good reason.  It looks like at least amd64 cpu.h has no userland servicea=
ble
> parts inside.
> Maybe its content should be put under _KERNEL ?
>=20
> Also:
>=20
> --- a/sbin/adjkerntz/adjkerntz.c
> +++ b/sbin/adjkerntz/adjkerntz.c
> @@ -51,7 +51,6 @@ __FBSDID("$FreeBSD$");
>  #include <syslog.h>
>  #include <sys/time.h>
>  #include <sys/param.h>
> -#include <machine/cpu.h>
>  #include <sys/sysctl.h>
>=20
>  #include "pathnames.h"
> diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
> index 8441ce5..9674fc2 100644
> --- a/usr.bin/w/w.c
> +++ b/usr.bin/w/w.c
> @@ -57,7 +57,6 @@ static const char sccsid[] =3D "@(#)w.c	8.4 (Berkeley) =
4/16/94";
>  #include <sys/socket.h>
>  #include <sys/tty.h>
>=20
> -#include <machine/cpu.h>
>  #include <netinet/in.h>
>  #include <arpa/inet.h>
>  #include <arpa/nameser.h>

Both proposals are obviously fine. Some research with git blame traces
the include presence in the w.c to the 4.4 Lite import.

What I do not understand is why do you spam lists instead of
commmitting the obvious changes ?

--CLy2MrvMHpW9mjhY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAlBxjYYACgkQC3+MBN1Mb4gbZACgjj5XP4xZJPDVQkz/9t13TBA8
QDsAnR8v1n5IgnKkqOkgzq802v6pwA8m
=e9Kw
-----END PGP SIGNATURE-----

--CLy2MrvMHpW9mjhY--

From owner-freebsd-hackers@FreeBSD.ORG  Sun Oct  7 14:22:10 2012
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Delivered-To: freebsd-hackers@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id DCD56106570F
	for <freebsd-hackers@freebsd.org>; Sun,  7 Oct 2012 14:22:10 +0000 (UTC)
	(envelope-from lists@eitanadler.com)
Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com
	[209.85.220.54])
	by mx1.freebsd.org (Postfix) with ESMTP id A53368FC14
	for <freebsd-hackers@freebsd.org>; Sun,  7 Oct 2012 14:22:10 +0000 (UTC)
Received: by mail-pa0-f54.google.com with SMTP id bi1so3593847pad.13
	for <freebsd-hackers@freebsd.org>; Sun, 07 Oct 2012 07:22:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=eitanadler.com; s=0xdeadbeef;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type;
	bh=63fq90DDONBRRVjHb2cXdj9MMe2ka3/CyO6LDH4bRAg=;
	b=sJ5M6Lf/OrFbr6oH0RwLsypPmnz+7rM9GcZbXnFa68aQhr+IYY4l6RWEhdypjq/akT
	juPZsLHA+Tw45fu1BGZuxYoQ1Q16CTbB2HalbueCPQEw9Hsu/81tK3GKrI21Lvqg3LHC
	alEUauzfpLnoLLFj/VWgf+SJnjPMq3Yf6dIhs=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type:x-gm-message-state;
	bh=63fq90DDONBRRVjHb2cXdj9MMe2ka3/CyO6LDH4bRAg=;
	b=EGxHc3PUhOjbOsLYeCrOyk+5oZ9xSlggKMYwITPwRhzo1qKOpOioPW0b7Ck0MGhp51
	bGax1OEXQT0YQd0DNBd5UvxDtgGk/nykcisKu3GTEWs1d4nXvYge4qOIa06e3ABecomw
	XMwwbWg1VujfK4NJ6ZZ/yGPhbFcYSLK6NjhuKJo7lwqqb33MbuHVj3QxKzPzRS+/By1I
	vlRXynOLnMX8j+pr0b7pxyu8Rb4KCGFI2yLnGLQbPURCwNR/LGZiuF9m+pg4MxCREoOV
	ZziApng9lO70PPuM8VHUWYigXGRFR/3ZUVEed3jsNnuUyo7mhBiXFDswbKkgOc9DBMcH
	SiIg==
Received: by 10.66.86.2 with SMTP id l2mr36225740paz.70.1349619729740; Sun, 07
	Oct 2012 07:22:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.161.163 with HTTP; Sun, 7 Oct 2012 07:21:38 -0700 (PDT)
In-Reply-To: <20121007141118.GW35915@deviant.kiev.zoral.com.ua>
References: <507172DA.2020309@FreeBSD.org>
	<20121007141118.GW35915@deviant.kiev.zoral.com.ua>
From: Eitan Adler <lists@eitanadler.com>
Date: Sun, 7 Oct 2012 10:21:38 -0400
Message-ID: <CAF6rxg=j2Fq_XxydoC2XWS+xS2vh58RTUkk0Qm1AKzF8thmW9g@mail.gmail.com>
To: Konstantin Belousov <kostikbel@gmail.com>
Content-Type: text/plain; charset=UTF-8
X-Gm-Message-State: ALoCoQlEapypI34uD0bu7BTbt6yRBnCicdOjcySGyBZ0UiyYUohLm6Iop5IzH0HiX40hvBWizslT
Cc: freebsd-hackers <freebsd-hackers@freebsd.org>,
	Andriy Gapon <avg@freebsd.org>
Subject: Re: machine/cpu.h in userland
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
	<freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
	<mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
	<mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Oct 2012 14:22:11 -0000

On 7 October 2012 10:11, Konstantin Belousov <kostikbel@gmail.com> wrote:
> What I do not understand is why do you spam lists instead of
> commmitting the obvious changes ?

It is not spam to ask for review. He was uncertain, and asked for some
clarification.



-- 
Eitan Adler

From owner-freebsd-hackers@FreeBSD.ORG  Sun Oct  7 17:06:27 2012
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Delivered-To: freebsd-hackers@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id E5C9B1065670
	for <freebsd-hackers@freebsd.org>; Sun,  7 Oct 2012 17:06:27 +0000 (UTC)
	(envelope-from wojtek@wojtek.tensor.gdynia.pl)
Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99])
	by mx1.freebsd.org (Postfix) with ESMTP id 19AEB8FC08
	for <freebsd-hackers@freebsd.org>; Sun,  7 Oct 2012 17:06:26 +0000 (UTC)
Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1])
	by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q97H0RMq016006;
	Sun, 7 Oct 2012 19:00:27 +0200 (CEST)
	(envelope-from wojtek@wojtek.tensor.gdynia.pl)
Received: from localhost (wojtek@localhost)
	by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id
	q97H0QL4016003; Sun, 7 Oct 2012 19:00:27 +0200 (CEST)
	(envelope-from wojtek@wojtek.tensor.gdynia.pl)
Date: Sun, 7 Oct 2012 19:00:26 +0200 (CEST)
From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To: Brandon Falk <bfalk_bsd@brandonfa.lk>
In-Reply-To: <5069C9FC.6020400@brandonfa.lk>
Message-ID: <alpine.BSF.2.00.1210071859430.15957@wojtek.tensor.gdynia.pl>
References: <5069C9FC.6020400@brandonfa.lk>
User-Agent: Alpine 2.00 (BSF 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7
	(wojtek.tensor.gdynia.pl [127.0.0.1]);
	Sun, 07 Oct 2012 19:00:27 +0200 (CEST)
Cc: freebsd-hackers@freebsd.org
Subject: Re: SMP Version of tar
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
	<freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
	<mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
	<mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Oct 2012 17:06:28 -0000

> I would be willing to work on a SMP version of tar (initially just gzip or 
> something).
>
> I don't have the best experience in compression, and how to multi-thread it, 
> but I think I would be able to learn and help out.

gzip cannot - it is single stream.

bzip2 - no idea

grzip (from ports, i use it) - can be multithreaded as it packs using 
fixed large chunks.

From owner-freebsd-hackers@FreeBSD.ORG  Sun Oct  7 17:51:55 2012
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Delivered-To: freebsd-hackers@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id DE47B1065728
	for <freebsd-hackers@freebsd.org>; Sun,  7 Oct 2012 17:51:55 +0000 (UTC)
	(envelope-from tim@kientzle.com)
Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net
	[99.115.135.74])
	by mx1.freebsd.org (Postfix) with ESMTP id B86A48FC1C
	for <freebsd-hackers@freebsd.org>; Sun,  7 Oct 2012 17:51:55 +0000 (UTC)
Received: (from root@localhost)
	by monday.kientzle.com (8.14.4/8.14.4) id q97HpkUQ017185;
	Sun, 7 Oct 2012 17:51:46 GMT (envelope-from tim@kientzle.com)
Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65])
	by kientzle.com with SMTP id 64ke244kk3upjc7r2g7je68tq6;
	Sun, 07 Oct 2012 17:51:46 +0000 (UTC)
	(envelope-from tim@kientzle.com)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Tim Kientzle <tim@kientzle.com>
In-Reply-To: <alpine.BSF.2.00.1210071859430.15957@wojtek.tensor.gdynia.pl>
Date: Sun, 7 Oct 2012 10:52:27 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <324B736D-8961-4E44-A212-2ECF3E60F2A0@kientzle.com>
References: <5069C9FC.6020400@brandonfa.lk>
	<alpine.BSF.2.00.1210071859430.15957@wojtek.tensor.gdynia.pl>
To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
X-Mailer: Apple Mail (2.1278)
Cc: freebsd-hackers@freebsd.org, Brandon Falk <bfalk_bsd@brandonfa.lk>
Subject: Re: SMP Version of tar
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
	<freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
	<mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
	<mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Oct 2012 17:51:56 -0000

On Oct 7, 2012, at 10:00 AM, Wojciech Puchar wrote:

>> I would be willing to work on a SMP version of tar (initially just =
gzip or something).
>>=20
>> I don't have the best experience in compression, and how to =
multi-thread it, but I think I would be able to learn and help out.
>=20
> gzip cannot - it is single stream.

gunzip commutes with cat, so gzip
compression can be multi-threaded
by compressing separate blocks and
concatenating the result.

For proof, look at Mark Adler's pigz
program, which does exactly this.

GZip decompression is admittedly trickier.


> bzip2 - no idea

bzip2 is block oriented and can be multi-threaded for both compression =
and decompression.


Tim


