Re: svn commit: r238539 - head/sys/fs/smbfs

2012-07-16 Thread Attilio Rao
2012/7/16 Christian Brueffer bruef...@freebsd.org: Author: brueffer Date: Mon Jul 16 22:07:29 2012 New Revision: 238539 URL: http://svn.freebsd.org/changeset/base/238539 Log: Simply error handling by moving the allocation of np down to where it is actually used. While here, improve

svn commit: r238359 - head/sys/vm

2012-07-10 Thread Attilio Rao
Author: attilio Date: Wed Jul 11 01:04:59 2012 New Revision: 238359 URL: http://svn.freebsd.org/changeset/base/238359 Log: Document the object type movements, related to swp_pager_copy(), in vm_object_collapse() and vm_object_split(). In collabouration with: alc MFC after:3

svn commit: r238315 - head/sys/fs/ntfs

2012-07-09 Thread Attilio Rao
Author: attilio Date: Tue Jul 10 00:01:00 2012 New Revision: 238315 URL: http://svn.freebsd.org/changeset/base/238315 Log: - Remove the unused and not completed write support for NTFS. - Fix a bug where vfs_mountedfrom() is called also when the filesystem is not mounted successfully.

svn commit: r238320 - head/sys/fs/ntfs

2012-07-09 Thread Attilio Rao
Author: attilio Date: Tue Jul 10 00:23:25 2012 New Revision: 238320 URL: http://svn.freebsd.org/changeset/base/238320 Log: Remove a check on MNTK_UPDATE that is not really necessary as it is handled in a code snippet above. Modified: head/sys/fs/ntfs/ntfs_vfsops.c Modified:

Re: svn commit: r238118 - head/lib/libc/gen

2012-07-04 Thread Attilio Rao
2012/7/4 David Chisnall thera...@freebsd.org: On 4 Jul 2012, at 21:32, Andrey Chernov wrote: 1) /dev/urandom may not exist in jails/sandboxes while sysctls (or old way initialization) always exists. From the perspective of Capsicum sandboxes, a device node is better than a sysctl. The

Re: svn commit: r237660 - head/lib/libc/gen

2012-06-27 Thread Attilio Rao
2012/6/28, David Xu listlog2...@gmail.com: On 2012/6/28 4:32, Konstantin Belousov wrote: Author: kib Date: Wed Jun 27 20:32:45 2012 New Revision: 237660 URL: http://svn.freebsd.org/changeset/base/237660 Log: Optimize the handling of SC_NPROCESSORS_CONF, by using auxv AT_NCPU value

Re: svn commit: r237660 - head/lib/libc/gen

2012-06-27 Thread Attilio Rao
2012/6/28, David Xu listlog2...@gmail.com: On 2012/6/28 10:21, Attilio Rao wrote: 2012/6/28, David Xulistlog2...@gmail.com: On 2012/6/28 4:32, Konstantin Belousov wrote: Author: kib Date: Wed Jun 27 20:32:45 2012 New Revision: 237660 URL: http://svn.freebsd.org/changeset/base/237660 Log

svn commit: r237451 - head/sys/vm

2012-06-22 Thread Attilio Rao
Author: attilio Date: Fri Jun 22 18:34:11 2012 New Revision: 237451 URL: http://svn.freebsd.org/changeset/base/237451 Log: - Add a comment explaining the locking of the cached pages pool held by vm_objects. - Add flags for the per-object lock and free pages queue mutex lock. Use the

svn commit: r237172 - head/sys/vm

2012-06-16 Thread Attilio Rao
Author: attilio Date: Sat Jun 16 21:39:00 2012 New Revision: 237172 URL: http://svn.freebsd.org/changeset/base/237172 Log: Do a more targeted check on the page cache and avoid to check the cache pointer directly in vnode_pager_setsize() by using newly introduced vm_page_is_cached()

Re: svn commit: r236456 - in head/sys: amd64/include i386/include

2012-06-04 Thread Attilio Rao
2012/6/4 Konstantin Belousov kostik...@gmail.com: On Mon, Jun 04, 2012 at 12:00:27PM +0200, Tijl Coosemans wrote: On 02-06-2012 20:10, Konstantin Belousov wrote: Author: kib Date: Sat Jun  2 18:10:16 2012 New Revision: 236456 URL: http://svn.freebsd.org/changeset/base/236456 Log:  

Re: svn commit: r234482 - in head/sys: fs/msdosfs fs/nfsserver kern sys

2012-05-22 Thread Attilio Rao
2012/4/22 Pawel Jakub Dawidek p...@freebsd.org: On Fri, Apr 20, 2012 at 06:50:44AM +, Kirk McKusick wrote: Author: mckusick Date: Fri Apr 20 06:50:44 2012 New Revision: 234482 URL: http://svn.freebsd.org/changeset/base/234482 Log:   This change creates a new list of active vnodes

Re: svn commit: r234952 - in head/sys: kern sys

2012-05-03 Thread Attilio Rao
2012/5/3, Konstantin Belousov k...@freebsd.org: Author: kib Date: Thu May 3 10:38:02 2012 New Revision: 234952 URL: http://svn.freebsd.org/changeset/base/234952 Log: When callout_reset_on() cannot immediately migrate a callout since it is running on other cpu, the CALLOUT_PENDING flag

Re: svn commit: r234952 - in head/sys: kern sys

2012-05-03 Thread Attilio Rao
2012/5/3, Konstantin Belousov kostik...@gmail.com: On Thu, May 03, 2012 at 12:02:08PM +0100, Attilio Rao wrote: 2012/5/3, Konstantin Belousov k...@freebsd.org: Author: kib Date: Thu May 3 10:38:02 2012 New Revision: 234952 URL: http://svn.freebsd.org/changeset/base/234952 Log

