CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Tue Feb  2 06:52:59 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
Be consistent to decide if PMAP_WIRED or not.


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Tue Feb  2 06:06:02 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c uvm_loan.c uvm_loan.h

Log Message:
Move A->K loan break code to uvm_loan.c.


To generate a diff of this commit:
cvs rdiff -u -r1.152 -r1.153 src/sys/uvm/uvm_fault.c
cvs rdiff -u -r1.74 -r1.75 src/sys/uvm/uvm_loan.c
cvs rdiff -u -r1.14 -r1.15 src/sys/uvm/uvm_loan.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Tue Feb  2 05:58:16 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
Indent.


To generate a diff of this commit:
cvs rdiff -u -r1.151 -r1.152 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src

2010-02-01 Thread Takahiro Kambe
Hi,

In message <20100127191031.c716317...@cvs.netbsd.org>
on Wed, 27 Jan 2010 19:10:31 +,
Matthias Drochner  wrote:
> Module Name:  src
> Committed By: drochner
> Date: Wed Jan 27 19:10:31 UTC 2010
> 
> Modified Files:
>   src/distrib/sets/lists/comp: mi
>   src/include: util.h
>   src/lib/libutil: Makefile
> Removed Files:
>   src/lib/libutil: pw_policy.3 pw_policy.c
> 
> Log Message:
> retire pw_policy(3) -- it is not found useful, there are other
> (more common) ways to enforce a password strength policy
> approved by elad
the version of libutil's shared library should be changed in some way,
shoudn't it?

Best regards.

-- 
Takahiro Kambe 


CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Tue Feb  2 04:35:35 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
uvm_fault: Split "neighbor" fault and loan handling into functions.


To generate a diff of this commit:
cvs rdiff -u -r1.150 -r1.151 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sparc64

2010-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  2 04:28:56 UTC 2010

Modified Files:
src/sys/arch/sparc64/include: cpu.h pmap.h
src/sys/arch/sparc64/sparc64: db_interface.c ipifuncs.c locore.s pmap.c

Log Message:
- split sp_tlb_flush_pte() and switchtoctx() into sp_tlb_flush_pte_us()/
  sp_tlb_flush_pte_usiii() and switchtoctx_us()/switchtoctx_usiii() and
  implement the latter while i'm here.  it works ... sometimes i think,
  but also sometimes panics/hangs.
- fix a comment in sparc64_ipi_flush_pte_usiii()


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/arch/sparc64/include/cpu.h
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/sparc64/include/pmap.h
cvs rdiff -u -r1.120 -r1.121 src/sys/arch/sparc64/sparc64/db_interface.c
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/sparc64/sparc64/ipifuncs.c
cvs rdiff -u -r1.309 -r1.310 src/sys/arch/sparc64/sparc64/locore.s
cvs rdiff -u -r1.248 -r1.249 src/sys/arch/sparc64/sparc64/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2010-02-01 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb  2 04:04:39 UTC 2010

Modified Files:
src/share/man/man4: pud.4

Log Message:
pud requires putter like it always has.
deliberately do NOT bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/pud.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src

2010-02-01 Thread YAMAMOTO Takashi
> On Fri, Jan 29, 2010 at 12:24:56AM +, YAMAMOTO Takashi wrote:
>  > > > let's stop being too generic and go back to the change in question.
>  > > > do you think this man page is an appropriate place for these functions?
>  > > 
>  > > Given that they exist in several MD implementations and (I think) are
>  > > more or less the same in at least some of those, yes, provided they're
>  > > documented as a piece of internals.
>  > 
>  > "some MD implementations might have this for their internal use"?
>  > it sounds useless and confusing to me.
> 
> It has two legitimate audiences: (1) people bringing up new ports, who
> may not already know the ins and outs of making MD spl handling go,
> and who would be better off reading and understanding documentation
> than blindly cutting and pasting existing logic; and also (2) anyone
> looking to unify common MD code and make it MI.

i don't think it's what this man page is for.

having such documentation somewhere might be helpful, sure.  i even
suggested to put it as comments along the code.  however please don't
put them in this man page.

> 
> I don't see that this is a bad thing, and I don't see that these
> things change often enough to make updating such docs a maintenance
> problem. So I don't see what the downside is.

it confuses the main audiences of the man page.  (ones who want to learn
the interfaces)

> 
>  > > Of course, we could get rid of them and move to MI spl functions :-)
>  > > (see tech-kern, ad@ just found the thread and thereby reminded me of it)
>  > 
>  > we are discussing if we want to describe MD internal details in the
>  > man page of MI spl interfaces.

i don't understand what you meant by "MI spl functions".
what this man page describes is what can be used by MI code.
(except splraise and spllower, of course)

> 
> However, if you have an opinion on that thread it'd be good to hear
> it... there, of course :-)

i'm not sure which thread are you talking about.

YAMAMOTO Takashi

> 
> -- 
> David A. Holland
> dholl...@netbsd.org


CVS commit: src/sys/arch/sparc64/sparc64

2010-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  2 03:07:06 UTC 2010

Modified Files:
src/sys/arch/sparc64/sparc64: locore.s

