Re: svn commit: r284167 - head/sys/i386/i386

2015-06-08 Thread Bruce Evans
On Mon, 8 Jun 2015, Dimitry Andric wrote: Log: Merge r283870 from amd64: Remove unneeded NULL checks in trap_fatal(). Since td_name is an array member of struct thread, it can never be NULL, so the check can be removed. In addition, curproc can never be NULL, so remove the if statement,

Re: svn commit: r284163 - head/bin/cp

2015-06-08 Thread Bruce Evans
On Mon, 8 Jun 2015, Bryan Drewery wrote: Log: Cleanup some style(9) issues. - Whitespace. - Comments. - Wrap long lines. cp's style had a remarlable amount of bitrot. This change unimproves it in some places. "Clean up" is 2 words. Modified: head/bin/cp/cp.c ==

Re: svn commit: r284157 - head/sys/kern

2015-06-08 Thread Bruce Evans
On Mon, 8 Jun 2015, Ed Maste wrote: Log: Add user facing errors for exceeding process memory limits Previously the process terminating with SIGABRT at startup was the only notification. I don't like this. Errrors in syscalls should be reported by returning an error code, not by spamming t

svn commit: r284174 - head/sys/amd64/vmm/intel

2015-06-08 Thread Tycho Nightingale
Author: tychon Date: Tue Jun 9 00:14:47 2015 New Revision: 284174 URL: https://svnweb.freebsd.org/changeset/base/284174 Log: Support guest writes to the TSC by enabling the "use TSC offsetting" execution control and writing the difference between the host TSC and the guest TSC into the TSC

Re: svn commit: r284049 - in head/sys: dev/ixl modules/ixl modules/ixlv

2015-06-08 Thread Jack Vogel
I did not realize this, but there is an update utility on our public site, this will update your hardware to the latest released version of FW provided its an OEM generic product, if you have another OEM specific adapter (say HP or Dell...), then you will need to get the update from them. https://

svn commit: r284169 - head/tools/bus_space

2015-06-08 Thread Marcel Moolenaar
Author: marcel Date: Mon Jun 8 22:01:34 2015 New Revision: 284169 URL: https://svnweb.freebsd.org/changeset/base/284169 Log: Map the allocated DMA memory into the address space. Modified: head/tools/bus_space/busdma.c Modified: head/tools/bus_space/busdma.c =

svn commit: r284168 - head/sys/dev/proto

2015-06-08 Thread Marcel Moolenaar
Author: marcel Date: Mon Jun 8 21:47:44 2015 New Revision: 284168 URL: https://svnweb.freebsd.org/changeset/base/284168 Log: Implement mmap(2) for the busdma resource. Modified: head/sys/dev/proto/proto_busdma.c head/sys/dev/proto/proto_busdma.h head/sys/dev/proto/proto_core.c Modified:

Re: svn commit: r284166 - head/sys/compat/linux

2015-06-08 Thread Chagin Dmitry
On Mon, Jun 08, 2015 at 08:03:16PM +, Jung-uk Kim wrote: > Author: jkim > Date: Mon Jun 8 20:03:15 2015 > New Revision: 284166 > URL: https://svnweb.freebsd.org/changeset/base/284166 > > Log: > Properly initialize flags for accept4(2) not to return spurious EINVAL. > Note this fixes a Lin

svn commit: r284167 - head/sys/i386/i386

2015-06-08 Thread Dimitry Andric
Author: dim Date: Mon Jun 8 20:12:44 2015 New Revision: 284167 URL: https://svnweb.freebsd.org/changeset/base/284167 Log: Merge r283870 from amd64: Remove unneeded NULL checks in trap_fatal(). Since td_name is an array member of struct thread, it can never be NULL, so the check can

svn commit: r284166 - head/sys/compat/linux

2015-06-08 Thread Jung-uk Kim
Author: jkim Date: Mon Jun 8 20:03:15 2015 New Revision: 284166 URL: https://svnweb.freebsd.org/changeset/base/284166 Log: Properly initialize flags for accept4(2) not to return spurious EINVAL. Note this fixes a Linuxulator regression introduced in r283490. PR: 200662 Modifie

svn commit: r284165 - in head: contrib/top usr.bin/top

