Re: svn commit: r273966 - in head: share/man/man9 sys/kern sys/sys

2014-11-03 Thread Attilio Rao
On Sun, Nov 2, 2014 at 11:49 PM, Konstantin Belousov wrote: > On Sun, Nov 02, 2014 at 11:37:57PM +0100, Attilio Rao wrote: >> On Sun, Nov 2, 2014 at 10:38 PM, Konstantin Belousov >> wrote: >> > On Sun, Nov 02, 2014 at 10:17:26PM +0100, Attilio Rao wrote: >> >

Re: svn commit: r273966 - in head: share/man/man9 sys/kern sys/sys

2014-11-02 Thread Attilio Rao
On Sun, Nov 2, 2014 at 10:38 PM, Konstantin Belousov wrote: > On Sun, Nov 02, 2014 at 10:17:26PM +0100, Attilio Rao wrote: >> On Sun, Nov 2, 2014 at 8:10 PM, Konstantin Belousov >> wrote: >> > On Sun, Nov 02, 2014 at 06:53:44PM +0100, Attilio Rao wrote: >> >

Re: svn commit: r273966 - in head: share/man/man9 sys/kern sys/sys

2014-11-02 Thread Attilio Rao
On Sun, Nov 2, 2014 at 8:10 PM, Konstantin Belousov wrote: > On Sun, Nov 02, 2014 at 06:53:44PM +0100, Attilio Rao wrote: >> > I did not proposed to verify owner chain. I said that it is easy to >> > record the locks owned by current thread, only for current thread >&g

Re: svn commit: r273966 - in head: share/man/man9 sys/kern sys/sys

2014-11-02 Thread Attilio Rao
On Sun, Nov 2, 2014 at 6:53 PM, Attilio Rao wrote: > On Sun, Nov 2, 2014 at 6:49 PM, Konstantin Belousov > wrote: >> On Sun, Nov 02, 2014 at 06:07:20PM +0100, Attilio Rao wrote: >>> On Sun, Nov 2, 2014 at 5:59 PM, Konstantin Belousov >>> wrote: >>> >

Re: svn commit: r273966 - in head: share/man/man9 sys/kern sys/sys

2014-11-02 Thread Attilio Rao
On Sun, Nov 2, 2014 at 6:49 PM, Konstantin Belousov wrote: > On Sun, Nov 02, 2014 at 06:07:20PM +0100, Attilio Rao wrote: >> On Sun, Nov 2, 2014 at 5:59 PM, Konstantin Belousov >> wrote: >> > It is easy and cheap to record the set of the owned lockmgr locks for >&

Re: svn commit: r273966 - in head: share/man/man9 sys/kern sys/sys

2014-11-02 Thread Attilio Rao
On Sun, Nov 2, 2014 at 5:59 PM, Konstantin Belousov wrote: > On Sun, Nov 02, 2014 at 05:42:55PM +0100, Attilio Rao wrote: >> On Sun, Nov 2, 2014 at 5:37 PM, Konstantin Belousov >> wrote: >> > On Sun, Nov 02, 2014 at 04:54:46PM +0100, Attilio Rao wrote: >> >

Re: svn commit: r273966 - in head: share/man/man9 sys/kern sys/sys

2014-11-02 Thread Attilio Rao
On Sun, Nov 2, 2014 at 5:37 PM, Konstantin Belousov wrote: > On Sun, Nov 02, 2014 at 04:54:46PM +0100, Attilio Rao wrote: >> On Sun, Nov 2, 2014 at 2:10 PM, Konstantin Belousov wrote: >> > Author: kib >> > Date: Sun Nov 2 13:10:31 2014 >> >

Re: svn commit: r273966 - in head: share/man/man9 sys/kern sys/sys

2014-11-02 Thread Attilio Rao
On Sun, Nov 2, 2014 at 2:10 PM, Konstantin Belousov wrote: > Author: kib > Date: Sun Nov 2 13:10:31 2014 > New Revision: 273966 > URL: https://svnweb.freebsd.org/changeset/base/273966 > > Log: > Fix two issues with lockmgr(9) LK_CAN_SHARE() test, which determines > whether the shared request

Re: svn commit: r273966 - in head: share/man/man9 sys/kern sys/sys

2014-11-02 Thread Attilio Rao
On Sun, Nov 2, 2014 at 2:10 PM, Konstantin Belousov wrote: > Author: kib > Date: Sun Nov 2 13:10:31 2014 > New Revision: 273966 > URL: https://svnweb.freebsd.org/changeset/base/273966 > > Log: > Fix two issues with lockmgr(9) LK_CAN_SHARE() test, which determines > whether the shared request

Re: svn commit: r267858 - in head/sys/dev: virtio/balloon xen/balloon

2014-06-25 Thread Attilio Rao
On Wed, Jun 25, 2014 at 5:16 PM, Alfred Perlstein wrote: > On 6/25/14 5:41 AM, Attilio Rao wrote: >> >> On Wed, Jun 25, 2014 at 2:09 PM, Gleb Smirnoff >> wrote: >>> >>> On Wed, Jun 25, 2014 at 01:58:29PM +0200, Attilio Rao wrote: >>> A> >

Re: svn commit: r267858 - in head/sys/dev: virtio/balloon xen/balloon

2014-06-25 Thread Attilio Rao
On Wed, Jun 25, 2014 at 4:06 PM, Roger Pau Monné wrote: > On 25/06/14 15:44, Attilio Rao wrote: >> On Wed, Jun 25, 2014 at 3:29 PM, Roger Pau Monné wrote: >>> On 25/06/14 13:58, Attilio Rao wrote: >>>> On Wed, Jun 25, 2014 at 11:51 AM, Roger Pau Monné &g

Re: svn commit: r267858 - in head/sys/dev: virtio/balloon xen/balloon

