Re: [2.4.17/18pre] VM and swap - it's really unusable

Andrew Morton (akpm@zip.com.au)
Tue, 08 Jan 2002 12:24:32 -0800


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/