Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Christian Limpach <cl@netbsd.org>
List: source-changes
Date: 01/02/2004 19:14:00
Module Name:	src
Committed By:	cl
Date:		Fri Jan  2 19:14:00 UTC 2004

Modified Files:
	src/lib/libpthread: pthread_int.h pthread_sa.c pthread_stack.c

Log Message:
userland part of no-syscall upcall stack return

- add pt_stackinfo to struct __pthread_st
- add pthread__stackinfo_offset returning the offset from ss_sp to
  pt_stackinfo
- pass stackinfo_offset to sa_register and set SA_FLAG_STACKINFO to
  make the kernel use it
- call pthread__sa_recycle in pthread__resolve_locks; g/c recycleq and
  pthread__recycle_bulk
- return stack in pthread__sa_recycle by incrementing sasi_stackgen
- make pthread__sa_recycle debugging output formatting conditional on
  pthread__debug_newline


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/lib/libpthread/pthread_int.h
cvs rdiff -r1.25 -r1.26 src/lib/libpthread/pthread_sa.c
cvs rdiff -r1.9 -r1.10 src/lib/libpthread/pthread_stack.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.