2014-06-25 Thread Attilio Rao
On Wed, Jun 25, 2014 at 3:29 PM, Roger Pau Monné wrote: > On 25/06/14 13:58, Attilio Rao wrote: >> On Wed, Jun 25, 2014 at 11:51 AM, Roger Pau Monné wrote: >>> Author: royger >>> Date: Wed Jun 25 09:51:08 2014 >>> New Revision: 267858 >>> URL: ht

Re: svn commit: r267858 - in head/sys/dev: virtio/balloon xen/balloon

2014-06-25 Thread Attilio Rao
On Wed, Jun 25, 2014 at 2:09 PM, Gleb Smirnoff wrote: > On Wed, Jun 25, 2014 at 01:58:29PM +0200, Attilio Rao wrote: > A> > Log: > A> > xen/virtio: fix balloon drivers to not mark pages as WIRED > A> > > A> > Prevent the Xen and VirtIO balloon drive

Re: svn commit: r267858 - in head/sys/dev: virtio/balloon xen/balloon

2014-06-25 Thread Attilio Rao
On Wed, Jun 25, 2014 at 11:51 AM, Roger Pau Monné wrote: > Author: royger > Date: Wed Jun 25 09:51:08 2014 > New Revision: 267858 > URL: http://svnweb.freebsd.org/changeset/base/267858 > > Log: > xen/virtio: fix balloon drivers to not mark pages as WIRED > > Prevent the Xen and VirtIO balloon

svn commit: r267820 - head/sys/kern

2014-06-24 Thread Attilio Rao
Author: attilio Date: Tue Jun 24 15:16:55 2014 New Revision: 267820 URL: http://svnweb.freebsd.org/changeset/base/267820 Log: sysctl subsystem uses sxlocks so avoid to setup dynamic sysctl nodes before sleepinit() has been fully executed in the SLEEPQUEUE_PROFILING case. Sponsored by: E

Re: svn commit: r267651 - in head: share/man/man4 sys/dev/cpuctl sys/sys usr.sbin/cpucontrol

2014-06-20 Thread Attilio Rao
On Jun 20, 2014 9:49 AM, "Konstantin Belousov" wrote: > > On Fri, Jun 20, 2014 at 08:12:59AM +0200, Attilio Rao wrote: > > On Fri, Jun 20, 2014 at 6:08 AM, Konstantin Belousov > > wrote: > > > On Thu, Jun 19, 2014 at 09:54:41PM +, Attilio Rao wrote: &g

Re: svn commit: r267651 - in head: share/man/man4 sys/dev/cpuctl sys/sys usr.sbin/cpucontrol

2014-06-19 Thread Attilio Rao
On Fri, Jun 20, 2014 at 6:08 AM, Konstantin Belousov wrote: > On Thu, Jun 19, 2014 at 09:54:41PM +0000, Attilio Rao wrote: >> Author: attilio >> Date: Thu Jun 19 21:54:41 2014 >> New Revision: 267651 >> URL: http://svnweb.freebsd.org/changeset/base/267651 >> &

svn commit: r267651 - in head: share/man/man4 sys/dev/cpuctl sys/sys usr.sbin/cpucontrol

2014-06-19 Thread Attilio Rao
Author: attilio Date: Thu Jun 19 21:54:41 2014 New Revision: 267651 URL: http://svnweb.freebsd.org/changeset/base/267651 Log: Following comments in r242565 add the possibility to specify ecx when performing cpuid calls. Add also a new way to specify the level type to cpucontrol(8) as repor

svn commit: r267548 - in head/sys: amd64/amd64 arm/arm dev/agp dev/cxgbe/tom dev/drm dev/drm2/i915 dev/drm2/ttm dev/ti dev/virtio/balloon dev/xen/balloon i386/i386 i386/xen ia64/ia64 kern mips/mips...

2014-06-16 Thread Attilio Rao
Author: attilio Date: Mon Jun 16 18:15:27 2014 New Revision: 267548 URL: http://svnweb.freebsd.org/changeset/base/267548 Log: - Modify vm_page_unwire() and vm_page_enqueue() to directly accept the queue where to enqueue pages that are going to be unwired. - Add stronger checks to the enque

Re: svn commit: r266775 - head/sys/x86/x86

2014-05-30 Thread Attilio Rao
On Fri, May 30, 2014 at 8:06 PM, John Baldwin wrote: > On Friday, May 30, 2014 12:55:06 pm Attilio Rao wrote: >> On Fri, May 30, 2014 at 6:44 PM, John Baldwin wrote: >> > On Friday, May 30, 2014 11:51:38 am Attilio Rao wrote: >> >> On Fri, May 30, 2014 at 5:47 PM, J

Re: svn commit: r266775 - head/sys/x86/x86

2014-05-30 Thread Attilio Rao
On Fri, May 30, 2014 at 6:44 PM, John Baldwin wrote: > On Friday, May 30, 2014 11:51:38 am Attilio Rao wrote: >> On Fri, May 30, 2014 at 5:47 PM, John Baldwin wrote: >> > On Friday, May 30, 2014 11:39:24 am Attilio Rao wrote: >> >> On Fri, May 30, 2014 at 5:03 PM, J

Re: svn commit: r266775 - head/sys/x86/x86

2014-05-30 Thread Attilio Rao
On Fri, May 30, 2014 at 5:47 PM, John Baldwin wrote: > On Friday, May 30, 2014 11:39:24 am Attilio Rao wrote: >> On Fri, May 30, 2014 at 5:03 PM, John Baldwin wrote: >> > On Friday, May 30, 2014 10:54:06 am Attilio Rao wrote: >> >> On Tue, May 27, 2014

Re: svn commit: r266775 - head/sys/x86/x86

