From owner-freebsd-stable@FreeBSD.ORG Thu Feb 9 14:29:48 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B36D016A420 for ; Thu, 9 Feb 2006 14:29:48 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC05143D49 for ; Thu, 9 Feb 2006 14:29:47 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (crytyt@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k19ETeRj014393 for ; Thu, 9 Feb 2006 15:29:45 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k19ETeFc014392; Thu, 9 Feb 2006 15:29:40 +0100 (CET) (envelope-from olli) Date: Thu, 9 Feb 2006 15:29:40 +0100 (CET) Message-Id: <200602091429.k19ETeFc014392@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <20060209122530.GA36749@anastasia.lan.barfoos.de> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 09 Feb 2006 15:29:45 +0100 (CET) Cc: Subject: Re: truss and /sbin/init X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2006 14:29:48 -0000 Jens Trzaska wrote: > David Kirchner [2006-02-08 16:53]: > > The memory is apparently locked in core, according to the L flag for > > 'ps'. This should probably be documented in the truss man page to > > avoid confusion. > > Does you or perhaps someone else know why init is locked in core? Its > not the case in 4.x and I can't see why a regular userspace process > is locked. It _is_ the case in 4.x: $ uname -rs FreeBSD 4.11-STABLE $ ps -p 1 PID TT STAT TIME COMMAND 1 ?? ILs 0:17.41 /sbin/init -- As for the reason: Well, init(8) is special. Its existence is critical for the running system, so it cannot be paged out to swap space. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "C is quirky, flawed, and an enormous success." -- Dennis M. Ritchie.