lkml.org 
[lkml]   [1998]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectHangup, cure(?), in 2.1.127
According to Linus Torvalds:
> /* max one hundreth of a second */
> end_time = jiffies + (HZ-1)/100;
> do {
> if (!do_try_to_free_page(0))
> break;
> + if (nr_free_pages > 2*freepages.high)
> + break;
> } while (time_before_eq(jiffies,end_time));

When I first installed 2.1.127 on my laptop I got a few hangups.
Things weren't completely dead, but they were very weird; it seemed as
if anything that required disk activity hung for a _long_ time, but
sometimes succeeded after all.

Applying the above patch _seems_ to have fixed this problem, but I
won't be sure of that until I've run it for a day or so. (And I can't
entirely rule out the possibility of a PCMCIA problem, since I also
upgraded to the 24 October PCMCIA snapshot.) But I thought I should
report, anyway.

(Hardware info: Thinkpad 765D, P166, 32M, 3G IDE, XFree86 xserver_svga,
PCMCIA Ethernet using tulip driver.)
--
Chip Salzenberg - a.k.a. - <chip@perlsupport.com>
"There -- we made them swerve slightly!" //MST3K

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.101 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site