search for: in_unix_gc

Displaying 1 result from an estimated 1 matches for "in_unix_gc".

1997 Dec 03
2
Insufficient allocations in net/unix/garbage.c
...39;'t push onto full stack"); stack[in_stack++] = x; } - --- 119,125 ---- extern inline void push_stack(unix_socket *x) { ! if (in_stack == max_stack) panic("can''t push onto full stack"); stack[in_stack++] = x; } *************** *** 151,158 **** if(in_unix_gc) return; in_unix_gc=1; ! ! stack=(unix_socket **)get_free_page(GFP_KERNEL); /* * Assume everything is now unmarked - --- 160,170 ---- if(in_unix_gc) return; in_unix_gc=1; ! ! max_stack = max_files; ! ! stack=(unix_socket **)kmalloc(max_stack * sizeof(unix_socket **)...