Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 8 Jan 2002 15:30:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 8 Jan 2002 15:30:05 -0500 Received: from vasquez.zip.com.au ([203.12.97.41]:40717 "EHLO vasquez.zip.com.au") by vger.kernel.org with ESMTP id ; Tue, 8 Jan 2002 15:30:00 -0500 Message-ID: <3C3B5580.63DB0760@zip.com.au> Date: Tue, 08 Jan 2002 12:24:32 -0800 From: Andrew Morton X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18pre1 i686) X-Accept-Language: en MIME-Version: 1.0 To: Andrea Arcangeli CC: Marcelo Tosatti , "Dieter =?iso-8859-1?Q?N=FCtzel?=" , Rik van Riel , Linux Kernel List , Robert Love Subject: Re: [2.4.17/18pre] VM and swap - it's really unusable In-Reply-To: <20020108030431.0099F38C58@perninha.conectiva.com.br> , ; from marcelo@conectiva.com.br on Tue, Jan 08, 2002 at 11:59:36AM -0200 <20020108163925.F1894@inspiron.school.suse.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Andrea Arcangeli wrote: > > ... > > What is 00_nanosleep-5 and bootmem ? > > nanosleep gives usec resolution to the rest-of-time returned by > nanosleep, this avoids glibc userspace starvation on nanosleep > interrupted by a flood of signals. It was requested by glibc people. > It would be really nice to do something about that two millisecond busywait for RT tasks in sys_nanosleep(). It's really foul. The rudest thing about it is that programmers think "oh, let's be nice to the machine and use usleep(1000)". Boy, do they get a shock when they switch their pthread app to use an RT policy. Does anyone have any clever ideas? - - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/