2015-06-08 Thread Marcel Moolenaar
Author: marcel Date: Mon Jun 8 19:45:24 2015 New Revision: 284165 URL: https://svnweb.freebsd.org/changeset/base/284165 Log: Move contrib/top/top.X to contrib/top/top.xs and move contrib/top/top.local.H to contrib/top/top.local.hs. This fixes a build breakage when src is on a case- insens

svn commit: r284164 - in stable: 10/sys/amd64/amd64 9/sys/amd64/amd64

2015-06-08 Thread Dimitry Andric
Author: dim Date: Mon Jun 8 19:44:04 2015 New Revision: 284164 URL: https://svnweb.freebsd.org/changeset/base/284164 Log: MFC r283870: Remove unneeded NULL checks in amd64's trap_fatal(). Since td_name is an array member of struct thread, it can never be NULL, so the check can be re

svn commit: r284164 - in stable: 10/sys/amd64/amd64 9/sys/amd64/amd64

2015-06-08 Thread Dimitry Andric
Author: dim Date: Mon Jun 8 19:44:04 2015 New Revision: 284164 URL: https://svnweb.freebsd.org/changeset/base/284164 Log: MFC r283870: Remove unneeded NULL checks in amd64's trap_fatal(). Since td_name is an array member of struct thread, it can never be NULL, so the check can be re

svn commit: r284163 - head/bin/cp

2015-06-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Jun 8 19:24:18 2015 New Revision: 284163 URL: https://svnweb.freebsd.org/changeset/base/284163 Log: Cleanup some style(9) issues. - Whitespace. - Comments. - Wrap long lines. MFC after:2 weeks X-MFC-with: r284105,r284106 Sponsored by: EMC / Isi

svn commit: r284162 - head/bin/ls

2015-06-08 Thread Xin LI
Author: delphij Date: Mon Jun 8 19:13:04 2015 New Revision: 284162 URL: https://svnweb.freebsd.org/changeset/base/284162 Log: It has been long time that when doing 'ls -G /path/to/a/symlink', instead of using the color of symbolic link, the color is determined by the link target. This behav

svn commit: r284161 - stable/9/bin/ps

2015-06-08 Thread John Baldwin
Author: jhb Date: Mon Jun 8 18:59:14 2015 New Revision: 284161 URL: https://svnweb.freebsd.org/changeset/base/284161 Log: MFC 233665: (just to ps.1) mandoc complains loudly when s are misused in columnated lists. Fix this syntax violation and while I'm here also convert to Ta and adjust

Re: svn commit: r284153 - head/sys/kern

2015-06-08 Thread John Baldwin
On Monday, June 08, 2015 03:46:29 PM Ruslan Bukin wrote: > For some reason it hangs for me after 'random' lines on arm64 Are you using dtrace? It looks like sdt was using the public symbol before but in a context where the caller held the lock. I will revert this for now. I think I can perhaps m

svn commit: r284160 - head/sys/kern

2015-06-08 Thread John Baldwin
Author: jhb Date: Mon Jun 8 18:06:00 2015 New Revision: 284160 URL: https://svnweb.freebsd.org/changeset/base/284160 Log: Revert r284153, as I believe it breaks the dtrace sdt module. I will fix the original issue a different way. Modified: head/sys/kern/kern_linker.c Modified: head/sys/

Re: svn commit: r284146 - in head/tools/bus_space: . C Python

2015-06-08 Thread John-Mark Gurney
Marcel Moolenaar wrote this message on Sun, Jun 07, 2015 at 22:10 -0700: > > On Jun 7, 2015, at 9:52 PM, Bruce Simpson wrote: > > > > Marcel, > > > > On Mon, 8 Jun 2015, at 04:23, Marcel Moolenaar wrote: > >> Log: > >> Add busdma_mem_alloc & busdma_mem_free. > > > > Nice! Is there a man page o

svn commit: r284159 - head/sys/amd64/linux

2015-06-08 Thread Dmitry Chagin
Author: dchagin Date: Mon Jun 8 17:39:25 2015 New Revision: 284159 URL: https://svnweb.freebsd.org/changeset/base/284159 Log: Futex is an aligned 32-bit integer. Use the proper instruction and operand when dereferencing futex pointer. Modified: head/sys/amd64/linux/linux_support.s Modifie

