On Thursday, October 14, 2010 5:09:58 pm Dimitry Andric wrote:
On 2010-10-14 21:39, John Baldwin wrote:
On Thursday, October 14, 2010 3:19:19 pm Rui Paulo wrote:
...
Revert r213765. This is required because our build infrastructure uses
the host lex instead of the lex built during
On Friday, October 15, 2010 2:50:46 pm Rui Paulo wrote:
On 15 Oct 2010, at 13:45, John Baldwin wrote:
On Thursday, October 14, 2010 5:09:58 pm Dimitry Andric wrote:
On 2010-10-14 21:39, John Baldwin wrote:
On Thursday, October 14, 2010 3:19:19 pm Rui Paulo wrote:
...
Revert r213765
in a critical
section.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
On Monday, October 18, 2010 3:06:15 pm Marius Strobl wrote:
On Mon, Oct 18, 2010 at 10:03:12AM -0400, John Baldwin wrote:
On Sunday, October 17, 2010 12:46:54 pm Marius Strobl wrote:
Author: marius
Date: Sun Oct 17 16:46:54 2010
New Revision: 213985
URL: http://svn.freebsd.org
On Monday, October 18, 2010 5:41:57 pm Alexander Motin wrote:
Marius Strobl wrote:
On Mon, Oct 18, 2010 at 05:05:24PM -0400, John Baldwin wrote:
On Monday, October 18, 2010 4:52:24 pm Marius Strobl wrote:
AFAICT this is not true; intr_event_handle() in sys/kern/kern_intr.c
is what enters
On Tuesday, October 19, 2010 9:37:15 am Alexander Motin wrote:
John Baldwin wrote:
On Monday, October 18, 2010 5:41:57 pm Alexander Motin wrote:
Marius Strobl wrote:
On Mon, Oct 18, 2010 at 05:05:24PM -0400, John Baldwin wrote:
On Monday, October 18, 2010 4:52:24 pm Marius Strobl wrote
the removed code
(except returning EOPNOTSUPP instead of 0 if there is no chainevh).
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr
Author: jhb
Date: Thu Oct 21 17:29:32 2010
New Revision: 214144
URL: http://svn.freebsd.org/changeset/base/214144
Log:
- Make 'vm_refcnt' volatile so that compilers won't be tempted to treat
its value as a loop invariant. Currently this is a no-op because
'atomic_cmpset_int()' clobbers
Author: jhb
Date: Thu Oct 21 17:46:23 2010
New Revision: 214146
URL: http://svn.freebsd.org/changeset/base/214146
Log:
Clarify a misleading comment. The test in pci_reserve_map() was meant to
ignore BARs that are invalid due to having a size of zero, not to ignore
BARs with an existing
On Thursday, October 21, 2010 2:19:21 pm Ed Schouten wrote:
Hi John,
* John Baldwin j...@freebsd.org, 20101021 19:29:
+ if (atomic_fetchadd_int(vm-vm_refcnt, -1) == 1)
vmspace_dofree(vm);
Not that it's that useful, but maybe it would be good to use
refcount_release() here
Author: jhb
Date: Thu Oct 21 19:17:40 2010
New Revision: 214158
URL: http://svn.freebsd.org/changeset/base/214158
Log:
- When disabling ktracing on a process, free any pending requests that
may be left. This fixes a memory leak that can occur when tracing is
disabled on a process via
On Thursday, October 21, 2010 3:08:12 pm Xin LI wrote:
On 10/21/10 04:46, John Baldwin wrote:
On Thursday, October 21, 2010 4:57:25 am Xin LI wrote:
Author: delphij
Date: Thu Oct 21 08:57:25 2010
New Revision: 214125
URL: http://svn.freebsd.org/changeset/base/214125
Log
Author: jhb
Date: Fri Oct 22 11:42:02 2010
New Revision: 214203
URL: http://svn.freebsd.org/changeset/base/214203
Log:
- Add a new PCI quirk to whitelist an old chipset that doesn't support
PCI-express or PCI-X capabilities if we are running in a virtual machine.
- Whitelist the Intel
Author: jhb
Date: Mon Oct 25 15:31:13 2010
New Revision: 214347
URL: http://svn.freebsd.org/changeset/base/214347
Log:
Use 'saveintr' instead of 'savecrit' or 'eflags' to hold the state returned
by intr_disable().
Requested by: bde
Modified:
head/sys/amd64/amd64/fpu.c
Author: jhb
Date: Tue Oct 26 19:11:09 2010
New Revision: 214396
URL: http://svn.freebsd.org/changeset/base/214396
Log:
- Save errno values before calling warn(3) so that errors are correctly
reported.
- Use powerof2() from sys/param.h rather than a copy and paste version.
Submitted
Author: jhb
Date: Thu Oct 28 13:44:19 2010
New Revision: 214448
URL: http://svn.freebsd.org/changeset/base/214448
Log:
Use 'PCPU_GET(apic_id)' to determine the BSP's APIC ID on a UP machine
when routing interrupts instead of cpu_apic_ids[0] since cpu_apic_ids[]
is only populated for
Author: jhb
Date: Thu Oct 28 14:17:06 2010
New Revision: 214449
URL: http://svn.freebsd.org/changeset/base/214449
Log:
Set bootverbose directly in mi_startup() rather than via a SYSINIT. This
ensures 'bootverbose' is in a valid state for all SYSINITs.
Reported by: avg
MFC after:1
, so ram_attach() should probably be changed to
try the amd64 approach first and if that fails fall back to using the
phys_avail[] array instead.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn
On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote:
2010/10/28 John Baldwin j...@freebsd.org:
On Thursday, October 28, 2010 12:31:39 pm Attilio Rao wrote:
Author: attilio
Date: Thu Oct 28 16:31:39 2010
New Revision: 214457
URL: http://svn.freebsd.org/changeset/base/214457
On Thursday, October 28, 2010 2:11:40 pm John Baldwin wrote:
On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote:
+ vm_paddr_t *p;
caddr_t kmdp;
uint32_t smapsize;
- int error, rid;
+ int error, i, rid;
/* Retrieve the system memory
On Thursday, October 28, 2010 8:25:38 pm Attilio Rao wrote:
2010/10/28 John Baldwin j...@freebsd.org:
On Thursday, October 28, 2010 4:28:12 pm Attilio Rao wrote:
2010/10/28 John Baldwin j...@freebsd.org:
On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote:
2010/10/28 John Baldwin
On Friday, October 29, 2010 10:17:23 am Attilio Rao wrote:
2010/10/29 John Baldwin j...@freebsd.org:
On Thursday, October 28, 2010 8:25:38 pm Attilio Rao wrote:
2010/10/28 John Baldwin j...@freebsd.org:
On Thursday, October 28, 2010 4:28:12 pm Attilio Rao wrote:
2010/10/28 John Baldwin
On Friday, October 29, 2010 10:33:05 am Attilio Rao wrote:
2010/10/29 John Baldwin j...@freebsd.org:
On Friday, October 29, 2010 10:17:23 am Attilio Rao wrote:
2010/10/29 John Baldwin j...@freebsd.org:
On Thursday, October 28, 2010 8:25:38 pm Attilio Rao wrote:
2010/10/28 John Baldwin j
Author: jhb
Date: Fri Oct 29 19:17:07 2010
New Revision: 214523
URL: http://svn.freebsd.org/changeset/base/214523
Log:
Remove support for creating the 'machine' symlink as well as creating the
extra MACHINE_ARCH symlink for certain platforms (such as pc98). The
support for creating these
Author: jhb
Date: Mon Nov 1 15:18:57 2010
New Revision: 214625
URL: http://svn.freebsd.org/changeset/base/214625
Log:
Correct the abbreviations for general I/O and signal traces.
PR: docs/151854
Submitted by: Stephen Veiss stephen of brokenbottle net
MFC after:3 days
Author: jhb
Date: Mon Nov 1 17:34:04 2010
New Revision: 214629
URL: http://svn.freebsd.org/changeset/base/214629
Log:
Add an x86/include directory to the kernel to hold headers that are common
to amd64, i386, and pc98. The headers are installed to /usr/include/x86
during an installworld,
Author: jhb
Date: Mon Nov 1 17:40:35 2010
New Revision: 214630
URL: http://svn.freebsd.org/changeset/base/214630
Log:
Move the machine/mca.h header to x86/mca.h.
Added:
head/sys/x86/include/mca.h
- copied, changed from r214624, head/sys/amd64/include/mca.h
Deleted:
Author: jhb
Date: Mon Nov 1 18:18:46 2010
New Revision: 214631
URL: http://svn.freebsd.org/changeset/base/214631
Log:
Move machine/apicreg.h to x86/apicreg.h.
Added:
head/sys/x86/include/apicreg.h
- copied, changed from r214624, head/sys/i386/include/apicreg.h
Deleted:
Author: jhb
Date: Tue Nov 2 12:40:13 2010
New Revision: 214673
URL: http://svn.freebsd.org/changeset/base/214673
Log:
Fix a few typos and style nits in the example code.
Submitted by: Arnaud Lacombe lacombar of gmail
MFC after:3 days
Modified:
Author: jhb
Date: Tue Nov 2 13:00:56 2010
New Revision: 214675
URL: http://svn.freebsd.org/changeset/base/214675
Log:
Don't leak the LLE lock if the arptimer callout is pending or inactive.
Reported by: David Rhodus
MFC after:1 month
Modified:
head/sys/netinet/if_ether.c
Author: jhb
Date: Tue Nov 2 13:04:25 2010
New Revision: 214676
URL: http://svn.freebsd.org/changeset/base/214676
Log:
Skip SMAP regions above 4GB on i386 since they will not fit into a long.
While here, update some comments to better explain the new code flow.
Tested by:dhw
On Tuesday, November 02, 2010 9:00:57 am John Baldwin wrote:
Author: jhb
Date: Tue Nov 2 13:00:56 2010
New Revision: 214675
URL: http://svn.freebsd.org/changeset/base/214675
Log:
Don't leak the LLE lock if the arptimer callout is pending or inactive.
Reported by:David
On Tuesday, November 02, 2010 12:41:54 pm David Rhodus wrote:
- Forwarded Message
From: John Baldwin j...@freebsd.org
To: src-committ...@freebsd.org
Cc: svn-src-head@freebsd.org; svn-src-...@freebsd.org
Sent: Tue, November 2, 2010 9:06:24 AM
Subject: Re: svn commit: r214675
Author: jhb
Date: Tue Nov 2 17:56:16 2010
New Revision: 214681
URL: http://svn.freebsd.org/changeset/base/214681
Log:
Further tweaks to the ram_attach() routine:
- Use 2^32 - 1 instead of = when checking for memory regions above 4G.
- Skip SMAP entries 4G on i386 rather than breaking out
Author: jhb
Date: Tue Nov 2 18:34:31 2010
New Revision: 214682
URL: http://svn.freebsd.org/changeset/base/214682
Log:
Tweak the waitchannel messages for the dead lock detection kthread. Use
a shorter message (userland generally only sees the first 6 to 8
characters) when waiting for the
Author: jhb
Date: Tue Nov 2 20:16:41 2010
New Revision: 214686
URL: http://svn.freebsd.org/changeset/base/214686
Log:
Cosmetic change to revert one of my earlier ones.
#if __i386__ PAE is identical to just #if PAE since PAE is only a valid
option for i386.
Submitted by: attilio
Author: jhb
Date: Wed Nov 3 13:42:59 2010
New Revision: 214738
URL: http://svn.freebsd.org/changeset/base/214738
Log:
Delete machine/foo.h headers moved to x86/. I forgot to commit this
earlier.
Modified:
head/ObsoleteFiles.inc
Modified: head/ObsoleteFiles.inc
Author: jhb
Date: Wed Nov 3 15:38:52 2010
New Revision: 214746
URL: http://svn.freebsd.org/changeset/base/214746
Log:
Remove 'softclock_ih' as it is no longer used.
Modified:
head/sys/kern/kern_timeout.c
head/sys/sys/interrupt.h
Modified: head/sys/kern/kern_timeout.c
Author: jhb
Date: Thu Nov 4 15:33:50 2010
New Revision: 214782
URL: http://svn.freebsd.org/changeset/base/214782
Log:
Update startup_alloc() to support multi-page allocations and allow internal
zones whose objects are larger than a page to use startup_alloc(). This
allows allocation of
Author: jhb
Date: Fri Nov 5 13:42:58 2010
New Revision: 214835
URL: http://svn.freebsd.org/changeset/base/214835
Log:
Adjust the order of operations in spinlock_enter() and spinlock_exit() to
work properly with single-stepping in a kernel debugger. Specifically,
these routines have always
Author: jhb
Date: Mon Nov 8 20:03:51 2010
New Revision: 215001
URL: http://svn.freebsd.org/changeset/base/215001
Log:
Only dump the values of the PMC and CMCI local vector table entries on a
local APIC if those LVT entries are valid. This quiets spurious illegal
register local APIC errors
Author: jhb
Date: Mon Nov 8 20:05:22 2010
New Revision: 215002
URL: http://svn.freebsd.org/changeset/base/215002
Log:
A few small style and whitespace fixes.
Modified:
head/sys/amd64/acpica/madt.c
head/sys/amd64/amd64/mp_machdep.c
head/sys/i386/acpica/madt.c
Modified:
Author: jhb
Date: Mon Nov 8 20:30:59 2010
New Revision: 215007
URL: http://svn.freebsd.org/changeset/base/215007
Log:
Disconnect acpi.ko from the build on i386. ACPI is now only supported when
compiled into the kernel, not as a loadable module.
Modified:
head/sys/modules/acpi/Makefile
Author: jhb
Date: Mon Nov 8 20:32:35 2010
New Revision: 215008
URL: http://svn.freebsd.org/changeset/base/215008
Log:
Remove stub symbols for APIC-related functions when 'device apic' is not
included in a kernel config. These stubs had existed previously so that
acpi.ko could always
Author: jhb
Date: Mon Nov 8 20:35:09 2010
New Revision: 215009
URL: http://svn.freebsd.org/changeset/base/215009
Log:
Sync the APIC startup sequence with amd64:
- Register APIC enumerators at SI_SUB_TUNABLES - 1 instead of SI_SUB_CPU - 1.
- Probe CPUs at SI_SUB_TUNABLES - 1. This allows
Author: jhb
Date: Mon Nov 8 20:44:11 2010
New Revision: 215010
URL: http://svn.freebsd.org/changeset/base/215010
Log:
Don't mention 'device acpi' or loading ACPI as a kernel module since the
latter is not supported. This is also more consistent with manpages for
other vendor-specific
)
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/x86/acpica/madt.c Mon Nov 8 20:57:02 2010(r215012, copy
of r215009, head/sys/i386/acpica/madt.c)
@@ -0,0 +1,572 @@
+/*-
+ * Copyright (c) 2003 John Baldwin j...@freebsd.org
+ * All rights reserved
Author: jhb
Date: Mon Nov 8 21:50:45 2010
New Revision: 215016
URL: http://svn.freebsd.org/changeset/base/215016
Log:
Remove support for autoloading ACPI from the loader. Leave in the code to
detect ACPI and export info such as the location of the RSDP via hints as
that is still useful.
Author: jhb
Date: Tue Nov 9 19:28:06 2010
New Revision: 215046
URL: http://svn.freebsd.org/changeset/base/215046
Log:
- Save errno values before calling warn(3) so that errors are correctly
reported.
- Check for malloc() failures.
Submitted by: gcooper
MFC after:1 week
Author: jhb
Date: Tue Nov 9 20:41:10 2010
New Revision: 215052
URL: http://svn.freebsd.org/changeset/base/215052
Log:
Remove unused includes of sys/mutex.h and machine/mutex.h.
Modified:
head/sys/fs/nwfs/nwfs_vnops.c
head/sys/ia64/ia64/db_machdep.c
head/sys/ia64/ia64/genassym.c
Author: jhb
Date: Tue Nov 9 20:46:41 2010
New Revision: 215054
URL: http://svn.freebsd.org/changeset/base/215054
Log:
- Remove machine/mutex.h. Most of the headers were empty, and the
contents of the ones that were not empty were stale and unused.
- Now that machine/mutex.h no longer
vendor/bzip2/dist?
I think they were. Notice the prop change on the directory. Also, 1.0.6 was
imported into the vendor area a while ago. I think David was just now able to
get review completed and commit the merge.
--
John Baldwin
___
svn-src-head
Author: jhb
Date: Thu Nov 11 16:06:47 2010
New Revision: 215128
URL: http://svn.freebsd.org/changeset/base/215128
Log:
Fix a few more places to use cpumask_t rather than 'u_int'. These are
just cosmetic.
Modified:
head/sys/sun4v/include/pmap.h
head/sys/sun4v/include/smp.h
Author: jhb
Date: Mon Nov 15 19:55:19 2010
New Revision: 215345
URL: http://svn.freebsd.org/changeset/base/215345
Log:
Don't display option 2 (to toggle ACPI on or off) on x86 machines if the
BIOS does not support ACPI. The other options in the menu retain their
existing numbers, option 2
Author: jhb
Date: Wed Nov 17 15:42:47 2010
New Revision: 215426
URL: http://svn.freebsd.org/changeset/base/215426
Log:
Remove unused autofs userland bits.
Approved by: core
Deleted:
head/lib/libautofs/
head/sbin/mount_autofs/
___
Author: jhb
Date: Wed Nov 17 22:28:04 2010
New Revision: 215443
URL: http://svn.freebsd.org/changeset/base/215443
Log:
Add a resource_list_reserved() method that returns true if a resource
list entry contains a reserved resource.
Modified:
head/sys/kern/subr_bus.c
head/sys/sys/bus.h
Author: jhb
Date: Thu Nov 18 22:17:20 2010
New Revision: 215473
URL: http://svn.freebsd.org/changeset/base/215473
Log:
Various small typos and grammar nits in comments.
Modified:
head/sys/dev/acpica/acpi_hpet.c
head/sys/dev/atkbdc/psm.c
Modified: head/sys/dev/acpica/acpi_hpet.c
probably just retire
'modulelist_t' and replace it with 'struct modulelist'.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr
... */
}
(Likely mangled whitespace.)
I couldn't convince myself which order was more correct for suspend and
resume.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe
On Friday, November 19, 2010 4:31:44 pm Attilio Rao wrote:
2010/11/19 John Baldwin j...@freebsd.org:
On Friday, November 19, 2010 4:09:28 pm Jung-uk Kim wrote:
On Friday 19 November 2010 02:43 pm, Attilio Rao wrote:
Author: attilio
Date: Fri Nov 19 19:43:56 2010
New Revision: 215544
On Friday, November 19, 2010 4:27:27 pm Attilio Rao wrote:
2010/11/19 John Baldwin j...@freebsd.org:
On Friday, November 19, 2010 2:43:57 pm Attilio Rao wrote:
Author: attilio
Date: Fri Nov 19 19:43:56 2010
New Revision: 215544
URL: http://svn.freebsd.org/changeset/base/215544
Log
On Friday, November 19, 2010 5:03:25 pm Jung-uk Kim wrote:
On Friday 19 November 2010 04:46 pm, John Baldwin wrote:
On Friday, November 19, 2010 4:31:44 pm Attilio Rao wrote:
2010/11/19 John Baldwin j...@freebsd.org:
On Friday, November 19, 2010 4:09:28 pm Jung-uk Kim wrote
Author: jhb
Date: Mon Nov 22 14:36:04 2010
New Revision: 215678
URL: http://svn.freebsd.org/changeset/base/215678
Log:
Similar to mfiutil, drop local definition of powerof2() and use version
from sys/param.h instead.
Modified:
head/usr.sbin/mptutil/mpt_config.c
Modified:
On Friday, November 19, 2010 5:32:00 pm Attilio Rao wrote:
2010/11/19 John Baldwin j...@freebsd.org:
On Friday, November 19, 2010 4:27:27 pm Attilio Rao wrote:
2010/11/19 John Baldwin j...@freebsd.org:
On Friday, November 19, 2010 2:43:57 pm Attilio Rao wrote:
Author: attilio
Date
On Friday, November 19, 2010 5:41:00 pm Attilio Rao wrote:
2010/11/19 John Baldwin j...@freebsd.org:
On Friday, November 19, 2010 5:03:25 pm Jung-uk Kim wrote:
On Friday 19 November 2010 04:46 pm, John Baldwin wrote:
On Friday, November 19, 2010 4:31:44 pm Attilio Rao wrote:
2010/11/19
Author: jhb
Date: Mon Nov 22 15:15:11 2010
New Revision: 215681
URL: http://svn.freebsd.org/changeset/base/215681
Log:
Remove some bogus, self-referential mergeinfo.
Modified:
Directory Properties:
head/sys/ (props changed)
head/sys/amd64/include/xen/ (props changed)
to warrant any of these.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
.
Yes, this catches a specific case that hps raised a few years ago:
sending zero-length packets/frames would fail by causing the system to
hang. Should we just document the restriction in the man page and not
try and prevent it at runtime?
Documenting it is probably sufficient.
--
John Baldwin
and that this case is actually very
rare.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
stripe sizes to physical sector sizes when picking block sizes, etc.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
Author: jhb
Date: Tue Dec 7 18:49:11 2010
New Revision: 216263
URL: http://svn.freebsd.org/changeset/base/216263
Log:
Use proper resource ID's for HPET IRQ resources. This mostly consists of
looking to see if there is an existing IRQ resource for a given IRQ
provided by the BIOS and using
;
- }
if (tsc_is_invariant)
printf(\n TSC: P-state invariant);
Doesn't that break this printf?
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman
On Tuesday, December 07, 2010 5:22:29 pm John Baldwin wrote:
On Tuesday, December 07, 2010 5:12:02 pm Jung-uk Kim wrote:
Author: jkim
Date: Tue Dec 7 22:12:02 2010
New Revision: 216272
URL: http://svn.freebsd.org/changeset/base/216272
Log:
Probe P-state invariant TSC from
On Tuesday, December 07, 2010 8:24:28 pm Alexey Dokuchaev wrote:
On Tue, Dec 07, 2010 at 06:49:11PM +, John Baldwin wrote:
Author: jhb
Date: Tue Dec 7 18:49:11 2010
New Revision: 216263
URL: http://svn.freebsd.org/changeset/base/216263
Log:
Use proper resource ID's for HPET
Author: jhb
Date: Thu Dec 9 20:28:30 2010
New Revision: 216334
URL: http://svn.freebsd.org/changeset/base/216334
Log:
When reopening a stream backed by an open file descriptor, do not close
the existing file descriptor. Instead, let dup2() atomically close the
old file descriptor when
On Friday, December 10, 2010 11:36:17 am Tijl Coosemans wrote:
On Friday 10 December 2010 16:31:36 John Baldwin wrote:
On Friday, December 10, 2010 10:05:49 am Tijl Coosemans wrote:
Author: tijl
Date: Fri Dec 10 15:05:49 2010
New Revision: 216358
URL: http://svn.freebsd.org/changeset
);
+ atomic_store_int((priv-frin_to_be_sent[i]), 0);
Err, there is no such op for this. If you don't need a memory barrier then a
simple assignment to 0 should suffice.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org
Author: jhb
Date: Thu Dec 16 15:19:32 2010
New Revision: 216486
URL: http://svn.freebsd.org/changeset/base/216486
Log:
Use bus_alloc_resource_any() instead of bus_alloc_resource(). Besides being
cleaner, this fixes problems where the code was using ~0 instead of ~0ul
for the upper bound on
Author: jhb
Date: Thu Dec 16 15:27:13 2010
New Revision: 216487
URL: http://svn.freebsd.org/changeset/base/216487
Log:
Pass JFLAG as JFLAG from tinderbox to universe. This gives the same
semantics for JFLAG with tinderbox as for universe. Previously doing
'make JFLAG=-j4 tinderbox' was
/../../../../sys/crypto/sha2/sha2.c:994: warning: cast
increases required alignment of target type
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head
...)
The one thing to be cautious about is that make universe won't fail if an
individual build fails, so you need to check the logs to make sure everything
actually succeeded.
Which is why I prefer 'make tinderbox' since it tells you what fails. :)
--
John Baldwin
Author: jhb
Date: Fri Dec 17 16:29:06 2010
New Revision: 216504
URL: http://svn.freebsd.org/changeset/base/216504
Log:
Add back a bounds check on valid idle priorities that was lost in an
earlier commit. While here, move the thread lock down in rtp_to_pri().
It is not needed for all of the
Author: jhb
Date: Mon Dec 20 14:54:24 2010
New Revision: 216590
URL: http://svn.freebsd.org/changeset/base/216590
Log:
Don't whine about child drivers calling pci_enable_busmaster(). That is
perfectly normal.
MFC after:1 week
Modified:
head/sys/dev/pci/vga_pci.c
Modified:
Author: jhb
Date: Tue Dec 21 12:49:37 2010
New Revision: 216614
URL: http://svn.freebsd.org/changeset/base/216614
Log:
Only use the BIOS-supplied IRQ for the atkbdc device for a child atkbd
device. Specifically, do not reuse it for a child psm device.
Tested by:many
Modified:
Author: jhb
Date: Tue Dec 21 19:30:24 2010
New Revision: 216621
URL: http://svn.freebsd.org/changeset/base/216621
Log:
Fix a typo in a comment.
MFC after:1 week
Modified:
head/sys/netinet/tcp_timer.c
Modified: head/sys/netinet/tcp_timer.c
flag). 'orl' will work
just as well as 'orb'.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
Author: jhb
Date: Wed Dec 22 20:27:20 2010
New Revision: 216674
URL: http://svn.freebsd.org/changeset/base/216674
Log:
Use resource_list_reserve() to reserve I/O port and memory resources for
ACPI devices even if they are not allocated by a device driver since the
resources are in use and
Author: jhb
Date: Thu Dec 23 15:17:28 2010
New Revision: 216679
URL: http://svn.freebsd.org/changeset/base/216679
Log:
Drop the icu_lock spinlock while pausing briefly after masking the
interrupt in the I/O APIC before moving it to a different CPU. If the
interrupt had been triggered by
Author: jhb
Date: Thu Dec 23 18:50:14 2010
New Revision: 216680
URL: http://svn.freebsd.org/changeset/base/216680
Log:
Don't try to reserve a resource that is already allocated. If the ECDT
table is present, then the acpi_ec(4) driver will allocate its resources
from nexus0 before the
'?
If you are just doing 'make DEBUG=-DDEBUG' with this change, then I agree
with Ulrich, DEBUG_FLAGS is already suitable for this purpose.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
Author: jhb
Date: Tue Dec 28 16:57:29 2010
New Revision: 216764
URL: http://svn.freebsd.org/changeset/base/216764
Log:
Use bus_alloc_resource_any().
MFC after:2 weeks
Modified:
head/sys/dev/mpt/mpt_pci.c
Modified: head/sys/dev/mpt/mpt_pci.c
Author: jhb
Date: Tue Dec 28 18:58:15 2010
New Revision: 216769
URL: http://svn.freebsd.org/changeset/base/216769
Log:
Start sentences on a new line to ease life for translators. Tweak the
wording in a few places.
MFC after:1 week
Modified:
head/usr.bin/gcore/gcore.1
Modified:
Author: jhb
Date: Mon Jan 3 18:28:30 2011
New Revision: 216925
URL: http://svn.freebsd.org/changeset/base/216925
Log:
Add a 'locked' variant of the foo_start() routine and call it directly
from interrupt handlers and watchdog routines instead of queueing a task
to call foo_start().
Author: jhb
Date: Tue Jan 4 13:16:28 2011
New Revision: 216954
URL: http://svn.freebsd.org/changeset/base/216954
Log:
kproc_exit() is already marked __dead2 so a NOTREACHED comment here isn't
needed for lint.
Submitted by: bde
Modified:
head/sys/kern/kern_kthread.c
Modified:
+303,12 @@ void
xen_flush_queue(void)
{
SET_VCPU();
+
+ if (__predict_true(gdtset))
+ critical_enter();
if (XPQ_IDX != 0) _xen_flush_queue();
+ if (__predict_true(gdtset))
+ critical_exit();
}
static __inline void
--
John Baldwin
On Tuesday, January 04, 2011 12:00:12 pm Julian Elischer wrote:
On 1/4/11 5:16 AM, John Baldwin wrote:
Author: jhb
Date: Tue Jan 4 13:16:28 2011
New Revision: 216954
URL: http://svn.freebsd.org/changeset/base/216954
Log:
kproc_exit() is already marked __dead2 so a NOTREACHED
(as bde has suggested to me elsewhere), but this is good enough for
today.
strtonum(3)?
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr
.
It strikes me that we really want clang/gcc to have some sort of
'-mno-hwfloat' so we don't keep having to add new flags in the future.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
On Wednesday, January 05, 2011 8:36:06 am Dimitry Andric wrote:
On 2011-01-05 13:59, John Baldwin wrote:
Why not to add NO_HWFLOAT knob (or similar) into makefile
infrastructure. And set CFLAGS accordingly, depending on CC, arch, etc.
These flags are getting rather common in tree
On Wednesday, January 05, 2011 9:50:40 am Nathan Whitehorn wrote:
On 01/05/11 08:28, John Baldwin wrote:
On Wednesday, January 05, 2011 8:36:06 am Dimitry Andric wrote:
On 2011-01-05 13:59, John Baldwin wrote:
Why not to add NO_HWFLOAT knob (or similar) into makefile
infrastructure
1 - 100 of 4143 matches
Mail list logo