Re: svn commit: r234952 - in head/sys: kern sys

2012-05-03 Thread Attilio Rao
2012/5/3 Konstantin Belousov kostik...@gmail.com: On Thu, May 03, 2012 at 10:06:53PM +0100, Attilio Rao wrote: 2012/5/3 Konstantin Belousov kostik...@gmail.com: On Thu, May 03, 2012 at 02:14:20PM +0100, Attilio Rao wrote: 2012/5/3, Konstantin Belousov kostik...@gmail.com: On Thu, May 03

svn commit: r234989 - in head/sys: amd64/include i386/include x86/x86

2012-05-03 Thread Attilio Rao
Author: attilio Date: Thu May 3 21:44:01 2012 New Revision: 234989 URL: http://svn.freebsd.org/changeset/base/234989 Log: Revert part of r234723 by re-enabling the SMP protection for intr_bind() on x86. This has been requested by jhb and I strongly disagree with this, but as long as he

Re: svn commit: r234952 - in head/sys: kern sys

2012-05-03 Thread Attilio Rao
2012/5/3 Attilio Rao atti...@freebsd.org: 2012/5/3 Konstantin Belousov kostik...@gmail.com: On Thu, May 03, 2012 at 10:06:53PM +0100, Attilio Rao wrote: 2012/5/3 Konstantin Belousov kostik...@gmail.com: On Thu, May 03, 2012 at 02:14:20PM +0100, Attilio Rao wrote: 2012/5/3, Konstantin

Re: svn commit: r234723 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include pc98/pc98 sparc64/include sparc64/sparc64 x86/x86

2012-04-27 Thread Attilio Rao
2012/4/27, John Baldwin j...@freebsd.org: On Thursday, April 26, 2012 4:24:25 pm Attilio Rao wrote: Author: attilio Date: Thu Apr 26 20:24:25 2012 New Revision: 234723 URL: http://svn.freebsd.org/changeset/base/234723 Log: Clean up the intr* MD KPI from the SMP dependency, removing

Re: svn commit: r234723 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include pc98/pc98 sparc64/include sparc64/sparc64 x86/x86

2012-04-27 Thread Attilio Rao
2012/4/27, John Baldwin j...@freebsd.org: On Friday, April 27, 2012 9:55:41 am Attilio Rao wrote: 2012/4/27, John Baldwin j...@freebsd.org: On Thursday, April 26, 2012 4:24:25 pm Attilio Rao wrote: Author: attilio Date: Thu Apr 26 20:24:25 2012 New Revision: 234723 URL: http

Re: svn commit: r234723 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include pc98/pc98 sparc64/include sparc64/sparc64 x86/x86

2012-04-27 Thread Attilio Rao
2012/4/27, John Baldwin j...@freebsd.org: On Friday, April 27, 2012 10:23:14 am Attilio Rao wrote: 2012/4/27, John Baldwin j...@freebsd.org: On Friday, April 27, 2012 9:55:41 am Attilio Rao wrote: 2012/4/27, John Baldwin j...@freebsd.org: On Thursday, April 26, 2012 4:24:25 pm Attilio Rao

svn commit: r234723 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include pc98/pc98 sparc64/include sparc64/sparc64 x86/x86

2012-04-26 Thread Attilio Rao
Author: attilio Date: Thu Apr 26 20:24:25 2012 New Revision: 234723 URL: http://svn.freebsd.org/changeset/base/234723 Log: Clean up the intr* MD KPI from the SMP dependency, removing a cause of discrepancy between modules and kernel, but deal with SMP differences within the functions

Re: svn commit: r234400 - in head/sys: kern sys

2012-04-18 Thread Attilio Rao
2012/4/17, Kirk McKusick mckus...@freebsd.org: Author: mckusick Date: Tue Apr 17 21:46:59 2012 New Revision: 234400 URL: http://svn.freebsd.org/changeset/base/234400 Log: Drop export of vdestroy() function from kern/vfs_subr.c as it is used only as a helper function in that file.

Re: svn commit: r234074 - in head/sys: amd64/amd64 i386/i386

2012-04-10 Thread Attilio Rao
Il 10 aprile 2012 12:41, Marius Strobl mar...@alchemy.franken.de ha scritto: On Tue, Apr 10, 2012 at 01:03:56AM +0100, Attilio Rao wrote: Il 10 aprile 2012 00:09, Marius Strobl mar...@alchemy.franken.de ha scritto: On Mon, Apr 09, 2012 at 10:41:19PM +, Attilio Rao wrote: Author

Re: svn commit: r234074 - in head/sys: amd64/amd64 i386/i386

2012-04-10 Thread Attilio Rao
Il 10 aprile 2012 14:25, Marius Strobl mar...@alchemy.franken.de ha scritto: On Tue, Apr 10, 2012 at 01:55:31PM +0100, Attilio Rao wrote: Il 10 aprile 2012 12:41, Marius Strobl mar...@alchemy.franken.de ha scritto: On Tue, Apr 10, 2012 at 01:03:56AM +0100, Attilio Rao wrote: Il 10 aprile

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

2012-04-09 Thread Attilio Rao
Il 09 aprile 2012 17:34, John Baldwin j...@freebsd.org ha scritto: On Monday, April 09, 2012 11:45:11 am Jaakko Heinonen wrote: Hi, On 2012-04-06, Justin T. Gibbs wrote:   Fix interrupt load balancing regression, introduced in revision   222813, that left all un-pinned interrupts assigned

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

2012-04-09 Thread Attilio Rao
Author: attilio Date: Mon Apr 9 17:05:18 2012 New Revision: 234064 URL: http://svn.freebsd.org/changeset/base/234064 Log: - Introduce a cache-miss optimization for consistency with other accesses of the cache member of vm_object objects. - Use novel vm_page_is_cached() for checks outside

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