svn commit: r284158 - stable/10/sys/cam/ctl

2015-06-08 Thread Alexander Motin
Author: mav Date: Mon Jun 8 16:24:43 2015 New Revision: 284158 URL: https://svnweb.freebsd.org/changeset/base/284158 Log: MFC r284044: Fix wrong function name in error message. Modified: stable/10/sys/cam/ctl/ctl.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys

svn commit: r284157 - head/sys/kern

2015-06-08 Thread Ed Maste
Author: emaste Date: Mon Jun 8 16:07:07 2015 New Revision: 284157 URL: https://svnweb.freebsd.org/changeset/base/284157 Log: Add user facing errors for exceeding process memory limits Previously the process terminating with SIGABRT at startup was the only notification. PR:

svn commit: r284156 - stable/10/release/arm

2015-06-08 Thread Glen Barber
Author: gjb Date: Mon Jun 8 15:24:24 2015 New Revision: 284156 URL: https://svnweb.freebsd.org/changeset/base/284156 Log: MFC r283920, r283991, r283992, r284102: r283920: Add a configuration file to support the Cubox/Hummingboard SoC. r283991: Add initial support for building im

Re: svn commit: r284153 - head/sys/kern

2015-06-08 Thread Ruslan Bukin
For some reason it hangs for me after 'random' lines on arm64 FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525 CPU: ARM Cortex-A57 r1p0 IMPLEMENT ME: dtrace_toxic_ranges random: entropy device infrastructure driver random: selecting highest priority adaptor On Mon, Jun 08, 20

svn commit: r284155 - stable/10/release/tools

2015-06-08 Thread Glen Barber
Author: gjb Date: Mon Jun 8 15:12:47 2015 New Revision: 284155 URL: https://svnweb.freebsd.org/changeset/base/284155 Log: MFC r283896: In arm_create_disk(), disable soft updates journaling. Disabling soft updates journaling appears to resolve issues with kernel panics, and may also

svn commit: r284154 - stable/10/release/tools

2015-06-08 Thread Glen Barber
Author: gjb Date: Mon Jun 8 15:08:09 2015 New Revision: 284154 URL: https://svnweb.freebsd.org/changeset/base/284154 Log: MFC r283894, r283895, r283913, r284004, r284010: r283894 [1]: Disable arm_create_user(). r283895 [1]: Re-enable arm_create_user(), and pass the '-V DESTD

svn commit: r284153 - head/sys/kern

2015-06-08 Thread John Baldwin
Author: jhb Date: Mon Jun 8 14:06:47 2015 New Revision: 284153 URL: https://svnweb.freebsd.org/changeset/base/284153 Log: Add an internal "locked" variant of linker_file_lookup_set() and change the public function to acquire the global linker lock directly. This permits linker_file_lookup_

svn commit: r284152 - in head: share/man/man4 sys/conf sys/modules/geom/geom_map

2015-06-08 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 8 13:23:56 2015 New Revision: 284152 URL: https://svnweb.freebsd.org/changeset/base/284152 Log: Add makefile to build geom_map kld. Document some GEOM_* options in NOTES and geom(4). Added: head/sys/modules/geom/geom_map/ head/sys/modules/geom/geom_map/Makefile

svn commit: r284151 - head/sys/geom/part

2015-06-08 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 8 12:52:41 2015 New Revision: 284151 URL: https://svnweb.freebsd.org/changeset/base/284151 Log: Teach G_PART_GPT class to handle g_resize_provider event. MFC after:10 days Modified: head/sys/geom/part/g_part_gpt.c Modified: head/sys/geom/part/g_part_gpt.c =

svn commit: r284150 - stable/10/sys/netinet

2015-06-08 Thread Michael Tuexen
Author: tuexen Date: Mon Jun 8 07:06:33 2015 New Revision: 284150 URL: https://svnweb.freebsd.org/changeset/base/284150 Log: MFC r283988: Export a pointer to the SCTP socket. This is needed to add SCTP support to sockstat. Modified: stable/10/sys/netinet/sctp_sysctl.c stable/10/sys/