2014-05-30 Thread Attilio Rao
On Fri, May 30, 2014 at 5:03 PM, John Baldwin wrote: > On Friday, May 30, 2014 10:54:06 am Attilio Rao wrote: >> On Tue, May 27, 2014 at 11:31 PM, Scott Long wrote: >> > Author: scottl >> > Date: Tue May 27 21:31:11 2014 >> > New Revision: 266775 >>

Re: svn commit: r266775 - head/sys/x86/x86

2014-05-30 Thread Attilio Rao
On Tue, May 27, 2014 at 11:31 PM, Scott Long wrote: > Author: scottl > Date: Tue May 27 21:31:11 2014 > New Revision: 266775 > URL: http://svnweb.freebsd.org/changeset/base/266775 > > Log: > Eliminate the fake contig_dmamap and replace it with a new flag, > BUS_DMA_KMEM_ALLOC. They serve the

Re: svn commit: r263318 - in head: sys/compat/freebsd32 sys/kern sys/sys usr.bin/truss

2014-03-19 Thread Attilio Rao
On Wed, Mar 19, 2014 at 7:10 PM, Jilles Tjoelker wrote: > On Tue, Mar 18, 2014 at 09:32:03PM +0000, Attilio Rao wrote: >> Author: attilio >> Date: Tue Mar 18 21:32:03 2014 >> New Revision: 263318 >> URL: http://svnweb.freebsd.org/changeset/base/263318 > >>

svn commit: r263350 - head/sys/kern

2014-03-19 Thread Attilio Rao
Author: attilio Date: Wed Mar 19 12:45:40 2014 New Revision: 263350 URL: http://svnweb.freebsd.org/changeset/base/263350 Log: Fix comments. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/kern/kern_umtx.c Modified: head/sys/kern/kern_umtx.c ===

svn commit: r263328 - in head/sys: dev/md vm

2014-03-18 Thread Attilio Rao
Author: attilio Date: Wed Mar 19 01:13:42 2014 New Revision: 263328 URL: http://svnweb.freebsd.org/changeset/base/263328 Log: vm_page_grab() and vm_pager_get_pages() can drop the vm_object lock, then threads can sleep on the pip condition. Avoid to deadlock such threads by correctly awakenin

svn commit: r263324 - head/sys/kern

2014-03-18 Thread Attilio Rao
Author: attilio Date: Wed Mar 19 00:38:27 2014 New Revision: 263324 URL: http://svnweb.freebsd.org/changeset/base/263324 Log: Fix GENERIC build. Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c ===

svn commit: r263319 - in head/sys: compat/freebsd32 kern sys

2014-03-18 Thread Attilio Rao
Author: attilio Date: Tue Mar 18 21:34:11 2014 New Revision: 263319 URL: http://svnweb.freebsd.org/changeset/base/263319 Log: Regen per r263318. Sponsored by: EMC / Isilon storage division Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall

svn commit: r263318 - in head: sys/compat/freebsd32 sys/kern sys/sys usr.bin/truss

2014-03-18 Thread Attilio Rao
Author: attilio Date: Tue Mar 18 21:32:03 2014 New Revision: 263318 URL: http://svnweb.freebsd.org/changeset/base/263318 Log: Remove dead code from umtx support: - Retire long time unused (basically always unused) sys__umtx_lock() and sys__umtx_unlock() syscalls - struct umtx and their s

svn commit: r262291 - stable/10/sys/vm

2014-02-21 Thread Attilio Rao
Author: attilio Date: Fri Feb 21 09:43:34 2014 New Revision: 262291 URL: http://svnweb.freebsd.org/changeset/base/262291 Log: MFC r261867: Use the right index to free swapspace after vm_page_rename(). Modified: stable/10/sys/vm/vm_object.c Directory Properties: stable/10/ (props changed

svn commit: r261867 - head/sys/vm

2014-02-13 Thread Attilio Rao
Author: attilio Date: Fri Feb 14 03:34:12 2014 New Revision: 261867 URL: http://svnweb.freebsd.org/changeset/base/261867 Log: Fix-up r254141: in the process of making a failing vm_page_rename() a call of pager_swap_freespace() was moved around, now leading to freeing the incorrect page becau

svn commit: r260393 - head/sys/sys

2014-01-07 Thread Attilio Rao
Author: attilio Date: Tue Jan 7 14:03:42 2014 New Revision: 260393 URL: http://svnweb.freebsd.org/changeset/base/260393 Log: Use __predict_false() on sensitive lock paths as most of the times, when PMC-soft feature is not used the check will be false. Sponsored by: EMC / Isilon storage d

svn commit: r259647 - head/sys/dev/hwpmc

2013-12-20 Thread Attilio Rao
Author: attilio Date: Fri Dec 20 14:03:56 2013 New Revision: 259647 URL: http://svnweb.freebsd.org/changeset/base/259647 Log: o Remove assertions on ipa_version as sometimes the version detection using cpuid can be quirky (this is the case of VMWare without the vPMC support) but fail to

svn commit: r259509 - head/sys/kern

2013-12-17 Thread Attilio Rao
Author: attilio Date: Tue Dec 17 13:37:02 2013 New Revision: 259509 URL: http://svnweb.freebsd.org/changeset/base/259509 Log: - Assert for not leaking readers rw locks counter on userland return. - Use a correct spin_cnt for KDTRACE_HOOK case in rw read lock. Sponsored by: EMC / Isilon st

svn commit: r258858 - head/sys/sys

2013-12-02 Thread Attilio Rao
Author: attilio Date: Mon Dec 2 22:34:47 2013 New Revision: 258858 URL: http://svnweb.freebsd.org/changeset/base/258858 Log: Right now LOCK_DEBUG is enabled if KTR is on. This is to support LOCK_LOG_* functionality effectively in debugging environments but it is overkill because really LOCK

svn commit: r258541 - in head/sys: amd64/amd64 amd64/linux32 cam/ctl cddl/dev/dtrace cddl/dev/lockstat cddl/dev/sdt compat/linux conf dev/sfxge/common dev/xen/blkback fs/nfs fs/nfsclient i386/i386 ...