2012-04-09 Thread Attilio Rao
Il 09 aprile 2012 18:14, John Baldwin j...@freebsd.org ha scritto: On Monday, April 09, 2012 12:58:07 pm Attilio Rao wrote: Il 09 aprile 2012 17:34, John Baldwin j...@freebsd.org ha scritto: On Monday, April 09, 2012 11:45:11 am Jaakko Heinonen wrote: Hi, On 2012-04-06, Justin T. Gibbs

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

2012-04-09 Thread Attilio Rao
Il 09 aprile 2012 19:35, John Baldwin j...@freebsd.org ha scritto: On Monday, April 09, 2012 1:59:13 pm Attilio Rao wrote: Il 09 aprile 2012 18:14, John Baldwin j...@freebsd.org ha scritto: On Monday, April 09, 2012 12:58:07 pm Attilio Rao wrote: Il 09 aprile 2012 17:34, John Baldwin j

svn commit: r234074 - in head/sys: amd64/amd64 i386/i386

2012-04-09 Thread Attilio Rao
Author: attilio Date: Mon Apr 9 22:41:19 2012 New Revision: 234074 URL: http://svn.freebsd.org/changeset/base/234074 Log: BSP is not added to the mask of valid target CPUs for interrupts in set_apic_interrupt_ids(). Besides, set_apic_interrupts_ids() is not called in the !SMP case too.

Re: svn commit: r234074 - in head/sys: amd64/amd64 i386/i386

2012-04-09 Thread Attilio Rao
Il 10 aprile 2012 00:09, Marius Strobl mar...@alchemy.franken.de ha scritto: On Mon, Apr 09, 2012 at 10:41:19PM +, Attilio Rao wrote: Author: attilio Date: Mon Apr  9 22:41:19 2012 New Revision: 234074 URL: http://svn.freebsd.org/changeset/base/234074 Log:   BSP is not added

svn commit: r233960 - head/sys/vm

2012-04-06 Thread Attilio Rao
Author: attilio Date: Fri Apr 6 20:34:00 2012 New Revision: 233960 URL: http://svn.freebsd.org/changeset/base/233960 Log: Staticize vm_page_cache_remove(). Reviewed by: alc Modified: head/sys/vm/vm_page.c head/sys/vm/vm_page.h Modified: head/sys/vm/vm_page.c

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

2012-04-06 Thread Attilio Rao
Il 06 aprile 2012 22:19, Justin T. Gibbs gi...@freebsd.org ha scritto: Author: gibbs Date: Fri Apr  6 21:19:28 2012 New Revision: 233961 URL: http://svn.freebsd.org/changeset/base/233961 Log:  Fix interrupt load balancing regression, introduced in revision  222813, that left all un-pinned

Re: svn commit: r231814 - in head/sys: kern sys

2012-02-17 Thread Attilio Rao
2012/2/17, Marcel Moolenaar mar...@xcllnt.net: On Feb 16, 2012, at 4:19 PM, Andriy Gapon wrote: on 17/02/2012 02:08 Kenneth D. Merry said the following: [snip] On Thu, Feb 16, 2012 at 11:13:09 +0200, Andriy Gapon wrote: [snip] For me personally the immediate benefits in the common

svn commit: r230643 - in head/sys: dev/usb geom geom/mountver kern sys

2012-01-28 Thread Attilio Rao
Author: attilio Date: Sat Jan 28 14:00:21 2012 New Revision: 230643 URL: http://svn.freebsd.org/changeset/base/230643 Log: Avoid to check the same cache line/variable from all the locking primitives by breaking stop_scheduler into a per-thread variable. Also, store the new td_stopsched very

Re: svn commit: r228433 - in head/sys: kern security/mac

2011-12-12 Thread Attilio Rao
2011/12/12 Andriy Gapon a...@freebsd.org: on 12/12/2011 12:15 Kostik Belousov said the following: On Mon, Dec 12, 2011 at 10:05:13AM +, Andriy Gapon wrote: Author: avg Date: Mon Dec 12 10:05:13 2011 New Revision: 228433 URL: http://svn.freebsd.org/changeset/base/228433 Log:   put

Re: svn commit: r228433 - in head/sys: kern security/mac

2011-12-12 Thread Attilio Rao
2011/12/12 Attilio Rao atti...@freebsd.org: 2011/12/12 Andriy Gapon a...@freebsd.org: on 12/12/2011 12:15 Kostik Belousov said the following: On Mon, Dec 12, 2011 at 10:05:13AM +, Andriy Gapon wrote: Author: avg Date: Mon Dec 12 10:05:13 2011 New Revision: 228433 URL: http

Re: svn commit: r228433 - in head/sys: kern security/mac

2011-12-12 Thread Attilio Rao
2011/12/12 Andriy Gapon a...@freebsd.org: on 12/12/2011 19:05 Attilio Rao said the following: More precisely, what do you think about the patch below? I just didn't revert the moving of systm.h under param.h because Bruce seems to prefer that. I'm starting test-compile right now, let me know

svn commit: r228448 - in head/sys: cddl/contrib/opensolaris/uts/common/dtrace security/mac sys

2011-12-12 Thread Attilio Rao
Author: attilio Date: Mon Dec 12 23:29:32 2011 New Revision: 228448 URL: http://svn.freebsd.org/changeset/base/228448 Log: Revert the approach for skipping lockstat_probe_func call when doing lock_success/lock_failure, introduced in r228424, by directly skipping in dtrace_probe. This

svn commit: r227814 - head/sys/dev/ppbus

2011-11-22 Thread Attilio Rao
Author: attilio Date: Tue Nov 22 11:35:24 2011 New Revision: 227814 URL: http://svn.freebsd.org/changeset/base/227814 Log: - Use ppb_assert_locked() rather than using explicit mtx_assert call - Make ppbus code agnostic in regard of INVARIANTS option MFC after:2 weeks Modified:

