Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2004 17:49:51 -0400
From:      Brian Fundakowski Feldman <green@freebsd.org>
To:        Marius Strobl <marius@alchemy.franken.de>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/usr.sbin/watchdogd watchdogd.c
Message-ID:  <20040728214951.GA19257@green.homeunix.org>
In-Reply-To: <20040728233751.A31182@newtrinity.zeist.de>
References:  <200407231524.i6NFOw7i047373@repoman.freebsd.org> <20040728233751.A31182@newtrinity.zeist.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 28, 2004 at 11:37:51PM +0200, Marius Strobl wrote:
> On Fri, Jul 23, 2004 at 03:24:58PM +0000, Brian Feldman wrote:
> > green       2004-07-23 15:24:58 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     usr.sbin/watchdogd   watchdogd.c 
> >   Log:
> >   Now that mlockall(2) is unbroken, use it to keep watchdogd(8) permanently
> >   out of swap.
> >   
> 
> This broke watchdogd(8) on at least alpha and sparc64:
> omega# watchdogd
> watchdogd: mlockall: Resource temporarily unavailable
> 
> Like I told you before, every call of mlockall(MCL_CURRENT) returns -1
> and sets errno to EAGAIN on these platforms.

This is a severe defect that needs to be fixed before we branch -STABLE
(one of many, obviously).  Do you know if mlockall(2) ever worked on
those platforms?

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040728214951.GA19257>