2013-11-24 Thread Attilio Rao
Author: attilio Date: Mon Nov 25 07:38:45 2013 New Revision: 258541 URL: http://svnweb.freebsd.org/changeset/base/258541 Log: - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging option, unbreak the lock tracing release semantic by embedding calls to LOCKSTAT_PROFILE_

svn commit: r255868 - head/sys/kern

2013-09-25 Thread Attilio Rao
Author: attilio Date: Wed Sep 25 13:37:52 2013 New Revision: 255868 URL: http://svnweb.freebsd.org/changeset/base/255868 Log: Avoid memory accesses reordering which can result in fget_unlocked() seeing a stale fd_ofiles table once fd_nfiles is already updated, resulting in OOB accesses.

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

2013-09-22 Thread Attilio Rao
On Sun, Sep 22, 2013 at 9:34 PM, Konstantin Belousov wrote: > On Sun, Sep 22, 2013 at 11:19:16PM +0300, Konstantin Belousov wrote: >> On Sun, Sep 22, 2013 at 01:14:21PM -0700, Matthew Fleming wrote: >> > On Sun, Sep 22, 2013 at 12:23 PM, Konstantin Belousov >> > wrote: >> >> > > Author: kib >> >

svn commit: r254362 - head/sys/vm

2013-08-15 Thread Attilio Rao
Author: attilio Date: Thu Aug 15 11:01:25 2013 New Revision: 254362 URL: http://svnweb.freebsd.org/changeset/base/254362 Log: On the recovery path for vm_page_alloc(), if a page had been requested wired, unwind back the wiring bits otherwise we can end up freeing a page that is considered wi

Re: svn commit: r254138 - in head: share/man/man9 sys/amd64/amd64 sys/arm/arm sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/dev/agp sys/dev/drm2/i915 sys/dev/drm2/ttm sys/dev/md sys/fs/fuse sys/f

2013-08-13 Thread Attilio Rao
On Tue, Aug 13, 2013 at 4:22 PM, Ulrich Spörlein wrote: > On Fri, 2013-08-09 at 11:11:12 +0000, Attilio Rao wrote: >> Author: attilio >> Date: Fri Aug 9 11:11:11 2013 >> New Revision: 254138 >> URL: http://svnweb.freebsd.org/changeset/base/254138 >> >> Log

svn commit: r254228 - head/sys/vm

2013-08-11 Thread Attilio Rao
Author: attilio Date: Sun Aug 11 21:15:04 2013 New Revision: 254228 URL: http://svnweb.freebsd.org/changeset/base/254228 Log: Correct the recovery logic in vm_page_alloc_contig: what is really needed on this code snipped is that all the pages that are already fully inserted gets fully freed,

svn commit: r254141 - in head/sys: amd64/amd64 dev/drm2/i915 dev/drm2/ttm i386/i386 kern vm

2013-08-09 Thread Attilio Rao
Author: attilio Date: Fri Aug 9 11:28:55 2013 New Revision: 254141 URL: http://svnweb.freebsd.org/changeset/base/254141 Log: On all the architectures, avoid to preallocate the physical memory for nodes used in vm_radix. On architectures supporting direct mapping, also avoid to pre-allocate

svn commit: r254139 - in head: share/man/man9 sys/kern

2013-08-09 Thread Attilio Rao
Author: attilio Date: Fri Aug 9 11:24:29 2013 New Revision: 254139 URL: http://svnweb.freebsd.org/changeset/base/254139 Log: Give mutex(9) the ability to recurse on a per-instance basis. Now the MTX_RECURSE flag can be passed to the mtx_*_flag() calls. This helps in cases we want to narrow

svn commit: r254138 - in head: share/man/man9 sys/amd64/amd64 sys/arm/arm sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/dev/agp sys/dev/drm2/i915 sys/dev/drm2/ttm sys/dev/md sys/fs/fuse sys/fs...

2013-08-09 Thread Attilio Rao
Author: attilio Date: Fri Aug 9 11:11:11 2013 New Revision: 254138 URL: http://svnweb.freebsd.org/changeset/base/254138 Log: The soft and hard busy mechanism rely on the vm object lock to work. Unify the 2 concept into a real, minimal, sxlock where the shared acquisition represent the soft

svn commit: r253953 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs kern vm

2013-08-05 Thread Attilio Rao
Author: attilio Date: Mon Aug 5 08:55:35 2013 New Revision: 253953 URL: http://svnweb.freebsd.org/changeset/base/253953 Log: Revert r253939: We cannot busy a page before doing pagefaults. Infact, it can deadlock against vnode lock, as it tries to vget(). Other functions, right now, have a

svn commit: r253940 - in head/sys/sparc64: include sparc64

2013-08-04 Thread Attilio Rao
Author: attilio Date: Sun Aug 4 21:17:05 2013 New Revision: 253940 URL: http://svnweb.freebsd.org/changeset/base/253940 Log: Remove unused member. Sponsored by: EMC / Isilon storage division Reviewed by: alc Tested by:pho Modified: head/sys/sparc64/include/pmap.h head/sys/spa

svn commit: r253939 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs kern vm

2013-08-04 Thread Attilio Rao
Author: attilio Date: Sun Aug 4 21:07:24 2013 New Revision: 253939 URL: http://svnweb.freebsd.org/changeset/base/253939 Log: The page hold mechanism is fast but it has couple of fallouts: - It does not let pages respect the LRU policy - It bloats the active/inactive queues of few pages

svn commit: r253927 - in head/sys: fs/tmpfs kern

2013-08-04 Thread Attilio Rao
Author: attilio Date: Sun Aug 4 15:56:19 2013 New Revision: 253927 URL: http://svnweb.freebsd.org/changeset/base/253927 Log: Remove unnecessary soft busy of the page before to do vn_rdwr() in kern_sendfile() which is unnecessary. The page is already wired so it will not be subjected to page