svn commit: r227788 - in head/sys: kern sys vm

2011-11-21 Thread Attilio Rao
Author: attilio Date: Mon Nov 21 12:59:52 2011 New Revision: 227788 URL: http://svn.freebsd.org/changeset/base/227788 Log: Introduce the same mutex-wise fix in r227758 for sx locks. The functions that offer file and line specifications are: - sx_assert_ - sx_downgrade_ - sx_slock_

svn commit: r227758 - in head/sys: amd64/conf dev/ppbus kern sys vm

2011-11-20 Thread Attilio Rao
Author: attilio Date: Sun Nov 20 16:33:09 2011 New Revision: 227758 URL: http://svn.freebsd.org/changeset/base/227758 Log: Introduce macro stubs in the mutex implementation that will be always defined and will allow consumers, willing to provide options, file and line to locking requests,

svn commit: r227759 - head/sys/amd64/conf

2011-11-20 Thread Attilio Rao
Author: attilio Date: Sun Nov 20 16:36:02 2011 New Revision: 227759 URL: http://svn.freebsd.org/changeset/base/227759 Log: Revert part of the r227758 which crept in. Pointy hat: attilio X-MFC:r227758 Modified: head/sys/amd64/conf/GENERIC Modified:

svn commit: r227333 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/kern sys/mips/conf sys/pc98/conf sys/powerpc/conf sys/sparc64/conf

2011-11-08 Thread Attilio Rao
Author: attilio Date: Tue Nov 8 10:18:07 2011 New Revision: 227333 URL: http://svn.freebsd.org/changeset/base/227333 Log: Introduce the option VFS_ALLOW_NONMPSAFE and turn it on by default on all the architectures. The option allows to mount non-MPSAFE filesystem. Without it, the kernel

svn commit: r227058 - head/sys/kern

2011-11-03 Thread Attilio Rao
Author: attilio Date: Thu Nov 3 14:36:56 2011 New Revision: 227058 URL: http://svn.freebsd.org/changeset/base/227058 Log: Disable interrupt and preemption for smp_rendezvous() also in the UP/!SMP case. The callbacks may be relying on this feature and having 2 different ways to deal with

svn commit: r226642 - head/sys/vm

2011-10-22 Thread Attilio Rao
Author: attilio Date: Sat Oct 22 22:00:35 2011 New Revision: 226642 URL: http://svn.freebsd.org/changeset/base/226642 Log: VN_NRESERVLEVEL is used in this file but opt_vm is not included thus the stub switch won't be correctly handled. Include opt_vm.h. Submitted by: jeff MFC after:

svn commit: r226060 - head/sys/netinet

2011-10-06 Thread Attilio Rao
Author: attilio Date: Thu Oct 6 14:29:38 2011 New Revision: 226060 URL: http://svn.freebsd.org/changeset/base/226060 Log: For the INP_TIMEWAIT case, there is no valid tcpcb object tied to the inpcb object. Skip the TCP_SIGNATURE check in that case as it is consistent with the output path

svn commit: r225936 - in head/sys: amd64/amd64 i386/i386

2011-10-03 Thread Attilio Rao
Author: attilio Date: Mon Oct 3 14:23:00 2011 New Revision: 225936 URL: http://svn.freebsd.org/changeset/base/225936 Log: Add some improvements in the idle table callbacks: - Replace instances of manual assembly instruction hlt call with halt() function calling. - In cpu_idle_mwait()

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

2011-09-27 Thread Attilio Rao
2011/9/27 Alexander Motin m...@freebsd.org: Author: mav Date: Tue Sep 27 09:30:20 2011 New Revision: 225788 URL: http://svn.freebsd.org/changeset/base/225788 Log:  Fix interrupt counters dumping on SW_WATCHDOG fire. Thanks, avg@ just submitted this patch to me too and I was going to commit

svn commit: r225794 - head/sys/kern

2011-09-27 Thread Attilio Rao
Author: attilio Date: Tue Sep 27 13:42:11 2011 New Revision: 225794 URL: http://svn.freebsd.org/changeset/base/225794 Log: Revert r225372: wdog_kern_pat() acquires eventhandler mutex, thus it cannot work in kernel context (from where kdb_trap() runs). The right way to fix this is both

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

2011-09-27 Thread Attilio Rao
2011/9/27 Attilio Rao atti...@freebsd.org: Author: attilio Date: Tue Sep 27 13:42:11 2011 New Revision: 225794 URL: http://svn.freebsd.org/changeset/base/225794 Log:  Revert r225372:  wdog_kern_pat() acquires eventhandler mutex, thus it cannot work in  kernel context (from where kdb_trap

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

2011-09-26 Thread Attilio Rao
2011/9/4 Bruce Evans b...@optusnet.com.au: On Sun, 4 Sep 2011, Attilio Rao wrote: Also please notice that intr enable/disable happens in the wrong way as it is done via the MD (x86 specific likely) interface. This is wrong for 2 reasons: No, intr_disable() is MI.  It is also used by witness

svn commit: r225662 - head/sys/dev/coretemp

2011-09-19 Thread Attilio Rao
Author: attilio Date: Mon Sep 19 10:58:30 2011 New Revision: 225662 URL: http://svn.freebsd.org/changeset/base/225662 Log: #PROCHOT assertion is sticky after reading the MSR (accordingly with Intel manuals) it must be cleared by writing a 0. Fix that. Sponsored by: Sandvine

svn commit: r225675 - head/sys/sparc64/sparc64

2011-09-19 Thread Attilio Rao
Author: attilio Date: Mon Sep 19 18:29:15 2011 New Revision: 225675 URL: http://svn.freebsd.org/changeset/base/225675 Log: It is safe to initialize locks even on early boot (and it is the same thing all the other architectures already do) thus just initialize kernel_pmap in

