Subject: Re: lazy mlock?
To: None <>
From: M. Warner Losh <>
List: tech-kern
Date: 04/17/2002 22:58:45
In message: <>
            Jason R Thorpe <> writes:
: On Tue, Apr 16, 2002 at 11:48:32PM +0100, David Laight wrote:
:  > If it isn't a silly question, why should ntpd 'lock down' any code at all?
: Because it is very sensitve to being able to react to a message.  Making
: it wait to page in something will skew its results.

It isn't so much that it needs to react quickly to a message, but it
needs to react in a time period that has a low standard deviation from
packet to packet.  Having to swap in first increases the standard
deviation of response time quite a bit, which lowers the performance
of NTP.