Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Harrison Grundy
On 03/02/15 11:55, Julian Elischer wrote: On 3/2/15 5:27 AM, Alfred Perlstein wrote: On 3/2/15 4:14 AM, Julian Elischer wrote: On 3/1/15 10:49 AM, Harrison Grundy wrote: Thanks! That does seem useful, but I'm not sure I see the reasoning behind putting into base, over a port or package,

Re: Doing zero-copy stuff in drivers, or is vm_fault_quick_hold_pages() enough ?

2015-03-02 Thread K. Macy
On Mon, Mar 2, 2015 at 12:42 PM, Adrian Chadd adr...@freebsd.org wrote: Hi, gonzo@ committed a fix (r278615) to the videocore driver for the raspberry pi. The fix involved doing an explicit wire of pages that were about to be passed down to the hardware to send to the videobuffer hardware.

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Adrian Chadd
.. we can/should do both. Just make sure the json/html/xml output is versioned, otherwise you're going to end up with /exactly the same problems/ you have with the current format. -adrian ___ freebsd-current@freebsd.org mailing list

Re: sa(4) driver changes available for test

2015-03-02 Thread Dan Langille
On Mar 2, 2015, at 2:47 PM, Dan Langille d...@langille.org wrote: On Mar 2, 2015, at 2:07 PM, Dan Langille d...@langille.org wrote: On Mar 2, 2015, at 12:28 PM, Kenneth D. Merry k...@freebsd.org wrote: On Mon, Mar 02, 2015 at 11:44:09 -0500, Dan Langille wrote: On Mar 2, 2015, at

Re: sa(4) driver changes available for test

2015-03-02 Thread Dan Langille
On Mar 2, 2015, at 4:42 PM, Kenneth D. Merry k...@freebsd.org wrote: On Mon, Mar 02, 2015 at 16:34:34 -0500, Dan Langille wrote: On Mar 2, 2015, at 2:47 PM, Dan Langille d...@langille.org wrote: On Mar 2, 2015, at 2:07 PM, Dan Langille d...@langille.org wrote: On Mar 2, 2015, at

Re: sa(4) driver changes available for test

2015-03-02 Thread Kenneth D. Merry
On Mon, Mar 02, 2015 at 16:34:34 -0500, Dan Langille wrote: On Mar 2, 2015, at 2:47 PM, Dan Langille d...@langille.org wrote: On Mar 2, 2015, at 2:07 PM, Dan Langille d...@langille.org wrote: On Mar 2, 2015, at 12:28 PM, Kenneth D. Merry k...@freebsd.org wrote: On Mon, Mar

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Alfred Perlstein
On 3/2/15 4:57 PM, Adrian Chadd wrote: .. we can/should do both. Just make sure the json/html/xml output is versioned, otherwise you're going to end up with /exactly the same problems/ you have with the current format. +1 -Alfred ___

Re: Doing zero-copy stuff in drivers, or is vm_fault_quick_hold_pages() enough ?

