Re: CVS commit: src/sys/arch/i386/stand/lib

2010-12-19 Thread David Laight
On Sun, Dec 19, 2010 at 05:18:23PM +, Jonathan A. Kollasch wrote:
 Module Name:  src
 Committed By: jakllsch
 Date: Sun Dec 19 17:18:23 UTC 2010
 
 Modified Files:
   src/sys/arch/i386/stand/lib: realprot.S
 
 Log Message:
 Compute real/protected %sp/%esp offset in 'gdt_fixup' using all 32-bits.
 Allows the case of %ss being less than %cs to work.
 Also, completely save and restore the general-purpose registers we use.

It ought to be possible to initialise the gdt (etc) as compile time.
The addresses are always fixed.

David

-- 
David Laight: da...@l8s.co.uk


Re: CVS commit: src/sys/kern

2010-12-19 Thread YAMAMOTO Takashi
hi,

 On Fri Dec 17 2010 at 22:34:04 +, YAMAMOTO Takashi wrote:
 Module Name: src
 Committed By:yamt
 Date:Fri Dec 17 22:34:04 UTC 2010
 
 Modified Files:
  src/sys/kern: vfs_lookup.c
 
 Log Message:
 - lookup_once: when crossing a mount point, don't keep the parent vnode 
 locked.
   ie. don't lock a vnode while holding another vnode which belongs to a
   different filesystem.  otherwise we propagate slowness (or deadness) of a
   filesystem to another via vnode lock chain.
 - lookup_parsepath: don't alter vnode states.  let the caller do it instead.
 - add comments and assertions.
 
 Hi, this breaks the state-dp != ndp-ni_dvp invariant in at least 3
 places in vfs_lookup.c:
 
 http://www.gson.org/netbsd/bugs/build/build/2010.12.18.09.26.57/test.html#failed-tcs-summary
 
 Can you have a look?

i reverted the change as i currently have no time to take a look.
i'll take a look later.  thanks.

YAMAMOTO Takashi

 
 -- 
 dld karot toivorikkauttas, kyl rdtei ja lumpui piisaa