cvs commit: src/sys/sys proc.h src/sys/kern kern_sig.c
John Baldwin
jhb at FreeBSD.org
Mon Mar 7 18:43:28 GMT 2005
On Friday 04 March 2005 05:46 pm, David Xu wrote:
> davidxu 2005-03-04 22:46:31 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/sys proc.h
> sys/kern kern_sig.c
> Log:
> The td_waitset is pointing to a stack address when thread is waiting
> for a signal, because kernel stack is swappable, this causes page fault
> in kernel under heavy swapping case. Fix this bug by eliminating unneeded
> code.
Did you consider simply embedding a complete sigset_t as td_waitset in struct
thread instead? Signal sets aren't very large.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the cvs-src
mailing list