lkml.org 
[lkml]   [1999]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Real fix] Re: Kernel panic: can't push onto full stack
On Sun, 28 Feb 1999, Alexander Viro wrote:

> Because it isn't. Suppose we have 5 sockets - A, B, C, D and E.

gc_current is the head of a single linked list of unix_socks.

>Initial state:
>*dummy
>pushing A and B. Result:
>dummy <- A <- *B
>pop() returns B
>dummy <- *A <- B
>pushing C
>dummy <- A <- *C
> <- B
^^^^ This link doesn't mean that it's pointing A but it's just
a trick to tell at the garbage collector that the sock A
has not to be shrunk in the hitlist.

I still think that calling it a tree is quite confusing. Maybe I didn't
understood the code completly though (I never looked into it before
this evening).

Andrea Arcangeli


-
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:50    [W:0.058 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site