Re: should_yield problem [Was: svn commit: r251322 - head/sys/kern]

2013-07-02 Thread Attilio Rao
On Tue, Jul 2, 2013 at 7:24 PM, Andriy Gapon wrote: > on 02/07/2013 20:12 Attilio Rao said the following: >> While "ticks" is signed it is used as an unsigned int. >> td_swvolticks is always derived by ticks, which again will always be >> used as an unisgned and th

Re: should_yield problem [Was: svn commit: r251322 - head/sys/kern]

2013-07-02 Thread Attilio Rao
On Tue, Jul 2, 2013 at 6:48 PM, Andriy Gapon wrote: > on 03/06/2013 20:36 Konstantin Belousov said the following: >> Author: kib >> Date: Mon Jun 3 17:36:43 2013 >> New Revision: 251322 >> URL: http://svnweb.freebsd.org/changeset/base/251322 >> >> Log: >> Be more generous when donating the curr

Re: svn commit: r252356 - in head: contrib/smbfs/mount_smbfs etc/defaults etc/mtree include lib lib/libprocstat rescue/rescue sbin/mount share/examples share/examples/etc share/mk sys/conf sys/kern sy

2013-06-28 Thread Attilio Rao
On Fri, Jun 28, 2013 at 11:00 PM, Davide Italiano wrote: > Author: davide > Date: Fri Jun 28 21:00:08 2013 > New Revision: 252356 > URL: http://svnweb.freebsd.org/changeset/base/252356 > > Log: > - Trim an unused and bogus Makefile for mount_smbfs. > - Reconnect with some minor modifications,

Re: svn commit: r252209 - in head: share/man/man9 sys/kern sys/sys

2013-06-28 Thread Attilio Rao
On Thu, Jun 27, 2013 at 4:34 PM, John Baldwin wrote: > On Wednesday, June 26, 2013 3:26:38 am Andre Oppermann wrote: >> On 25.06.2013 20:44, John Baldwin wrote: >> > Author: jhb >> > Date: Tue Jun 25 18:44:15 2013 >> > New Revision: 252209 >> > URL: http://svnweb.freebsd.org/changeset/base/252209

Re: svn commit: r251586 - head/sys/arm/ti

2013-06-11 Thread Attilio Rao
On Tue, Jun 11, 2013 at 7:21 AM, Konstantin Belousov wrote: > On Tue, Jun 11, 2013 at 01:10:52AM +0200, Olivier Houchard wrote: >> On Mon, Jun 10, 2013 at 11:13:58PM +0200, Olivier Houchard wrote: >> > On Mon, Jun 10, 2013 at 10:37:36PM +0300, Konstantin Belousov wrote: >> > > On Mon, Jun 10, 2013

Re: svn commit: r251586 - head/sys/arm/ti

2013-06-11 Thread Attilio Rao
On Tue, Jun 11, 2013 at 7:21 AM, Konstantin Belousov wrote: > On Tue, Jun 11, 2013 at 01:10:52AM +0200, Olivier Houchard wrote: >> On Mon, Jun 10, 2013 at 11:13:58PM +0200, Olivier Houchard wrote: >> > On Mon, Jun 10, 2013 at 10:37:36PM +0300, Konstantin Belousov wrote: >> > > On Mon, Jun 10, 2013

svn commit: r251471 - head/sys/vm

2013-06-06 Thread Attilio Rao
Author: attilio Date: Thu Jun 6 18:19:26 2013 New Revision: 251471 URL: http://svnweb.freebsd.org/changeset/base/251471 Log: Complete r251452: Avoid to busy/unbusy a page in cases where there is no need to drop the vm_obj lock, more nominally when the page is full valid after vm_page_grab

svn commit: r251397 - head/sys/vm

2013-06-04 Thread Attilio Rao
Author: attilio Date: Tue Jun 4 22:47:01 2013 New Revision: 251397 URL: http://svnweb.freebsd.org/changeset/base/251397 Log: In vm_object_split(), busy and consequently unbusy the pages only when swap_pager_copy() is invoked, otherwise there is no reason to do so. This will eliminate the ne

svn commit: r251077 - head/sys/vm

2013-05-28 Thread Attilio Rao
Author: attilio Date: Tue May 28 22:07:23 2013 New Revision: 251077 URL: http://svnweb.freebsd.org/changeset/base/251077 Log: o Change the locking scheme for swp_bcount. It can now be accessed with a write lock on the object containing it OR with a read lock on the object containing it a

svn commit: r250909 - head/sys/vm

2013-05-22 Thread Attilio Rao
Author: attilio Date: Wed May 22 15:11:00 2013 New Revision: 250909 URL: http://svnweb.freebsd.org/changeset/base/250909 Log: Acquire read lock on the src object for vm_fault_copy_entry(). Sponsored by: EMC / Isilon storage division Reviewed by: alc Modified: head/sys/vm/vm_fault.c M

svn commit: r250885 - head/sys/kern

2013-05-21 Thread Attilio Rao
Author: attilio Date: Tue May 21 20:54:03 2013 New Revision: 250885 URL: http://svnweb.freebsd.org/changeset/base/250885 Log: vm_object locking is not needed there as pages are already wired. Sponsored by: EMC / Isilon storage division Submitted by: alc Modified: head/sys/kern/vfs_bio.

svn commit: r250884 - in head/sys: amd64/amd64 arm/arm i386/i386 i386/xen ia64/ia64 mips/mips powerpc/aim powerpc/booke sparc64/sparc64 vm

2013-05-21 Thread Attilio Rao
Author: attilio Date: Tue May 21 20:38:19 2013 New Revision: 250884 URL: http://svnweb.freebsd.org/changeset/base/250884 Log: o Relax locking assertions for vm_page_find_least() o Relax locking assertions for pmap_enter_object() and add them also to architectures that currently don't have

