Author: davidxu
Date: Thu Jan 6 08:13:30 2011
New Revision: 217047
URL: http://svn.freebsd.org/changeset/base/217047
Log:
Return 0 instead of garbage value.
Found by: clang static analyzer
Modified:
head/lib/libthr/thread/thr_mutex.c
Modified: head/lib/libthr/thread/thr_mutex.c
===
Author: trasz
Date: Thu Jan 6 08:33:48 2011
New Revision: 217048
URL: http://svn.freebsd.org/changeset/base/217048
Log:
Get rid of bad advice regarding /* NOTREACHED */. Compilers don't
really need it (one can use __dead2 instead), and style(9) was not
even consistent with itself in this r
On 1/5/11 11:39 AM, Bruce Evans wrote:
On Wed, 5 Jan 2011, John Baldwin wrote:
On Wednesday, January 05, 2011 11:17:20 am Jaakko Heinonen wrote:
On 2011-01-04, John Baldwin wrote:
Err, no, the point of NOTREACHED is to serve as documentation for
lint(1), but
that has subsequently been obsole
On 1/6/11 12:33 AM, Edward Tomasz Napierala wrote:
Author: trasz
Date: Thu Jan 6 08:33:48 2011
New Revision: 217048
URL: http://svn.freebsd.org/changeset/base/217048
Log:
Get rid of bad advice regarding /* NOTREACHED */. Compilers don't
really need it (one can use __dead2 instead), and s
Wiadomość napisana przez Julian Elischer w dniu 2011-01-06, o godz. 10:02:
> On 1/6/11 12:33 AM, Edward Tomasz Napierala wrote:
>> Author: trasz
>> Date: Thu Jan 6 08:33:48 2011
>> New Revision: 217048
>> URL: http://svn.freebsd.org/changeset/base/217048
>>
>> Log:
>> Get rid of bad advice rega
Author: mm
Date: Thu Jan 6 09:34:22 2011
New Revision: 217049
URL: http://svn.freebsd.org/changeset/base/217049
Log:
MFC r216919:
MFp4 186485, 186859:
Fix a race by defining two tasks in the zio structure
as we can still be returning from issue task when interrupt task is used.
Re
My mistake: s/pav/pjd/g
Dňa 06.01.2011 10:34, Martin Matuska wrote / napísal(a):
> Author: mm
> Date: Thu Jan 6 09:34:22 2011
> New Revision: 217049
> URL: http://svn.freebsd.org/changeset/base/217049
>
> Log:
> MFC r216919:
>
> MFp4 186485, 186859:
> Fix a race by defining two tasks i
On 2011-01-06 00:14, Ivan Voras wrote:
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
I'm late to the party - but is there any hope of centralizing these
and then doing something like "CFLAGS += ${CC_NO_FP}" ?
Yeah, that is the next step. First I wanted to get all the flags
Author: cperciva
Date: Thu Jan 6 12:34:18 2011
New Revision: 217050
URL: http://svn.freebsd.org/changeset/base/217050
Log:
MFC r200288, r200346, r200352: Make minidump work on i386/XEN.
Note that r200288 and r200346 touched i386/i386/dump_machdep.c,
but in that file r200346 was a back-o
On Thursday, January 06, 2011 4:02:43 am Julian Elischer wrote:
> On 1/6/11 12:33 AM, Edward Tomasz Napierala wrote:
> > Author: trasz
> > Date: Thu Jan 6 08:33:48 2011
> > New Revision: 217048
> > URL: http://svn.freebsd.org/changeset/base/217048
> >
> > Log:
> >Get rid of bad advice regardin
On 01/06/11 04:47, John Baldwin wrote:
> On Thursday, January 06, 2011 4:02:43 am Julian Elischer wrote:
>> On 1/6/11 12:33 AM, Edward Tomasz Napierala wrote:
>>> -Code that cannot be reached should have a
>>> -.Li NOTREACHED
>>> -comment.
>
> Clutter. It should be very obvious that exit(), err*(
Author: cperciva
Date: Thu Jan 6 13:02:29 2011
New Revision: 217051
URL: http://svn.freebsd.org/changeset/base/217051
Log:
MFC r216703: Make i386/XEN not panic when mlock(2) is used.
Modified:
stable/8/sys/i386/xen/pmap.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys
Author: cperciva
Date: Thu Jan 6 13:09:02 2011
New Revision: 217052
URL: http://svn.freebsd.org/changeset/base/217052
Log:
MFC r216762: Don't panic when exiting gstat or 'mdconfig -l'
Modified:
stable/8/sys/i386/xen/pmap.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sy
Author: cperciva
Date: Thu Jan 6 13:21:38 2011
New Revision: 217053
URL: http://svn.freebsd.org/changeset/base/217053
Log:
MFC r216790: Fix Xen console spew: "no input to read" != an infinite
supply of \0 bytes.
Modified:
stable/8/sys/dev/xen/console/console.c
Directory Properties:
stabl
Author: nwhitehorn
Date: Thu Jan 6 14:12:24 2011
New Revision: 217054
URL: http://svn.freebsd.org/changeset/base/217054
Log:
Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT is
built for both architectures. We need a better solution here.
Modified:
head/sys/powerpc/co
Author: cperciva
Date: Thu Jan 6 14:19:29 2011
New Revision: 217055
URL: http://svn.freebsd.org/changeset/base/217055
Log:
MFC r216812: Implement xenpic_dynirq_disable_intr and thereby avoid a
kernel panic when a disk is detached from a XEN system.
Modified:
stable/8/sys/xen/evtchn/evtchn.
On Thursday, January 06, 2011 9:12:24 am Nathan Whitehorn wrote:
> Author: nwhitehorn
> Date: Thu Jan 6 14:12:24 2011
> New Revision: 217054
> URL: http://svn.freebsd.org/changeset/base/217054
>
> Log:
> Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT is
> built for bot
On 01/06/11 09:07, John Baldwin wrote:
On Thursday, January 06, 2011 9:12:24 am Nathan Whitehorn wrote:
Author: nwhitehorn
Date: Thu Jan 6 14:12:24 2011
New Revision: 217054
URL: http://svn.freebsd.org/changeset/base/217054
Log:
Unbreak the LINT build. PS3 kernels can only be built 64-bit,
Author: cperciva
Date: Thu Jan 6 15:26:06 2011
New Revision: 217056
URL: http://svn.freebsd.org/changeset/base/217056
Log:
MFC r216843-216847: Fix i386_set_ldt on i386/XEN.
Modified:
stable/8/sys/i386/i386/sys_machdep.c
stable/8/sys/i386/include/pmap.h
stable/8/sys/i386/include/segments.
Author: jkim
Date: Thu Jan 6 16:25:08 2011
New Revision: 217057
URL: http://svn.freebsd.org/changeset/base/217057
Log:
MFC: r216940
Fix parameters for wakeup(9) and tsleep(9).
Modified:
stable/8/sys/dev/acpica/acpi_ec.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8
Author: marius
Date: Thu Jan 6 17:28:31 2011
New Revision: 217058
URL: http://svn.freebsd.org/changeset/base/217058
Log:
Remove an unused variable accidentally added in r216803.
Modified:
head/sys/sparc64/sparc64/tsb.c
Modified: head/sys/sparc64/sparc64/tsb.c
===
Author: jkim
Date: Thu Jan 6 18:00:34 2011
New Revision: 217059
URL: http://svn.freebsd.org/changeset/base/217059
Log:
MFC: r216940
Fix parameters for wakeup(9) and tsleep(9).
Approved by: re (kib)
Modified:
releng/8.2/sys/dev/acpica/acpi_ec.c
Directory Properties:
releng/8.2/s
Author: gavin
Date: Thu Jan 6 19:17:29 2011
New Revision: 217061
URL: http://svn.freebsd.org/changeset/base/217061
Log:
Support the Uniform Industrial Corp (UIC) MSR206 Magnetic Card Reader.
MFC after:1 week
Modified:
head/sys/dev/usb/serial/uplcom.c
head/sys/dev/usb/usbdevs
Modi
Author: jhb
Date: Thu Jan 6 19:32:00 2011
New Revision: 217062
URL: http://svn.freebsd.org/changeset/base/217062
Log:
- Use macbstart_locked() directly instead of deferring it to a task.
- Expand locking scope in interrupt handler.
- Flesh out the detach routine.
Reviewed by: cognet
Author: rmacklem
Date: Thu Jan 6 19:50:11 2011
New Revision: 217063
URL: http://svn.freebsd.org/changeset/base/217063
Log:
Since the VFS_LOCK_GIANT() code in the experimental NFS
server is broken and the major file systems are now all
mpsafe, modify the server so that it will only export
Author: keramida (doc committer)
Date: Thu Jan 6 20:05:24 2011
New Revision: 217064
URL: http://svn.freebsd.org/changeset/base/217064
Log:
tests: sort & fix includes, remove -include from CFLAGS of acct tests
- Sort the includes of pack.c, moving sys/*.h files near the top.
- Add a coupl
Author: andreast
Date: Thu Jan 6 20:19:01 2011
New Revision: 217065
URL: http://svn.freebsd.org/changeset/base/217065
Log:
Remove unused variables. Spotted by a cppcheck
(devel/cppcheck, http://sourceforge.net/projects/cppcheck) run.
Approved by: nwhitehorn (mentor)
Modified:
head/sys
Author: rmacklem
Date: Thu Jan 6 20:31:33 2011
New Revision: 217066
URL: http://svn.freebsd.org/changeset/base/217066
Log:
Delete the NFS_STARTWRITE() and NFS_ENDWRITE() macros that
obscured vn_start_write() and vn_finished_write() for the
old OpenBSD port, since most uses have been replace
On Tue Jan 4 11, Konstantin Belousov wrote:
> Author: kib
> Date: Tue Jan 4 14:13:09 2011
> New Revision: 216955
> URL: http://svn.freebsd.org/changeset/base/216955
>
> Log:
> Make the parsing of the integer arguments for rtprio(1)/idprio(1) stricter.
> Style.
>
> Based on submission by
Author: marcel
Date: Thu Jan 6 20:50:16 2011
New Revision: 217067
URL: http://svn.freebsd.org/changeset/base/217067
Log:
Help static analysis by initializing variables that we know cannot be
used uninitialized, but which cannot be inferred from the code itself.
Modified:
head/sys/boot/efi/
Author: jhb
Date: Thu Jan 6 21:02:14 2011
New Revision: 217068
URL: http://svn.freebsd.org/changeset/base/217068
Log:
Remove an unnecessary INTR_MPSAFE and a comment suggesting it was
unnecessary.
Modified:
head/sys/dev/adlink/adlink.c
Modified: head/sys/dev/adlink/adlink.c
==
Author: jhb
Date: Thu Jan 6 21:03:55 2011
New Revision: 217069
URL: http://svn.freebsd.org/changeset/base/217069
Log:
- Add a proper return value to mv_gpio_intr().
- Remove an obsolete use of INTR_FAST.
Modified:
head/sys/arm/mv/gpio.c
Modified: head/sys/arm/mv/gpio.c
===
Author: imp
Date: Thu Jan 6 21:04:00 2011
New Revision: 217070
URL: http://svn.freebsd.org/changeset/base/217070
Log:
No need to genreate these here
Modified:
head/sys/modules/aha/Makefile
head/sys/modules/ahb/Makefile
Modified: head/sys/modules/aha/Makefile
==
Author: imp
Date: Thu Jan 6 21:07:51 2011
New Revision: 217071
URL: http://svn.freebsd.org/changeset/base/217071
Log:
Make this work on big endian MIPS, while not breaking it for small
endian mips. This will also make it work automatically on all future
big endian platforms.
Modified:
h
Author: jhb
Date: Thu Jan 6 21:08:06 2011
New Revision: 217072
URL: http://svn.freebsd.org/changeset/base/217072
Log:
Remove bogus usage of INTR_FAST. "Fast" interrupts are now indicated by
registering a filter handler rather than a threaded handler. Also remove
a bogus use of INTR_MPSAFE
On Thu, Jan 6, 2011 at 12:41 PM, Alexander Best wrote:
...
> this causes problems when pid is -0:
>
> [id|rt]prio -t -0 and [id|rt]prio 10 -0 will try to run "0" via execvp().
> beforehand however this will also trigger rtprio().
>
> a better solution would be to do:
>
> if (argv[
Author: imp
Date: Thu Jan 6 21:09:22 2011
New Revision: 217073
URL: http://svn.freebsd.org/changeset/base/217073
Log:
Don't require /usr/lib/aout to be on the system. Test for its
existance since we don't generally need it.
MFC after:1 week
Modified:
head/etc/rc.d/ldconfig
Modif
On Thu Jan 6 11, Garrett Cooper wrote:
> On Thu, Jan 6, 2011 at 12:41 PM, Alexander Best wrote:
>
> ...
>
> > this causes problems when pid is -0:
> >
> > [id|rt]prio -t -0 and [id|rt]prio 10 -0 will try to run "0" via execvp().
> > beforehand however this will also trigger rtprio().
> >
> > a
On Thu Jan 6 11, Alexander Best wrote:
> On Tue Jan 4 11, Konstantin Belousov wrote:
> > Author: kib
> > Date: Tue Jan 4 14:13:09 2011
> > New Revision: 216955
> > URL: http://svn.freebsd.org/changeset/base/216955
> >
> > Log:
> > Make the parsing of the integer arguments for rtprio(1)/idprio
On Thu, Jan 6, 2011 at 1:10 PM, Alexander Best wrote:
> On Thu Jan 6 11, Garrett Cooper wrote:
>> On Thu, Jan 6, 2011 at 12:41 PM, Alexander Best wrote:
>>
>> ...
>>
>> > this causes problems when pid is -0:
>> >
>> > [id|rt]prio -t -0 and [id|rt]prio 10 -0 will try to run "0" via execvp().
>> >
On Thu Jan 6 11, Alexander Best wrote:
> On Thu Jan 6 11, Garrett Cooper wrote:
> > On Thu, Jan 6, 2011 at 12:41 PM, Alexander Best wrote:
> >
> > ...
> >
> > > this causes problems when pid is -0:
> > >
> > > [id|rt]prio -t -0 and [id|rt]prio 10 -0 will try to run "0" via execvp().
> > > befo
Author: jhb
Date: Thu Jan 6 21:14:34 2011
New Revision: 217074
URL: http://svn.freebsd.org/changeset/base/217074
Log:
Retire the INTR_FAST flag as it was obsoleted by the introduction of the
filter argument to bus_setup_intr().
Modified:
head/share/man/man9/BUS_SETUP_INTR.9
head/share/ma
On Thursday, January 06, 2011 4:10:17 pm Alexander Best wrote:
> On Thu Jan 6 11, Garrett Cooper wrote:
> > On Thu, Jan 6, 2011 at 12:41 PM, Alexander Best
wrote:
> >
> > ...
> >
> > > this causes problems when pid is -0:
> > >
> > > [id|rt]prio -t -0 and [id|rt]prio 10 -0 will try to run "0"
On Thursday, January 06, 2011 4:04:00 pm Warner Losh wrote:
> Author: imp
> Date: Thu Jan 6 21:04:00 2011
> New Revision: 217070
> URL: http://svn.freebsd.org/changeset/base/217070
>
> Log:
> No need to genreate these here
I think this changes the SCSI_DELAY these modules are effectively built
On Thu Jan 6 11, John Baldwin wrote:
> On Thursday, January 06, 2011 4:10:17 pm Alexander Best wrote:
> > On Thu Jan 6 11, Garrett Cooper wrote:
> > > On Thu, Jan 6, 2011 at 12:41 PM, Alexander Best
> wrote:
> > >
> > > ...
> > >
> > > > this causes problems when pid is -0:
> > > >
> > > > [i
On Tue Jan 4 11, Konstantin Belousov wrote:
> Author: kib
> Date: Tue Jan 4 14:13:09 2011
> New Revision: 216955
> URL: http://svn.freebsd.org/changeset/base/216955
>
> Log:
> Make the parsing of the integer arguments for rtprio(1)/idprio(1) stricter.
> Style.
here's a patch with some chang
On 01/06/2011 14:20, John Baldwin wrote:
On Thursday, January 06, 2011 4:04:00 pm Warner Losh wrote:
Author: imp
Date: Thu Jan 6 21:04:00 2011
New Revision: 217070
URL: http://svn.freebsd.org/changeset/base/217070
Log:
No need to genreate these here
I think this changes the SCSI_DELAY thes
On Thu Jan 6 11, Dimitry Andric wrote:
> On 2011-01-06 00:14, Ivan Voras wrote:
> >>-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
> >I'm late to the party - but is there any hope of centralizing these
> >and then doing something like "CFLAGS += ${CC_NO_FP}" ?
>
> Yeah, that is
Author: jhb
Date: Thu Jan 6 22:09:37 2011
New Revision: 217075
URL: http://svn.freebsd.org/changeset/base/217075
Log:
Retire PCONFIG and leave the priority of thread0 alone when waiting for
interrupt config hooks to execute.
Modified:
head/sys/kern/subr_autoconf.c
head/sys/sys/priority.h
On Thu Jan 6 11, Alexander Best wrote:
> On Tue Jan 4 11, Konstantin Belousov wrote:
> > Author: kib
> > Date: Tue Jan 4 14:13:09 2011
> > New Revision: 216955
> > URL: http://svn.freebsd.org/changeset/base/216955
> >
> > Log:
> > Make the parsing of the integer arguments for rtprio(1)/idprio
Alexander Best writes:
> On Thu Jan 6 11, John Baldwin wrote:
>> Note that that usage is rather pointless since it means you apply rtprio to
>> the 'rtprio' process that is about to exit. :)
>
> yeah but at least it makes the usage of -X consistent. ;) also consider the
> following: the current
Author: jhb
Date: Thu Jan 6 22:17:07 2011
New Revision: 217076
URL: http://svn.freebsd.org/changeset/base/217076
Log:
- Restore dropping the priority of syncer down to PPAUSE when it is idle.
This was lost when it was converted to using a condition variable instead
of lbolt.
- Drop th
Author: jhb
Date: Thu Jan 6 22:19:15 2011
New Revision: 217077
URL: http://svn.freebsd.org/changeset/base/217077
Log:
Only change the priority of timeshare threads to PRI_MAX_TIMESHARE
when yield() is called. Specifically, leave the priority of real time
and idle threads unchanged.
MF
Author: jhb
Date: Thu Jan 6 22:24:00 2011
New Revision: 217078
URL: http://svn.freebsd.org/changeset/base/217078
Log:
- Move sched_fork() later in fork() after the various sections of the new
thread and proc have been copied and zeroed from the old thread and
proc. Otherwise attempts t
Author: jhb
Date: Thu Jan 6 22:26:00 2011
New Revision: 217079
URL: http://svn.freebsd.org/changeset/base/217079
Log:
- Properly initialize the base priority (td_base_pri) of thread0 to PVM
to match the desired priority in td_priority. Otherwise the first time
thread0 used a borrowed p
On Fri Jan 7 11, Anonymous wrote:
> Alexander Best writes:
>
> > On Thu Jan 6 11, John Baldwin wrote:
> >> Note that that usage is rather pointless since it means you apply rtprio
> >> to
> >> the 'rtprio' process that is about to exit. :)
> >
> > yeah but at least it makes the usage of -X co
Author: cperciva
Date: Thu Jan 6 22:52:52 2011
New Revision: 217080
URL: http://svn.freebsd.org/changeset/base/217080
Log:
MFS r217051: Fix panic when mlock(2) is used on i386/XEN.
PR: kern/140313
Approved by: re (rwatson)
Modified:
releng/8.2/sys/i386/xen/pmap.c
Directory
Author: cperciva
Date: Thu Jan 6 22:53:55 2011
New Revision: 217081
URL: http://svn.freebsd.org/changeset/base/217081
Log:
MFS r217052: Fix a panic when gstat exits or when 'mdconfig -l' is run,
on i386/XEN.
PR: kern/141328
Approved by: re (rwatson)
Modified:
releng/8.2/s
Author: cperciva
Date: Thu Jan 6 22:54:48 2011
New Revision: 217082
URL: http://svn.freebsd.org/changeset/base/217082
Log:
MFS r217053: Fix the Xen console to not spew \0 bytes when there is no
input available.
Approved by: re (rwatson)
Modified:
releng/8.2/sys/dev/xen/console/consol
Author: cperciva
Date: Thu Jan 6 22:55:53 2011
New Revision: 217083
URL: http://svn.freebsd.org/changeset/base/217083
Log:
MFS r217055: Don't panic when a disk is detached on XEN.
Approved by: re (rwatson)
Modified:
releng/8.2/sys/xen/evtchn/evtchn.c
Directory Properties:
releng/8.2/
Author: cperciva
Date: Thu Jan 6 22:57:06 2011
New Revision: 217084
URL: http://svn.freebsd.org/changeset/base/217084
Log:
MFS r217056: Make i386_set_ldt work (rather than panic) on i386/XEN.
Approved by: re (rwatson)
Modified:
releng/8.2/sys/i386/i386/sys_machdep.c
releng/8.2/sys/i3
On Jan 6, 2011, at 2:41 PM, Alexander Best wrote:
> On Fri Jan 7 11, Anonymous wrote:
>> Alexander Best writes:
>>
>>> On Thu Jan 6 11, John Baldwin wrote:
Note that that usage is rather pointless since it means you apply rtprio
to
the 'rtprio' process that is about to exit. :
On Thu, 6 Jan 2011, Julian Elischer wrote:
On 1/5/11 11:39 AM, Bruce Evans wrote:
On Wed, 5 Jan 2011, John Baldwin wrote:
On Wednesday, January 05, 2011 11:17:20 am Jaakko Heinonen wrote:
On 2011-01-04, John Baldwin wrote:
Err, no, the point of NOTREACHED is to serve as documentation for
li
Garrett Cooper writes:
> On Jan 6, 2011, at 2:41 PM, Alexander Best wrote:
>
>> On Fri Jan 7 11, Anonymous wrote:
>>> Alexander Best writes:
>>>
On Thu Jan 6 11, John Baldwin wrote:
> Note that that usage is rather pointless since it means you apply rtprio
> to
> the 'rtpri
Dear Jason,
reporting breakage of custom developer patches (even if they are
candidate for merge to -CURRENT) is off-topic for the src-commiters and
svn-* lists.
Please reply only to my e-mail in private next time or use public
discussion lists.
P.S: I made a new patch.
Dňa 06.01.2011 21:31, J.
Author: lstewart
Date: Fri Jan 7 01:46:27 2011
New Revision: 217085
URL: http://svn.freebsd.org/changeset/base/217085
Log:
MFC r210144 (originally committed by imp):
Put warnings out to stderr rather than stdout.
Approved by: re (kib)
Modified:
releng/8.2/usr.sbin/config/config.y
Author: lstewart
Date: Fri Jan 7 01:50:25 2011
New Revision: 217086
URL: http://svn.freebsd.org/changeset/base/217086
Log:
MFC r210144 (originally committed by imp):
Put warnings out to stderr rather than stdout.
Approved by: re (kib)
Modified:
releng/7.4/usr.sbin/config/config.y
Hi George,
On 01/06/11 05:52, George V. Neville-Neil wrote:
> Author: gnn
> Date: Wed Jan 5 18:52:30 2011
> New Revision: 217018
> URL: http://svn.freebsd.org/changeset/base/217018
>
> Log:
> Fix binary compatability for netstats across the -x/-T changes
> that have been previously MFC'd.
>
68 matches
Mail list logo