svn commit: r225448 - in head/sys: conf kern sys

2011-09-08 Thread Attilio Rao
Author: attilio Date: Thu Sep 8 12:56:26 2011 New Revision: 225448 URL: http://svn.freebsd.org/changeset/base/225448 Log: Improve the informations reported in case of busy buffers during the shutdown: - Axe out the SHOW_BUSYBUFS option and uses a tunable for selectively enable/disable it,

svn commit: r225177 - in head: share/man/man9 sys/kern sys/net sys/security/audit sys/sys sys/x86/acpica

2011-08-25 Thread Attilio Rao
Author: attilio Date: Thu Aug 25 15:51:54 2011 New Revision: 225177 URL: http://svn.freebsd.org/changeset/base/225177 Log: Fix a deficiency in the selinfo interface: If a selinfo object is recorded (via selrecord()) and then it is quickly destroyed, with the waiters missing the opportunity

svn commit: r225181 - head/share/man/man9

2011-08-25 Thread Attilio Rao
Author: attilio Date: Thu Aug 25 17:42:27 2011 New Revision: 225181 URL: http://svn.freebsd.org/changeset/base/225181 Log: Fix an error in the generation of the manpage after r225177. Sponsored by: Sandvine Incorporated Submitted by: jkim Approved by: re (bz) MFC after:3 weeks

svn commit: r225057 - head/sys/kern

2011-08-21 Thread Attilio Rao
Author: attilio Date: Sun Aug 21 10:52:50 2011 New Revision: 225057 URL: http://svn.freebsd.org/changeset/base/225057 Log: callout_cpu_switch() allows preemption when dropping the outcoming callout cpu lock (and after having dropped it). If the newly scheduled thread wants to acquire the

svn commit: r225009 - head/sys/dev/coretemp

2011-08-19 Thread Attilio Rao
Author: attilio Date: Fri Aug 19 13:31:48 2011 New Revision: 225009 URL: http://svn.freebsd.org/changeset/base/225009 Log: Bump the maximum coretemp limit (for CPU temperature) to 110. Several cores with temp in the range 101-105 have been found in the past. Sponsored by: Sandvine

svn commit: r224845 - head/sys/mips/mips

2011-08-13 Thread Attilio Rao
Author: attilio Date: Sat Aug 13 17:17:04 2011 New Revision: 224845 URL: http://svn.freebsd.org/changeset/base/224845 Log: Fix a typo in cb_dumpdata() about wrongly calling wdog_kern_pat(). Submitted by: Andrew Boyer aboyer at averesystems dot com Approved by: re (kib) Modified:

svn commit: r224736 - head/sys/dev/ichsmb

2011-08-09 Thread Attilio Rao
Author: attilio Date: Tue Aug 9 16:42:31 2011 New Revision: 224736 URL: http://svn.freebsd.org/changeset/base/224736 Log: Add the PCI ID for the PCH DH89xxCC on ichsmb as got from Linux counterpart. Sponsored by: Sandvine Incorporated Reviewed by: emaste, rstone Approved by: re (bz)

svn commit: r224745 - head/sys/dev/ichsmb

2011-08-09 Thread Attilio Rao
Author: attilio Date: Tue Aug 9 20:55:54 2011 New Revision: 224745 URL: http://svn.freebsd.org/changeset/base/224745 Log: Revert r224736 as the introduced value was already present. Reported by: tinderbox, pluknet Approved by: re (kib) Modified: head/sys/dev/ichsmb/ichsmb_pci.c

svn commit: r224698 - head/usr.sbin/pmcstat

2011-08-07 Thread Attilio Rao
Author: attilio Date: Sun Aug 7 18:37:05 2011 New Revision: 224698 URL: http://svn.freebsd.org/changeset/base/224698 Log: Convert pmcstat about using cpuset_t rather than relying on plain 32 bit ints. That fixes a first bug where pmcstat wasn't using the old cpumask_t interface and now

svn commit: r224612 - in head/sys: arm/arm arm/sa11x0 mips/mips

2011-08-02 Thread Attilio Rao
Author: attilio Date: Tue Aug 2 17:49:27 2011 New Revision: 224612 URL: http://svn.freebsd.org/changeset/base/224612 Log: Fix for arm and mips case the size of storage for sintrcnt/sintrnames. It seems that info as is not much precise on what expect by pseudo-op .word, by the way. No

Re: svn commit: r224551 - head/sys/powerpc/booke

2011-07-31 Thread Attilio Rao
I actually submitted a better fix which does use .int. I wasn't sure BETA1 was out, so I'm going to send a formal request now. Attilio 2011/7/31 Marcel Moolenaar mar...@freebsd.org: Author: marcel Date: Sun Jul 31 18:26:47 2011 New Revision: 224551 URL:

Re: svn commit: r224551 - head/sys/powerpc/booke

2011-07-31 Thread Attilio Rao
2011/7/31 Marcel Moolenaar mar...@xcllnt.net: On Jul 31, 2011, at 11:27 AM, Attilio Rao wrote: I actually submitted a better fix which does use .int. I wasn't sure BETA1 was out, so I'm going to send a formal request now. Maybe we should just let it be. I don't see anything superior

Re: svn commit: r224216 - in head/sys: ia64/ia64 mips/mips powerpc/aim sparc64/sparc64

2011-07-29 Thread Attilio Rao
2011/7/29 Andreas Tobler andre...@freebsd.org: On 28.07.11 04:59, Attilio Rao wrote: I think that the following patch may better reflect the definition of size_t: http://www.freebsd.org/~attilio/sintrcnt-fixup32.diff Do you think you can test it out? PowerPC 32-bit built, booted