svn commit: r250751 - head/sys/kern

2013-05-17 Thread Attilio Rao
Author: attilio Date: Fri May 17 20:03:55 2013 New Revision: 250751 URL: http://svnweb.freebsd.org/changeset/base/250751 Log: Use readlocking now that assertions on vm_page_lookup() are relaxed. Sponsored by: EMC / Isilon storage division Reviewed by: alc Tested by:flo, pho Modifi

svn commit: r250601 - in head/sys: sys vm x86/acpica

2013-05-13 Thread Attilio Rao
Author: attilio Date: Mon May 13 15:40:51 2013 New Revision: 250601 URL: http://svnweb.freebsd.org/changeset/base/250601 Log: o Add accessor functions to add and remove pages from a specific freelist. o Split the pool of free pages queues really by domain and not rely on definition of

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-11 Thread Attilio Rao
On Sat, May 11, 2013 at 4:34 PM, Attilio Rao wrote: > On Fri, May 10, 2013 at 9:33 PM, John Baldwin wrote: >> On Friday, May 10, 2013 2:51:20 pm Marcel Moolenaar wrote: >>> >>> On May 10, 2013, at 9:11 AM, John Baldwin wrote: >>> >>> > On Friday,

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-11 Thread Attilio Rao
On Fri, May 10, 2013 at 9:33 PM, John Baldwin wrote: > On Friday, May 10, 2013 2:51:20 pm Marcel Moolenaar wrote: >> >> On May 10, 2013, at 9:11 AM, John Baldwin wrote: >> >> > On Friday, May 10, 2013 11:46:54 am Marcel Moolenaar wrote: >> >>> >> >>> 2) vnode locks from a local filesystem that re

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-11 Thread Attilio Rao
On Fri, May 10, 2013 at 3:52 PM, John Baldwin wrote: > On Thursday, May 09, 2013 4:56:33 pm Marcel Moolenaar wrote: >> >> On May 9, 2013, at 9:46 AM, Attilio Rao wrote: >> >> > On Thu, May 9, 2013 at 6:28 PM, Marcel Moolenaar > wrote: >> >> Author

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-09 Thread Attilio Rao
On Thu, May 9, 2013 at 10:56 PM, Marcel Moolenaar wrote: > > On May 9, 2013, at 9:46 AM, Attilio Rao wrote: > >> On Thu, May 9, 2013 at 6:28 PM, Marcel Moolenaar wrote: >>> Author: marcel >>> Date: Thu May 9 16:28:18 2013 >>> New Revision: 250411 &g

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-09 Thread Attilio Rao
On Thu, May 9, 2013 at 6:28 PM, Marcel Moolenaar wrote: > Author: marcel > Date: Thu May 9 16:28:18 2013 > New Revision: 250411 > URL: http://svnweb.freebsd.org/changeset/base/250411 > > Log: > Add option WITNESS_NO_VNODE to suppress printing LORs between VNODE > locks. To support this, VNODE

svn commit: r250395 - head/sys/sys

2013-05-08 Thread Attilio Rao
Author: attilio Date: Thu May 9 00:04:59 2013 New Revision: 250395 URL: http://svnweb.freebsd.org/changeset/base/250395 Log: Generalize the bitset operations, present in cpuset and offer a KPI to redefine such operations for different consumers. This will be used when NUMA support will be f

Re: svn commit: r250339 - head/sys/x86/acpica

2013-05-08 Thread Attilio Rao
On Wed, May 8, 2013 at 10:53 PM, John Baldwin wrote: > On Wednesday, May 08, 2013 2:21:12 pm Attilio Rao wrote: >> On Wed, May 8, 2013 at 6:01 PM, John Baldwin wrote: >> > On Tuesday, May 07, 2013 6:49:57 pm Attilio Rao wrote: >> >> Author: attilio >> >>

svn commit: r250389 - head/sys/x86/acpica

2013-05-08 Thread Attilio Rao
Author: attilio Date: Wed May 8 21:06:47 2013 New Revision: 250389 URL: http://svnweb.freebsd.org/changeset/base/250389 Log: Revert r250339 as apparently it is more clutter than help. Sponsored by: EMC / Isilon storage division Requested by: jhb Modified: head/sys/x86/acpica/srat.c M

Re: svn commit: r250339 - head/sys/x86/acpica

2013-05-08 Thread Attilio Rao
On Wed, May 8, 2013 at 6:01 PM, John Baldwin wrote: > On Tuesday, May 07, 2013 6:49:57 pm Attilio Rao wrote: >> Author: attilio >> Date: Tue May 7 22:49:56 2013 >> New Revision: 250339 >> URL: http://svnweb.freebsd.org/changeset/base/250339 >> >> Lo

Re: svn commit: r250338 - in head/sys: amd64/include arm/include conf i386/include ia64/include mips/include powerpc/include sparc64/include vm x86/acpica

2013-05-08 Thread Attilio Rao
On Wed, May 8, 2013 at 5:21 AM, Adrian Chadd wrote: > Hi, > > This broke a fresh buildworld for me. sys/vm/vm_phys.c still > references VM_NDOMAIN. Fixed in r250361. Sorry for the breakage. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein ___

svn commit: r250361 - head/sys/vm

2013-05-08 Thread Attilio Rao
Author: attilio Date: Wed May 8 10:55:39 2013 New Revision: 250361 URL: http://svnweb.freebsd.org/changeset/base/250361 Log: Fix-up r250338 by completing the removal of VM_NDOMAIN in favor of MAXMEMDOM. This unbreak builds. Sponsored by: EMC / Isilon storage division Reported by: ad

svn commit: r250339 - head/sys/x86/acpica

