Displaying 1 result from an estimated 1 matches for "unix_gc".
Did you mean:
unix_c
1997 Dec 03
2
Insufficient allocations in net/unix/garbage.c
...ern inline unix_socket *unix_get_socket(struct file *filp)
{
- --- 69,77 ----
/* Internal data structures and random procedures: */
static unix_socket **stack; /* stack of objects to mark */
static int in_stack = 0; /* first free entry in stack */
! static int max_stack; /* Calculated in unix_gc() */
extern inline unix_socket *unix_get_socket(struct file *filp)
{
***************
*** 110,116 ****
extern inline void push_stack(unix_socket *x)
{
! if (in_stack == MAX_STACK)
panic("can''t push onto full stack");
stack[in_stack++] = x;
}
- --- 119,125 ----...