2015-03-02 Thread K. Macy
Right above vm_page_hold(): /* * Keep page from being freed by the page daemon * much of the same effect as wiring, except much lower * overhead and should be used only for *very* temporary * holding (wiring). */ What's the definition of very temporary holding ? What's the

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Alfred Perlstein
On Mar 2, 2015, at 4:22 PM, Andrey Chernov a...@freebsd.org wrote: On 02.03.2015 22:55, Julian Elischer wrote: On 3/2/15 5:27 AM, Alfred Perlstein wrote: On 3/2/15 4:14 AM, Julian Elischer wrote: On 3/1/15 10:49 AM, Harrison Grundy wrote: Thanks! That does seem useful, but I'm not

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Alfred Perlstein
On Mar 2, 2015, at 6:27 PM, Andrey Chernov a...@freebsd.org wrote: The responsibility is on you to provide something better, both the architecture AND code. So if you want it backed out, then write something better. Otherwise step back and let progress happen. As it seems you know a

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Andrey Chernov
On 03.03.2015 4:45, Alfred Perlstein wrote: On Mar 2, 2015, at 5:37 PM, Andrey Chernov a...@freebsd.org wrote: On 03.03.2015 4:30, Alfred Perlstein wrote: On Mar 2, 2015, at 4:22 PM, Andrey Chernov a...@freebsd.org wrote: On 02.03.2015 22:55, Julian Elischer wrote: On 3/2/15 5:27 AM,

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Alfred Perlstein
On Mar 2, 2015, at 7:14 PM, Julian Elischer jul...@freebsd.org wrote: On 3/2/15 5:30 PM, Alfred Perlstein wrote: On Mar 2, 2015, at 4:22 PM, Andrey Chernov a...@freebsd.org wrote: On 02.03.2015 22:55, Julian Elischer wrote: On 3/2/15 5:27 AM, Alfred Perlstein wrote: On 3/2/15

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Mehmet Erol Sanliturk
On Mon, Mar 2, 2015 at 3:45 PM, Alfred Perlstein bri...@mu.org wrote: On 3/2/15 4:57 PM, Adrian Chadd wrote: .. we can/should do both. Just make sure the json/html/xml output is versioned, otherwise you're going to end up with /exactly the same problems/ you have with the current format.

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Allan Jude
On 2015-03-02 19:22, Andrey Chernov wrote: On 02.03.2015 22:55, Julian Elischer wrote: On 3/2/15 5:27 AM, Alfred Perlstein wrote: On 3/2/15 4:14 AM, Julian Elischer wrote: On 3/1/15 10:49 AM, Harrison Grundy wrote: Thanks! That does seem useful, but I'm not sure I see the reasoning behind

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Andrey Chernov
On 03.03.2015 3:48, Allan Jude wrote: On 2015-03-02 19:22, Andrey Chernov wrote: On 02.03.2015 22:55, Julian Elischer wrote: On 3/2/15 5:27 AM, Alfred Perlstein wrote: On 3/2/15 4:14 AM, Julian Elischer wrote: On 3/1/15 10:49 AM, Harrison Grundy wrote: Thanks! That does seem useful, but

Re: Doing zero-copy stuff in drivers, or is vm_fault_quick_hold_pages() enough ?

2015-03-02 Thread Adrian Chadd
On 2 March 2015 at 16:12, K. Macy km...@freebsd.org wrote: Right above vm_page_hold(): /* * Keep page from being freed by the page daemon * much of the same effect as wiring, except much lower * overhead and should be used only for *very* temporary * holding (wiring). */ What's the

Re: Doing zero-copy stuff in drivers, or is vm_fault_quick_hold_pages() enough ?