2013-05-07 Thread Attilio Rao
Author: attilio Date: Tue May 7 22:49:56 2013 New Revision: 250339 URL: http://svnweb.freebsd.org/changeset/base/250339 Log: Add functions to do ACPI System Locality Information Table parsing and printing at boot. For reference on table informations and purposes please review ACPI specs.

svn commit: r250338 - in head/sys: amd64/include arm/include conf i386/include ia64/include mips/include powerpc/include sparc64/include vm x86/acpica

2013-05-07 Thread Attilio Rao
Author: attilio Date: Tue May 7 22:46:24 2013 New Revision: 250338 URL: http://svnweb.freebsd.org/changeset/base/250338 Log: Rename VM_NDOMAIN into MAXMEMDOM and move it into machine/param.h in order to match the MAXCPU concept. The change should also be useful for consolidation and consis

Re: svn commit: r250237 - in head/sys: fs/smbfs netsmb

2013-05-04 Thread Attilio Rao
On Sat, May 4, 2013 at 4:18 PM, Davide Italiano wrote: > Author: davide > Date: Sat May 4 14:18:10 2013 > New Revision: 250237 > URL: http://svnweb.freebsd.org/changeset/base/250237 > > Log: > Overhaul locking in netsmb, getting rid of the obsolete lockmgr() primitive. > This solves a long st

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

2013-04-09 Thread Attilio Rao
On Tue, Apr 9, 2013 at 5:32 PM, Konstantin Belousov wrote: > On Mon, Apr 08, 2013 at 07:58:32PM +0000, Attilio Rao wrote: >> Author: attilio >> Date: Mon Apr 8 19:58:32 2013 >> New Revision: 249277 >> URL: http://svnweb.freebsd.org/changeset/base/249277 >> >

svn commit: r249278 - head/sys/vm

2013-04-08 Thread Attilio Rao
Author: attilio Date: Mon Apr 8 20:02:27 2013 New Revision: 249278 URL: http://svnweb.freebsd.org/changeset/base/249278 Log: The per-page act_count can be made very-easily protected by the per-page lock rather than vm_object lock, without any further overhead. Make the formal switch. S

svn commit: r249277 - head/sys/kern

2013-04-08 Thread Attilio Rao
Author: attilio Date: Mon Apr 8 19:58:32 2013 New Revision: 249277 URL: http://svnweb.freebsd.org/changeset/base/249277 Log: Switch some "low-hanging fruit" to acquire read lock on vmobjects rather than write locks. Sponsored by: EMC / Isilon storage division Reviewed by: alc Tested

svn commit: r248591 - head/sys/kern

2013-03-21 Thread Attilio Rao
Author: attilio Date: Thu Mar 21 19:58:25 2013 New Revision: 248591 URL: http://svnweb.freebsd.org/changeset/base/248591 Log: Fix a bug in UMTX_PROFILING: UMTX_PROFILING should really analyze the distribution of locks as they index entries in the umtxq_chains hash-table. However, the curre

svn commit: r248449 - in head/sys: amd64/amd64 amd64/include conf i386/i386 i386/include i386/xen vm

2013-03-17 Thread Attilio Rao
Author: attilio Date: Mon Mar 18 00:25:02 2013 New Revision: 248449 URL: http://svnweb.freebsd.org/changeset/base/248449 Log: Sync back vmcontention branch into HEAD: Replace the per-object resident and cached pages splay tree with a path-compressed multi-digit radix trie. Along with this,

svn commit: r248210 - head/sys/sys

2013-03-12 Thread Attilio Rao
Author: attilio Date: Tue Mar 12 14:30:36 2013 New Revision: 248210 URL: http://svnweb.freebsd.org/changeset/base/248210 Log: Bump __FreeBSD_version after r248084, breaking VM KPI to introduce read/write lockers. Sponsored by: EMC / Isilon storage division Requested by: flo Modified:

svn commit: r248197 - head/sys/vm

2013-03-12 Thread Attilio Rao
Author: attilio Date: Tue Mar 12 12:20:49 2013 New Revision: 248197 URL: http://svnweb.freebsd.org/changeset/base/248197 Log: Simplify vm_page_is_valid(). Sponsored by: EMC / Isilon storage division Reviewed by: alc Modified: head/sys/vm/vm_page.c Modified: head/sys/vm/vm_page.c

svn commit: r248105 - head/sys/kern

2013-03-09 Thread Attilio Rao
Author: attilio Date: Sat Mar 9 15:31:19 2013 New Revision: 248105 URL: http://svnweb.freebsd.org/changeset/base/248105 Log: Improve UMTX_PROFILING: - Use u_int values for length and max_length values - Add a way to reset the max_length heuristic in order to have the possibility to reus

Re: svn commit: r248097 - in head: . lib/libncp lib/libprocstat share/examples/nwclient sys/fs/nwfs sys/modules/ncp sys/modules/nwfs sys/netncp usr.bin/ncplist usr.bin/ncplogin usr.sbin/mount_nwfs

2013-03-09 Thread Attilio Rao
On Sat, Mar 9, 2013 at 4:02 PM, Robert Watson wrote: > Hi Attilio: > > It's really great to see the continued progress towards the goal > entirely-MPSAFE VFS in 10.x -- we owe you a huge vote of thanks for pursuing > this! Thanks for the kind words. The VFS can be considered completely MPSAFE by

svn commit: r248097 - in head: . lib/libncp lib/libprocstat share/examples/nwclient sys/fs/nwfs sys/modules/ncp sys/modules/nwfs sys/netncp usr.bin/ncplist usr.bin/ncplogin usr.sbin/mount_nwfs

2013-03-09 Thread Attilio Rao
Author: attilio Date: Sat Mar 9 12:45:36 2013 New Revision: 248097 URL: http://svnweb.freebsd.org/changeset/base/248097 Log: Garbage collect NWFS and NCP bits which are now completely disconnected from the tree since few months. This patch is not targeted for MFC. Deleted: head/lib/li

