BBS水木清华站∶精华区

发信人: CuteGuy (这个春天有点冷), 信区: Linux 
标  题: Potential problem with kernel 2.2.4 
发信站: BBS 水木清华站 (Thu Mar 25 09:53:20 1999) WWW-POST 
 
Potential problem with kernel 2.2.4 
  Mar 24th, 11:57:19  
 
 Linus Torvalds has released a one-liner fix to  
 the 2.2.4 kernel, which contains a bug that might  
 cause problems on heavily loaded servers.  
 
 Linus writes:  
 
 There's a potential problem under certain load  
 conditions with 2.2.4, which should be fixed by  
 this one-liner. If you have trouble with 2.2.4  
 (apart from the obvious one where you have to  
 add ", NULL" to two places in kernel/acct.c),  
 would you try this simple thing?  
 
 Note that I _really_ want to hear about if if  
 this makes any difference at all. It's a real  
 bug, but I think it needs some rather pathological  
 usage patterns to actually become a real problem.  
 So I'd like to know if it actually makes a difference  
 in real life...  
 
 Linus  
 
 ----- 
 --- v2.2.4/linux/fs/buffer.c    Tue Mar 23 14:35:48 1999 
 +++ linux/fs/buffer.c   Wed Mar 24 09:11:53 1999 
 @@ -854,6 +854,7 @@ 
         return; 
     } 
     remove_from_queues(buf); 
 +   buf->b_count = 0; 
     put_last_free(buf); 
  } 
 
 
Return to today's headlines. 
 
-- 
                 ^\     .....  ( ^ )  .....     /^ 
                   ^-^ ^^^^^^ { 0 0 } ^^^^^^ ^-^ 
                      ^     ^^ ( @ ) ^^     ^ 
                                 " 
                        I am back from hell 
                    Tears still leave in heaven 
 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.115.16.18]  

BBS水木清华站∶精华区