Re: svn commit: r224216 - in head/sys: ia64/ia64 mips/mips powerpc/aim sparc64/sparc64

2011-07-27 Thread Attilio Rao
I think that the following patch may better reflect the definition of size_t: http://www.freebsd.org/~attilio/sintrcnt-fixup32.diff Do you think you can test it out? Thanks, Attilio 2011/7/25 Attilio Rao atti...@freebsd.org: Guys, I'm a bit out of that for a couple of days, flying to another

Re: svn commit: r224216 - in head/sys: ia64/ia64 mips/mips powerpc/aim sparc64/sparc64

2011-07-25 Thread Attilio Rao
. Attilio 2011/7/25 Nathan Whitehorn nwhiteh...@freebsd.org: On 07/25/11 13:40, Andreas Tobler wrote: On 24.07.11 23:35, Nathan Whitehorn wrote: On 07/19/11 07:41, Attilio Rao wrote: Author: attilio Date: Tue Jul 19 12:41:57 2011 New Revision: 224216 URL: http://svn.freebsd.org/changeset

Re: svn commit: r224217 - in head/sys: amd64/include ia64/include mips/conf sys

2011-07-21 Thread Attilio Rao
2011/7/20 Pan Tsu iny...@gmail.com: Attilio Rao atti...@freebsd.org writes: Author: attilio Date: Tue Jul 19 13:00:30 2011 New Revision: 224217 URL: http://svn.freebsd.org/changeset/base/224217 Log:   Bump MAXCPU for amd64, ia64 and XLP mips appropriately.   From now on, default values

Re: svn commit: r224187 - in head: sys/amd64/amd64 sys/arm/arm sys/arm/sa11x0 sys/i386/i386 sys/ia64/ia64 sys/kern sys/mips/mips sys/powerpc/aim sys/powerpc/booke sys/sparc64/sparc64 sys/sys usr.bin/v

2011-07-19 Thread Attilio Rao
2011/7/19 Marcel Moolenaar mar...@xcllnt.net: On Jul 18, 2011, at 7:31 PM, Attilio Rao wrote: 2011/7/19 Marcel Moolenaar mar...@xcllnt.net: On Jul 18, 2011, at 5:59 PM, Attilio Rao wrote: 2011/7/19 Marcel Moolenaar mar...@xcllnt.net: On Jul 18, 2011, at 8:19 AM, Attilio Rao wrote

svn commit: r224216 - in head/sys: ia64/ia64 mips/mips powerpc/aim sparc64/sparc64

2011-07-19 Thread Attilio Rao
Author: attilio Date: Tue Jul 19 12:41:57 2011 New Revision: 224216 URL: http://svn.freebsd.org/changeset/base/224216 Log: On 64 bit architectures size_t is 8 bytes, thus it should use an 8 bytes storage. Fix the sintrcnt/sintrnames specification. No MFC is previewed for this patch.

svn commit: r224217 - in head/sys: amd64/include ia64/include mips/conf sys

2011-07-19 Thread Attilio Rao
Author: attilio Date: Tue Jul 19 13:00:30 2011 New Revision: 224217 URL: http://svn.freebsd.org/changeset/base/224217 Log: Bump MAXCPU for amd64, ia64 and XLP mips appropriately. From now on, default values for FreeBSD will be 64 maxiumum supported CPUs on amd64 and ia64 and 128 for XLP.

svn commit: r224218 - in head/sys: kern sys

2011-07-19 Thread Attilio Rao
Author: attilio Date: Tue Jul 19 14:57:59 2011 New Revision: 224218 URL: http://svn.freebsd.org/changeset/base/224218 Log: Remove pc_name member of struct pcpu. pc_name is only included when KTR option is and it does introduce a subdle KBI breakage that totally breaks vmstat when world and

svn commit: r224187 - in head: sys/amd64/amd64 sys/arm/arm sys/arm/sa11x0 sys/i386/i386 sys/ia64/ia64 sys/kern sys/mips/mips sys/powerpc/aim sys/powerpc/booke sys/sparc64/sparc64 sys/sys usr.bin/vm...

2011-07-18 Thread Attilio Rao
Author: attilio Date: Mon Jul 18 15:19:40 2011 New Revision: 224187 URL: http://svn.freebsd.org/changeset/base/224187 Log: - Remove the eintrcnt/eintrnames usage and introduce the concept of sintrcnt/sintrnames which are symbols containing the size of the 2 tables. - For amd64/i386

svn commit: r224207 - in head/sys: amd64/include arm/include conf i386/include ia64/include mips/include powerpc/include sparc64/include

2011-07-18 Thread Attilio Rao
Author: attilio Date: Tue Jul 19 00:37:24 2011 New Revision: 224207 URL: http://svn.freebsd.org/changeset/base/224207 Log: Add the possibility to specify from kernel configs MAXCPU value. This patch is going to help in cases like mips flavours where you want a more granular support on

Re: svn commit: r224187 - in head: sys/amd64/amd64 sys/arm/arm sys/arm/sa11x0 sys/i386/i386 sys/ia64/ia64 sys/kern sys/mips/mips sys/powerpc/aim sys/powerpc/booke sys/sparc64/sparc64 sys/sys usr.bin/v

2011-07-18 Thread Attilio Rao
2011/7/19 Marcel Moolenaar mar...@xcllnt.net: On Jul 18, 2011, at 5:59 PM, Attilio Rao wrote: 2011/7/19 Marcel Moolenaar mar...@xcllnt.net: On Jul 18, 2011, at 8:19 AM, Attilio Rao wrote: Author: attilio Date: Mon Jul 18 15:19:40 2011 New Revision: 224187 URL: http://svn.freebsd.org

svn commit: r224058 - head/usr.sbin/pmccontrol

