From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AXQPL-0003Bd-FN for user-mode-linux-devel@lists.sourceforge.net; Fri, 19 Dec 2003 11:35:31 -0800 Received: from smtp002.mail.ukl.yahoo.com ([217.12.11.33]) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.24) id 1AXQPK-0006Mv-Rx for user-mode-linux-devel@lists.sourceforge.net; Fri, 19 Dec 2003 11:35:31 -0800 From: BlaisorBlade Subject: Re: [uml-devel] new_mm : /proc/mm copy_segments failed, err = 0 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Message-Id: <200312192038.48325.blaisorblade_spam@yahoo.it> Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 19 Dec 2003 20:38:48 +0100 Content-Transfer-Encoding: quoted-printable To: user-mode-linux-devel@lists.sourceforge.net Cc: Ingo Molnar Alle 20:09, venerd=EC 19 dicembre 2003, Jason Lunz ha scritto: > The problem is that on every process fork, I see $Subject appear one or > more times on the console, and subjectively the uml seems to be running > a little slowly. Is this normal? No, it's a little bug from the host patch; to fix it, edit mm/proc_mm.c and= =20 find this code inside write_proc_mm function: /* Not necessary anymore - for compatibility only */ case MM_COPY_SEGMENTS: ret =3D 0; then replace the line "ret =3D 0; " with "ret =3D count;" For Ingo: it's a write() call, after all, so it must return the count of=20 "written" bytes... see the line above the switch(). Bye --=20 cat <