Re: CVS commit: [netbsd-6] src/doc

2012-03-02 Thread Jeff Rizzo

On 3/2/12 8:35 AM, Jeff Rizzo wrote:

Module Name:src
Committed By:   riz
Date:   Fri Mar  2 16:35:50 UTC 2012

Modified Files:
src/doc [netbsd-6]: CHANGES-6.0

Log Message:
Tickets 62-66.





This was actually tickets 62-65, the commit message has been fixed in 
the repo.


+j



Re: CVS commit: src/doc

2012-03-02 Thread Warner Losh

On Mar 2, 2012, at 12:41 AM, Alan Barrett wrote:

 On Fri, 02 Mar 2012, Jukka Ruohonen wrote:
 tzcode2012b and tzdata2012b ahve been released.
 We have updated to tzdata2012b.
 
 What was the resolution with the patent issues and whatnot?
 
 The lawsuit was withdrawn after it became obvious that the 
 plaintiffs had no valid case.  The EFF got involved with the 
 defence, and here's their collection of links to relevant 
 documents:  https://www.eff.org/cases/astrolabe-v-olson.

And there were never any patent issues.  It was a bad copyright case.

Warner



Re: CVS commit: src/common/lib/libc/string

2012-03-02 Thread Alan Barrett

On Fri, 02 Mar 2012, Jukka Ruohonen wrote:

Log Message:
Change CTASSERT to __CTASSERT (the spelling used in sys/cdefs.h),
include sys/cdefs.h so that it will be defined,
and move it to a better place.

The previous CTASSERT would never have been used because
of the ifdef.  If it had been used, it would have had
unwanted effects from being just after the static inline
that appears when BZERO is defined.

Also move the __RCSID to a more conventional location.


And what was the resolution with all this? (cf. useless changes?).


Sorry, I don't understand what you mean.


Please change the documentation too (and most of all, !).


It seems taht CTASSERT is defined in libkern.h, so is available to
kernel code.  I'll fix the documentation.

--apb (Alan Barrett)


Re: CVS commit: src/common/lib/libc/string

2012-03-02 Thread Matt Thomas

On Mar 2, 2012, at 11:15 AM, Alan Barrett wrote:

 On Fri, 02 Mar 2012, Jukka Ruohonen wrote:
 Log Message:
 Change CTASSERT to __CTASSERT (the spelling used in sys/cdefs.h),
 include sys/cdefs.h so that it will be defined,
 and move it to a better place.
 
 The previous CTASSERT would never have been used because
 of the ifdef.  If it had been used, it would have had
 unwanted effects from being just after the static inline
 that appears when BZERO is defined.
 
 Also move the __RCSID to a more conventional location.
 
 And what was the resolution with all this? (cf. useless changes?).
 
 Sorry, I don't understand what you mean.
 
 Please change the documentation too (and most of all, !).
 
 It seems taht CTASSERT is defined in libkern.h, so is available to
 kernel code.  I'll fix the documentation.

__CTASSERT is available everywhere


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

2012-03-02 Thread Alistair Crooks
On Sat, Mar 03, 2012 at 03:17:32AM +, Takeshi Nakayama wrote:
 Module Name:  src
 Committed By: nakayama
 Date: Sat Mar  3 03:17:32 UTC 2012
 
 Modified Files:
   src/sys/arch/sparc64/sparc64: locore.s
 
 Log Message:
 Fix the root cause of the hack disable optimizations for uvm_bio.c
 on 32 bit kernels.
 
 gcc converts a division in the calculation of UBC_UMAP_ADDR macro
 to multiplication (smul or combination of add/sll), and the
 register of its result contains a garbage in upper 32 bits (the
 upper 32 bits of smul/add/sll's result isn't zero cleared).
 
 Then it passes to pseg_get{,_real} through pmap_extract without the
 zero clear of upper 32 bits in the optimization case.  So the
 result of pseg_get and pmap_extact sometimes gets screwed up.

Oh, good catch!

Thanks for fixing this one.

Best,
Al