2011-07-15 Thread Attilio Rao
Author: attilio Date: Fri Jul 15 11:46:54 2011 New Revision: 224058 URL: http://svn.freebsd.org/changeset/base/224058 Log: Fix logical_cpus_mask retrieving by using, correctly, cpuset_t. This fix also a bug where pmccontrol uses a 32 static type rather than old cpumask_t. Reported and

svn commit: r223823 - head/sys/vm

2011-07-06 Thread Attilio Rao
Author: attilio Date: Wed Jul 6 15:09:52 2011 New Revision: 223823 URL: http://svn.freebsd.org/changeset/base/223823 Log: Handle a race between device_pager and devsw in a more graceful manner: return an error code rather than panic the kernel. Sponsored by: Sandvine Incorporated

svn commit: r223758 - in head: contrib/top lib/libkvm share/mk sys/amd64/acpica sys/amd64/amd64 sys/cddl/dev/dtrace/amd64 sys/cddl/dev/dtrace/i386 sys/dev/xen/control sys/i386/i386 sys/i386/xen sys...

2011-07-04 Thread Attilio Rao
Author: attilio Date: Mon Jul 4 12:04:52 2011 New Revision: 223758 URL: http://svn.freebsd.org/changeset/base/223758 Log: With retirement of cpumask_t and usage of cpuset_t for representing a mask of CPUs, pc_other_cpus and pc_cpumask become highly inefficient. Remove them and replace

svn commit: r223759 - head/sys/sys

2011-07-04 Thread Attilio Rao
Author: attilio Date: Mon Jul 4 12:18:12 2011 New Revision: 223759 URL: http://svn.freebsd.org/changeset/base/223759 Log: - Remove the now unused CPU_NAND_ATOMIC() - Add a comment explaining that CPU_OR_ATOMIC() and CPU_COPY_STORE_REL() are special wrappers used to cater particular

Re: svn commit: r223464 - head/sys/vm

2011-06-24 Thread Attilio Rao
2011/6/24 Jayachandran C. c.jayachand...@gmail.com: On Fri, Jun 24, 2011 at 1:33 AM, Alan Cox a...@rice.edu wrote: On 6/23/2011 1:30 PM, Warner Losh wrote: On Jun 23, 2011, at 2:17 AM, Bjoern A. Zeeb wrote: On Jun 23, 2011, at 5:24 AM, Alan Cox wrote: Author: alc Date: Thu Jun 23 05:23:59

Re: svn commit: r223307 - head/sys/vm

2011-06-22 Thread Attilio Rao
2011/6/22 Warner Losh i...@bsdimp.com: On Jun 21, 2011, at 5:27 PM, Alan Cox wrote: On 06/21/2011 16:09, Attilio Rao wrote: 2011/6/21 Bruce Evansb...@optusnet.com.au: On Tue, 21 Jun 2011, Bjoern A. Zeeb wrote: On Jun 19, 2011, at 7:13 PM, Alan Cox wrote: Hi Alan, Author: alc Date

Re: svn commit: r223307 - head/sys/vm

2011-06-21 Thread Attilio Rao
2011/6/21 Bruce Evans b...@optusnet.com.au: On Tue, 21 Jun 2011, Bjoern A. Zeeb wrote: On Jun 19, 2011, at 7:13 PM, Alan Cox wrote: Hi Alan, Author: alc Date: Sun Jun 19 19:13:24 2011 New Revision: 223307 URL: http://svn.freebsd.org/changeset/base/223307 Log:  Precisely document the

Re: svn commit: r223136 - head/lib/libc/gen

2011-06-16 Thread Attilio Rao
Thanks for fixing this guys. Attilio 2011/6/16 David Xu davi...@freebsd.org: Author: davidxu Date: Thu Jun 16 02:22:24 2011 New Revision: 223136 URL: http://svn.freebsd.org/changeset/base/223136 Log:  Use size of int to fetch sysctl kern.sched.cpusetsize because it had  switched from

svn commit: r222951 - head/sys/dev/aac

2011-06-10 Thread Attilio Rao
Author: attilio Date: Fri Jun 10 20:23:56 2011 New Revision: 222951 URL: http://svn.freebsd.org/changeset/base/222951 Log: - Fix races on detach handling of AAC_IFFLAGS_* mask - Fix races on setting AAC_AIFFLAGS_ALLOCFIBS - Remove some unused AAC_IFFLAGS_* bits. Please note that the

Re: svn commit: r222813 - in head: . contrib/top gnu/usr.bin/gdb/kgdb lib/libkvm lib/libmemstat share/man/man4 share/mk sys/amd64/acpica sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include s

2011-06-09 Thread Attilio Rao
2011/6/9 John Baldwin j...@freebsd.org: On Tuesday, June 07, 2011 4:46:13 am Attilio Rao wrote: Author: attilio Date: Tue Jun  7 08:46:13 2011 New Revision: 222813 URL: http://svn.freebsd.org/changeset/base/222813 Log:   etire the cpumask_t type and replace it with cpuset_t usage

Re: svn commit: r222813 - in head: . contrib/top gnu/usr.bin/gdb/kgdb lib/libkvm lib/libmemstat share/man/man4 share/mk sys/amd64/acpica sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include s

2011-06-09 Thread Attilio Rao
2011/6/9 John Baldwin j...@freebsd.org: On Thursday, June 09, 2011 12:48:30 pm Attilio Rao wrote: 2011/6/9 John Baldwin j...@freebsd.org: On Tuesday, June 07, 2011 4:46:13 am Attilio Rao wrote: Author: attilio Date: Tue Jun  7 08:46:13 2011 New Revision: 222813 URL: http

Re: svn commit: r222853 - in head: . sys/amd64/amd64 sys/amd64/include sys/i386/i386 sys/i386/include sys/pc98/pc98