Log Message:
for now, reduce a few #ifdef SPITFIRE cases by introducing a new
ASI_DCACHE_TAG_OR_INV that is either ASI_DCACHE_{TAG,_INVALIDATE}.

increase the common code in cache_flush_phys().


To generate a diff of this commit:
cvs rdiff -u -r1.308 -r1.309 src/sys/arch/sparc64/sparc64/locore.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Tue Feb  2 01:54:48 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
Sort struct uvm_faultctx members for better alignment.


To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.150 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2010-02-01 Thread Hubert Feyrer
Module Name:src
Committed By:   hubertf
Date:   Mon Feb  1 22:34:29 UTC 2010

Modified Files:
src/sys/dev/pci: hifn7751.c

Log Message:
Use uppercase for acronyms on output: DRAM, SRAM


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/pci/hifn7751.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-4-0] src/doc

2010-02-01 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Mon Feb  1 21:47:34 UTC 2010

Modified Files:
src/doc [netbsd-4-0]: CHANGES-4.0.2

Log Message:
Ticket #1378


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.69 -r1.1.2.70 src/doc/CHANGES-4.0.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-4-0] src/crypto/dist/openssl/crypto/comp

2010-02-01 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Mon Feb  1 21:47:11 UTC 2010

Modified Files:
src/crypto/dist/openssl/crypto/comp [netbsd-4-0]: c_zlib.c

Log Message:
Pull up following revision(s) (requested by taca in ticket #1378):
crypto/dist/openssl/crypto/comp/c_zlib.c: patch
Fix to deal with CVE-2009-4355 from OpenSSL's repositroy.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5.4.1 -r1.1.1.5.4.1.2.1 \
src/crypto/dist/openssl/crypto/comp/c_zlib.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-4] src/doc

2010-02-01 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Mon Feb  1 21:46:44 UTC 2010

Modified Files:
src/doc [netbsd-4]: CHANGES-4.1

Log Message:
Ticket #1378


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.195 -r1.1.2.196 src/doc/CHANGES-4.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-4] src/crypto/dist/openssl/crypto/comp

2010-02-01 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Mon Feb  1 21:45:57 UTC 2010

Modified Files:
src/crypto/dist/openssl/crypto/comp [netbsd-4]: c_zlib.c

Log Message:
Pull up following revision(s) (requested by taca in ticket #1378):
crypto/dist/openssl/crypto/comp/c_zlib.c: patch
Fix to deal with CVE-2009-4355 from OpenSSL's repositroy.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5.4.1 -r1.1.1.5.4.2 \
src/crypto/dist/openssl/crypto/comp/c_zlib.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2010-02-01 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Feb  1 16:14:58 UTC 2010

Modified Files:
src/sys/kern: kern_ssp.c

Log Message:
Switch SSP init output to aprint_debug() instead of aprint_normal()
under DIAGNOSTIC ifdefs.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/kern/kern_ssp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  1 16:12:36 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
Indent.


To generate a diff of this commit:
cvs rdiff -u -r1.148 -r1.149 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  1 16:08:27 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
More split.


To generate a diff of this commit:
cvs rdiff -u -r1.147 -r1.148 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2010-02-01 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Feb  1 12:58:04 UTC 2010

Modified Files:
src/sys/kern: kern_ssp.c

Log Message:
Aprintify.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/kern/kern_ssp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2010-02-01 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Feb  1 12:51:16 UTC 2010

Modified Files:
src/sys/dev/pci: auich.c

Log Message:
Do not print ac97 link rate message unless verbose boot is requested.


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/sys/dev/pci/auich.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  1 11:58:39 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
Fix build without DIAGNOSTIC.


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  1 10:22:40 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
uvm_fault: Clarify when to wire what.


To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ddb

2010-02-01 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Mon Feb  1 09:56:58 UTC 2010

Modified Files:
src/sys/ddb: db_write_cmd.c

Log Message:
Include "ctype.h" if we are not building a kernel to fix the build
of crash(8).


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/ddb/db_write_cmd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2010-02-01 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon Feb  1 09:45:05 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi_tz.c

Log Message:
Fix incorrect notify handler type (ACPI_SYSTEM_NOTIFY -> ACPI_DEVICE_NOTIFY).


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/acpi/acpi_tz.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  1 09:18:41 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
uvm_fault_upper_lookup: This is totally my personal preference, but can't help
adding one goto to reduce one indent.


To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  1 09:06:43 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
uvm_fault:
- Lower fault routines don't care the vm_anon array found in upper lookup.
  Don't pass the pointer down.
- The flag "shadowed" is known when we lookup upper layer.  Don't need to
  keep in the fault context struct.


To generate a diff of this commit:
cvs rdiff -u -r1.143 -r1.144 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  1 08:23:13 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
Indent.


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  1 08:19:17 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
Rewrite uvm_fault() loop using while () than goto.


To generate a diff of this commit:
cvs rdiff -u -r1.141 -r1.142 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2010-02-01 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Mon Feb  1 08:16:32 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
Split uvm_fault() into 2 more functions, uvm_fault_check() and
uvm_fault_upper_lookup().  Omit unnecessary arguments passed around.


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/sys/uvm/uvm_fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.