Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2002 12:48:46 -0600
From:      "Alan L. Cox" <alc@imimic.com>
To:        Jake Burkholder <jake@locore.ca>
Cc:        Matt Jacob <mjacob@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm uma_dbg.c
Message-ID:  <3DCEAA0E.337BF15B@imimic.com>
References:  <200211101616.gAAGGiuV009632@repoman.freebsd.org> <20021110135614.A85338@locore.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Jake Burkholder wrote:
> 
> Apparently, On Sun, Nov 10, 2002 at 08:16:44AM -0800,
>         Matt Jacob said words to the effect of;
> 
> > mjacob      2002/11/10 08:16:44 PST
> >
> >   Modified files:
> >     sys/vm               uma_dbg.c
> >   Log:
> >   Use atomic_set_8 on the us_freelist maps as they are not otherwise
> >   protected. Furthermore, in some RISC architectures with no normal
> >   byte operations, the surrounding 3 bytes are also affected by the
> >   read-modify-write that has to occur.
> >
> >   Revision  Changes    Path
> >   1.9       +2 -2      src/sys/vm/uma_dbg.c
> 
> sparc64 can't do atomic operations on less than 32 bits, this needs
> a lock.
> 

Matt, can you try acquiring and releasing the zone mutex in
uma_dbg_alloc() and uma_dbg_free() instead?

Alan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DCEAA0E.337BF15B>