svn commit: r248084 - in head/sys: amd64/amd64 arm/arm cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs...

2013-03-08 Thread Attilio Rao
Author: attilio Date: Sat Mar 9 02:32:23 2013 New Revision: 248084 URL: http://svnweb.freebsd.org/changeset/base/248084 Log: Switch the vm_object mutex to be a rwlock. This will enable in the future further optimizations where the vm_object lock will be held in read mode most of the time t

svn commit: r248082 - in head/sys: cddl/compat/opensolaris/sys vm

2013-03-08 Thread Attilio Rao
Author: attilio Date: Sat Mar 9 02:05:29 2013 New Revision: 248082 URL: http://svnweb.freebsd.org/changeset/base/248082 Log: Merge from vmc-playground: Introduce a new KPI that verifies if the page cache is empty for a specified vm_object. This KPI does not make assumptions about the loc

svn commit: r247788 - head/sys/vm

2013-03-04 Thread Attilio Rao
Author: attilio Date: Mon Mar 4 13:10:59 2013 New Revision: 247788 URL: http://svnweb.freebsd.org/changeset/base/247788 Log: Merge from vmcontention: As vm objects are type-stable there is no need to initialize the resident splay tree pointer and the cache splay tree pointer in _vm_object

Re: svn commit: r247709 - head

2013-03-03 Thread Attilio Rao
On Sun, Mar 3, 2013 at 12:09 PM, Antoine Brodin wrote: > Author: antoine > Date: Sun Mar 3 11:09:55 2013 > New Revision: 247709 > URL: http://svnweb.freebsd.org/changeset/base/247709 > > Log: > Add more obsolete files. Pointy hat to me (most of). Thanks, Attilio -- Peace can only be achiev

svn commit: r247678 - head/sys/i386/xen

2013-03-02 Thread Attilio Rao
Author: attilio Date: Sun Mar 3 01:02:57 2013 New Revision: 247678 URL: http://svnweb.freebsd.org/changeset/base/247678 Log: Fix-up r247622 by also renaming pv_list iterator into the xen pmap verbatim copy. Sponsored by: EMC / Isilon storage division Reported by: tinderbox Modified:

svn commit: r247665 - in head: . lib/libprocstat sbin/mount_ntfs sys/fs/ntfs sys/modules/ntfs sys/modules/ntfs_iconv

2013-03-02 Thread Attilio Rao
Author: attilio Date: Sat Mar 2 18:40:04 2013 New Revision: 247665 URL: http://svnweb.freebsd.org/changeset/base/247665 Log: Garbage collect NTFS bits which are now completely disconnected from the tree since few months. This patch is not targeted for MFC. Deleted: head/lib/libprocsta

svn commit: r247662 - head/sys/geom/label

2013-03-02 Thread Attilio Rao
Author: attilio Date: Sat Mar 2 18:23:59 2013 New Revision: 247662 URL: http://svnweb.freebsd.org/changeset/base/247662 Log: Remove ntfs headers dependency for g_label_ntfs.c by redefining the used structs and values. This patch is not targeted for MFC. Modified: head/sys/geom/label/g

svn commit: r247640 - in head: . share/examples/portal sys/fs/portalfs sys/modules/portalfs usr.sbin/mount_portalfs

2013-03-02 Thread Attilio Rao
Author: attilio Date: Sat Mar 2 16:43:28 2013 New Revision: 247640 URL: http://svnweb.freebsd.org/changeset/base/247640 Log: Garbage collect PORTALFS bits which are now completely disconnected from the tree since few months. This patch is not targeted for MFC. Deleted: head/share/exam

svn commit: r247635 - in head: . share/man/man4 sys/fs/coda sys/modules/coda sys/modules/coda5

2013-03-02 Thread Attilio Rao
Author: attilio Date: Sat Mar 2 16:30:18 2013 New Revision: 247635 URL: http://svnweb.freebsd.org/changeset/base/247635 Log: Garbage collect CODAFS bits which are now completely disconnected from the tree since few months. This patch is not targeted for MFC. Deleted: head/share/man/ma

svn commit: r247631 - in head: . share/man/man5 sys/gnu/fs/xfs sys/modules/xfs

2013-03-02 Thread Attilio Rao
Author: attilio Date: Sat Mar 2 15:33:54 2013 New Revision: 247631 URL: http://svnweb.freebsd.org/changeset/base/247631 Log: Garbage collect XFS bits which are now already completely disconnected from the tree since few months. This is not targeted for MFC. Deleted: head/share/man/man

svn commit: r247628 - in head: sbin/mount_hpfs sys/fs/hpfs sys/modules/hpfs

2013-03-02 Thread Attilio Rao
Author: attilio Date: Sat Mar 2 14:54:33 2013 New Revision: 247628 URL: http://svnweb.freebsd.org/changeset/base/247628 Log: Garbage collect HPFS bits which are now already completely disconnected from the tree since few months (please note that the userland bits were already disconnected s

svn commit: r247622 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2013-03-02 Thread Attilio Rao
Author: attilio Date: Sat Mar 2 14:19:08 2013 New Revision: 247622 URL: http://svnweb.freebsd.org/changeset/base/247622 Log: Merge from vmc-playground branch: Rename the pv_entry_t iterator from pv_list to pv_next. Besides being more correct technically (as the name seems to suggest this

Re: svn commit: r247588 - in head/sys: dev/mps kern sys

2013-03-01 Thread Attilio Rao
On Fri, Mar 1, 2013 at 11:03 PM, John Baldwin wrote: > Author: jhb > Date: Fri Mar 1 22:03:31 2013 > New Revision: 247588 > URL: http://svnweb.freebsd.org/changeset/base/247588 > > Log: > Replace the TDP_NOSLEEPING flag with a counter so that the > THREAD_NO_SLEEPING() and THREAD_SLEEPING_OK(

  1   2   3   4   5   6   7   8   >