2015-03-02 Thread Konstantin Belousov
On Mon, Mar 02, 2015 at 04:17:03PM -0800, Adrian Chadd wrote: On 2 March 2015 at 16:12, K. Macy km...@freebsd.org wrote: Right above vm_page_hold(): /* * Keep page from being freed by the page daemon * much of the same effect as wiring, except much lower * overhead and should be used

Re: Doing zero-copy stuff in drivers, or is vm_fault_quick_hold_pages() enough ?

2015-03-02 Thread Adrian Chadd
On 2 March 2015 at 16:25, Konstantin Belousov kostik...@gmail.com wrote: Ok, but is there a specific time length that this should be? Difference between hold and wire is effectively that held pages are still kept on the page queues, providing potentially uneccessary work for pagedaemon to

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Andrey Chernov
On 03.03.2015 4:30, Alfred Perlstein wrote: On Mar 2, 2015, at 4:22 PM, Andrey Chernov a...@freebsd.org wrote: On 02.03.2015 22:55, Julian Elischer wrote: On 3/2/15 5:27 AM, Alfred Perlstein wrote: On 3/2/15 4:14 AM, Julian Elischer wrote: On 3/1/15 10:49 AM, Harrison Grundy wrote:

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Andrey Chernov
On 02.03.2015 22:55, Julian Elischer wrote: On 3/2/15 5:27 AM, Alfred Perlstein wrote: On 3/2/15 4:14 AM, Julian Elischer wrote: On 3/1/15 10:49 AM, Harrison Grundy wrote: Thanks! That does seem useful, but I'm not sure I see the reasoning behind putting into base, over a port or package,

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Steve Kargl
On Mon, Mar 02, 2015 at 05:30:31PM -0800, Alfred Perlstein wrote: Read the library. It doesn't care what output format it needs. It is up to the translation layer to do it. You could even do a csv format or most any other structured output format without changing the userland utils.

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Julian Elischer
On 3/2/15 5:30 PM, Alfred Perlstein wrote: On Mar 2, 2015, at 4:22 PM, Andrey Chernov a...@freebsd.org wrote: On 02.03.2015 22:55, Julian Elischer wrote: On 3/2/15 5:27 AM, Alfred Perlstein wrote: On 3/2/15 4:14 AM, Julian Elischer wrote: On 3/1/15 10:49 AM, Harrison Grundy wrote:

Re: Doing zero-copy stuff in drivers, or is vm_fault_quick_hold_pages() enough ?

2015-03-02 Thread Adrian Chadd
On 2 March 2015 at 15:05, K. Macy km...@freebsd.org wrote: On Mon, Mar 2, 2015 at 12:42 PM, Adrian Chadd adr...@freebsd.org wrote: Hi, gonzo@ committed a fix (r278615) to the videocore driver for the raspberry pi. The fix involved doing an explicit wire of pages that were about to be passed

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Alfred Perlstein
On Mar 2, 2015, at 5:37 PM, Andrey Chernov a...@freebsd.org wrote: On 03.03.2015 4:30, Alfred Perlstein wrote: On Mar 2, 2015, at 4:22 PM, Andrey Chernov a...@freebsd.org wrote: On 02.03.2015 22:55, Julian Elischer wrote: On 3/2/15 5:27 AM, Alfred Perlstein wrote: On 3/2/15

Jenkins build became unstable: FreeBSD_HEAD-tests2 #798

2015-03-02 Thread jenkins-admin
See https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2/798/ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

nvidia+HEAD amd64 trouble

2015-03-02 Thread Sergey V. Dyatko
Hi, I have Lenovo IdeaPad z400 touch laptop. It have GeForce GT 635M graphics card. Also it have integrated Intel card agp0: IvyBridge mobile GT2 IG on vgapci0 agp0: aperture size is 256M, detected 65532k stolen memory when I enable nvidia on laptop bios and trying to use it I got following

Jenkins build is back to stable : FreeBSD_HEAD-tests2 #799

2015-03-02 Thread jenkins-admin
See https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2/799/ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread David Chisnall
On 1 Mar 2015, at 21:29, Rui Paulo rpa...@me.com wrote: On Mar 1, 2015, at 11:11, David Chisnall thera...@freebsd.org wrote: How would it be in a port? It involves modifying core utilities (some of which, like ifconfig, rely on kernel APIs that change between releases) to emit structured

Doing zero-copy stuff in drivers, or is vm_fault_quick_hold_pages() enough ?

2015-03-02 Thread Adrian Chadd
Hi, gonzo@ committed a fix (r278615) to the videocore driver for the raspberry pi. The fix involved doing an explicit wire of pages that were about to be passed down to the hardware to send to the videobuffer hardware. It turns out that doing vm_fault_quick_hold_pages() wasn't enough - the pages

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Alfred Perlstein
On 3/2/15 4:25 AM, David Chisnall wrote: On 2 Mar 2015, at 09:16, Julian Elischer jul...@freebsd.org wrote: if we develop a suitable post processor with pluggable grammars, we save a lot of work. given enough examples you could almost have automatically generated grammars. This decoupled

Re: r279514: buildworld failure: /usr/src/lib/libnv/tests/dnv_tests.cc:453:2: error: use of overloaded operator '' is ambiguous

2015-03-02 Thread Ryan Stone
Can you post the contents of your make.conf and src.conf? I didn't see this in any of my make tinderbox runs ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to

Re: FreeBSD FUSE calls truncate() on read-only files

2015-03-02 Thread Julian Elischer
On 2/27/15 7:32 AM, Benjamin Kaduk wrote: On Fri, 27 Feb 2015, Julian Elischer wrote: for example it caches information when it shouldn't, even from 'dynamic' file systems We had to change the code to disable it as our data is synthetic and might change between reads. fstat info is also

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Arseny Nasokin
On 2 March 2015 at 04:47, Allan Jude allanj...@freebsd.org wrote: On 2015-03-01 19:20, Arseny Nasokin wrote: On 1 March 2015 at 22:10, Allan Jude allanj...@freebsd.org wrote: On 2015-03-01 13:49, Harrison Grundy wrote: Thanks! That does seem useful, but I'm not sure I see the

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Harrison Grundy
On 03/02/15 01:23, David Chisnall wrote: On 1 Mar 2015, at 21:29, Rui Paulo rpa...@me.com wrote: On Mar 1, 2015, at 11:11, David Chisnall thera...@freebsd.org wrote: How would it be in a port? It involves modifying core utilities (some of which, like ifconfig, rely on kernel APIs that

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Alfred Perlstein
On 3/2/15 4:14 AM, Julian Elischer wrote: On 3/1/15 10:49 AM, Harrison Grundy wrote: Thanks! That does seem useful, but I'm not sure I see the reasoning behind putting into base, over a port or package, since processing XML in base is a pain, and it can't serve up JSON or HTML without

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread David Chisnall
On 2 Mar 2015, at 09:24, Harrison Grundy harrison.gru...@astrodoggroup.com wrote: It would seem like the libxo stuff runs the risk of becoming this same API. Why? The 'API' in the case of an libxo-ised program is a stream on stdout that is then consumed by a JSON or XML parser. XML and

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread David Chisnall
On 2 Mar 2015, at 09:16, Julian Elischer jul...@freebsd.org wrote: if we develop a suitable post processor with pluggable grammars, we save a lot of work. given enough examples you could almost have automatically generated grammars. This decoupled approach is problematic. A large part of

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Julian Elischer
On 3/1/15 11:10 AM, Allan Jude wrote: On 2015-03-01 13:49, Harrison Grundy wrote: Thanks! That does seem useful, but I'm not sure I see the reasoning behind putting into base, over a port or package, since processing XML in base is a pain, and it can't serve up JSON or HTML without additional

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Julian Elischer
On 3/1/15 10:49 AM, Harrison Grundy wrote: Thanks! That does seem useful, but I'm not sure I see the reasoning behind putting into base, over a port or package, since processing XML in base is a pain, and it can't serve up JSON or HTML without additional utilities anyway. (If I'm reviving a

r279514: buildworld failure: /usr/src/lib/libnv/tests/dnv_tests.cc:453:2: error: use of overloaded operator '' is ambiguous

2015-03-02 Thread O. Hartmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Buildworld fails in CURRENT r279514 with the following error: [...] - --- sbin.all__D --- - --- camcontrol.o --- cc -O2 -pipe -O3 -O3 -pipe -march=native -std=gnu99 -fstack-protector - -Wsystem-headers -Werror -Wall -Wno-format-y2k -W

Re: sa(4) driver changes available for test

2015-03-02 Thread Dan Langille
On Mar 1, 2015, at 9:29 PM, Kenneth D. Merry k...@freebsd.org wrote: On Sun, Mar 01, 2015 at 19:41:07 -0500, Dan Langille wrote: On Mar 1, 2015, at 7:31 PM, Kenneth D. Merry k...@freebsd.org wrote: On Sun, Mar 01, 2015 at 19:15:05 -0500, Dan Langille wrote: On Feb 17, 2015, at 1:36

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Chris H
On Mon, 2 Mar 2015 09:23:55 + David Chisnall thera...@freebsd.org wrote On 1 Mar 2015, at 21:29, Rui Paulo rpa...@me.com wrote: On Mar 1, 2015, at 11:11, David Chisnall thera...@freebsd.org wrote: How would it be in a port? It involves modifying core utilities (some of which, like

Re: sa(4) driver changes available for test

2015-03-02 Thread Kenneth D. Merry
On Mon, Mar 02, 2015 at 11:09:57 -0500, Dan Langille wrote: On Mar 1, 2015, at 9:29 PM, Kenneth D. Merry k...@freebsd.org wrote: On Sun, Mar 01, 2015 at 19:41:07 -0500, Dan Langille wrote: On Mar 1, 2015, at 7:31 PM, Kenneth D. Merry k...@freebsd.org wrote: On Sun, Mar 01, 2015

Re: sa(4) driver changes available for test

2015-03-02 Thread Dan Langille
On Mar 2, 2015, at 11:31 AM, Kenneth D. Merry k...@freebsd.org wrote: On Mon, Mar 02, 2015 at 11:09:57 -0500, Dan Langille wrote: On Mar 1, 2015, at 9:29 PM, Kenneth D. Merry k...@freebsd.org wrote: On Sun, Mar 01, 2015 at 19:41:07 -0500, Dan Langille wrote: On Mar 1, 2015, at 7:31

Re: sa(4) driver changes available for test

2015-03-02 Thread Dan Langille
On Mar 1, 2015, at 9:06 PM, Kenneth D. Merry k...@freebsd.org wrote: On Sun, Mar 01, 2015 at 19:40:40 -0500, Dan Langille wrote: On Mar 1, 2015, at 7:36 PM, Kenneth D. Merry k...@freebsd.org wrote: On Sun, Mar 01, 2015 at 19:28:37 -0500, Dan Langille wrote: On Mar 1, 2015, at 7:18

Re: sa(4) driver changes available for test

2015-03-02 Thread Dan Langille
On Feb 13, 2015, at 7:32 PM, Kenneth D. Merry k...@freebsd.org wrote: I have a fairly large set of changes to the sa(4) driver and mt(1) driver that I'm planning to commit in the near future. A description of the changes is here and below in this message. If you have tape hardware

Re: sa(4) driver changes available for test

2015-03-02 Thread Kenneth D. Merry
On Mon, Mar 02, 2015 at 11:43:15 -0500, Dan Langille wrote: On Mar 1, 2015, at 9:06 PM, Kenneth D. Merry k...@freebsd.org wrote: On Sun, Mar 01, 2015 at 19:40:40 -0500, Dan Langille wrote: On Mar 1, 2015, at 7:36 PM, Kenneth D. Merry k...@freebsd.org wrote: On Sun, Mar 01, 2015

Re: sa(4) driver changes available for test

2015-03-02 Thread Kenneth D. Merry
On Mon, Mar 02, 2015 at 11:44:09 -0500, Dan Langille wrote: On Mar 2, 2015, at 11:31 AM, Kenneth D. Merry k...@freebsd.org wrote: On Mon, Mar 02, 2015 at 11:09:57 -0500, Dan Langille wrote: On Mar 1, 2015, at 9:29 PM, Kenneth D. Merry k...@freebsd.org wrote: On Sun, Mar 01, 2015

Re: sa(4) driver changes available for test

2015-03-02 Thread Kenneth D. Merry
On Mon, Mar 02, 2015 at 11:45:59 -0500, Dan Langille wrote: On Feb 13, 2015, at 7:32 PM, Kenneth D. Merry k...@freebsd.org wrote: I have a fairly large set of changes to the sa(4) driver and mt(1) driver that I'm planning to commit in the near future. A description of the

Re: sa(4) driver changes available for test

2015-03-02 Thread Dan Langille
On Mar 2, 2015, at 12:28 PM, Kenneth D. Merry k...@freebsd.org wrote: On Mon, Mar 02, 2015 at 11:44:09 -0500, Dan Langille wrote: On Mar 2, 2015, at 11:31 AM, Kenneth D. Merry k...@freebsd.org wrote: On Mon, Mar 02, 2015 at 11:09:57 -0500, Dan Langille wrote: On Mar 1, 2015, at 9:29

Re: sa(4) driver changes available for test

2015-03-02 Thread Dan Langille
On Mar 2, 2015, at 2:07 PM, Dan Langille d...@langille.org wrote: On Mar 2, 2015, at 12:28 PM, Kenneth D. Merry k...@freebsd.org wrote: On Mon, Mar 02, 2015 at 11:44:09 -0500, Dan Langille wrote: On Mar 2, 2015, at 11:31 AM, Kenneth D. Merry k...@freebsd.org wrote: On Mon, Mar 02,

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Julian Elischer
On 3/2/15 5:25 AM, Alfred Perlstein wrote: On 3/2/15 4:25 AM, David Chisnall wrote: On 2 Mar 2015, at 09:16, Julian Elischer jul...@freebsd.org wrote: if we develop a suitable post processor with pluggable grammars, we save a lot of work. given enough examples you could almost have

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Alfred Perlstein
On 3/2/15 2:53 PM, Julian Elischer wrote: On 3/2/15 5:25 AM, Alfred Perlstein wrote: On 3/2/15 4:25 AM, David Chisnall wrote: On 2 Mar 2015, at 09:16, Julian Elischer jul...@freebsd.org wrote: if we develop a suitable post processor with pluggable grammars, we save a lot of work. given

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Julian Elischer
On 3/2/15 5:27 AM, Alfred Perlstein wrote: On 3/2/15 4:14 AM, Julian Elischer wrote: On 3/1/15 10:49 AM, Harrison Grundy wrote: Thanks! That does seem useful, but I'm not sure I see the reasoning behind putting into base, over a port or package, since processing XML in base is a pain, and