Re: 2.0.36+ac-pre-37-11 blocking xntpd

Petri Kaukasoina (kaukasoi@elektroni.ee.tut.fi)
Thu, 6 May 1999 18:02:06 +0300


> > Removal of mlockall() call from xntpd makes it work even in 2.0.37pre11.
>
> This can't be the solution, or am I missing sth?

It was just supposed to be a hint to some kernel hacker who might look for
the bug in the broken fix included in pre11.

But note that you force all the pages mapped into the address space of xntpd
unswappable, which is maybe 1 megabyte of memory including pages of libc and
xntpd initialization code. It's about as much nonswappable memory as used by
the kernel... I don't see any reason to use mlockall in xntpd in normal
workstations which don't need the millisecond accuracy in their wallclock
time. But you might want to use it in your time server.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/