2011-06-08 Thread Attilio Rao
2011/6/8 Andriy Gapon a...@freebsd.org: Author: avg Date: Wed Jun  8 08:12:15 2011 New Revision: 222853 URL: http://svn.freebsd.org/changeset/base/222853 Log:  remove code for dynamic offlining/onlining of CPUs on x86 Thanks. Attilio -- Peace can only be achieved by understanding - A.

svn commit: r222865 - head/sys/kern

2011-06-08 Thread Attilio Rao
Author: attilio Date: Wed Jun 8 19:28:59 2011 New Revision: 222865 URL: http://svn.freebsd.org/changeset/base/222865 Log: In the current code, a double panic condition may lead to dumps interleaving. Signal dumping to happen only for the first panic which should be the most important.

svn commit: r222813 - in head: . contrib/top gnu/usr.bin/gdb/kgdb lib/libkvm lib/libmemstat share/man/man4 share/mk sys/amd64/acpica sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sy...

2011-06-07 Thread Attilio Rao
Author: attilio Date: Tue Jun 7 08:46:13 2011 New Revision: 222813 URL: http://svn.freebsd.org/changeset/base/222813 Log: etire the cpumask_t type and replace it with cpuset_t usage. This is intended to fix the bug where cpu mask objects are capped to 32. MAXCPU, then, can now

svn commit: r222234 - head/sys/mips/include

2011-05-23 Thread Attilio Rao
Author: attilio Date: Mon May 23 23:35:50 2011 New Revision: 34 URL: http://svn.freebsd.org/changeset/base/34 Log: Merge r221846 from largeSMP project branch: Fix arguments passing to _long() version of atomic function for mips. The native implementation is bogus in that regard

svn commit: r222198 - in head/sys: dev/cfi powerpc/include

2011-05-22 Thread Attilio Rao
Author: attilio Date: Sun May 22 20:55:54 2011 New Revision: 222198 URL: http://svn.freebsd.org/changeset/base/222198 Log: Merge r221614,221696,221737,221840 from largeSMP project branch: Rewrite atomic operations for powerpc in order to achieve the following: - Produce a type-clean

svn commit: r222200 - head/sys/sys

2011-05-22 Thread Attilio Rao
Author: attilio Date: Sun May 22 21:31:36 2011 New Revision: 00 URL: http://svn.freebsd.org/changeset/base/00 Log: Merge r221901 from largeSMP project branch: Increase the size of cg_count in order to enable usage of 127 CPUs. cg_children is also bumped in order to keep the

svn commit: r222201 - head/sys/kern

2011-05-22 Thread Attilio Rao
Author: attilio Date: Sun May 22 21:35:03 2011 New Revision: 01 URL: http://svn.freebsd.org/changeset/base/01 Log: Merge r221912 from largeSMP project branch: Fix a long-standing bug in cpuset_thread0() where only the first part of cs_mask is set full. Submitted by: anonymous

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

2011-05-18 Thread Attilio Rao
Author: attilio Date: Wed May 18 16:07:30 2011 New Revision: 222065 URL: http://svn.freebsd.org/changeset/base/222065 Log: Merge part of r221322 from largeSMP project: Sync XEN support with i386 about the usage of ipi_send_cpu() Tested by:pluknet MFC after:2 weeks Modified:

svn commit: r222068 - head/sys/powerpc/booke

2011-05-18 Thread Attilio Rao
Author: attilio Date: Wed May 18 16:41:38 2011 New Revision: 222068 URL: http://svn.freebsd.org/changeset/base/222068 Log: Fix newly introduced code. Reported by: sbruno Modified: head/sys/powerpc/booke/platform_bare.c Modified: head/sys/powerpc/booke/platform_bare.c

svn commit: r222069 - head/sys/powerpc/booke

2011-05-18 Thread Attilio Rao
Author: attilio Date: Wed May 18 16:42:01 2011 New Revision: 222069 URL: http://svn.freebsd.org/changeset/base/222069 Log: Fix warning spit out. Reported by: sbruno Modified: head/sys/powerpc/booke/pmap.c Modified: head/sys/powerpc/booke/pmap.c

svn commit: r222070 - head/sys/powerpc/booke

2011-05-18 Thread Attilio Rao
Author: attilio Date: Wed May 18 16:50:13 2011 New Revision: 222070 URL: http://svn.freebsd.org/changeset/base/222070 Log: Revert r222069,222068 as they were intended to be committed to the largeSMP branch. Reported by: pluknet Modified: head/sys/powerpc/booke/platform_bare.c

svn commit: r222040 - head/sys/kern

2011-05-17 Thread Attilio Rao
Author: attilio Date: Tue May 17 22:14:00 2011 New Revision: 222040 URL: http://svn.freebsd.org/changeset/base/222040 Log: Merge r221285 from largeSMP project: - Remove the following sysctl: kern.sched.ipiwakeup.onecpu kern.sched.ipiwakeup.htt2 Because they are absolutely

svn commit: r222041 - head/sys/i386/include/xen

2011-05-17 Thread Attilio Rao
Author: attilio Date: Tue May 17 22:15:53 2011 New Revision: 222041 URL: http://svn.freebsd.org/changeset/base/222041 Log: Remove an unused typedef. Tested by:sbruno, pluknet Modified: head/sys/i386/include/xen/xenvar.h Modified: head/sys/i386/include/xen/xenvar.h

svn commit: r222001 - in head/sys: kern sys

2011-05-16 Thread Attilio Rao
Author: attilio Date: Mon May 16 23:20:12 2011 New Revision: 222001 URL: http://svn.freebsd.org/changeset/base/222001 Log: Merge r221278 from largeSMP project: idle_cpus_mask is just used in sched_4bsd, thus make it private for it. Tested by:several Modified:

<    1   2   3   4   >