kevents umount -f kernel panic

2001-01-30 Thread Mitja Horvat
Hi all, I found a bug in the FreeBSD kernel today(it's 4.2-STABLE, cvsupped today). It is related to kevents and the umount -f option(forcibly unmounting of a filesystem). The bug is easily reproducible by running this simple shell script: #/bin/sh while true do mount /cdrom

Re: makecontext friends ?

2000-09-09 Thread Mitja Horvat
Hi, Sure, it can. See my GNU Portable Threads under http://www.gnu.org/software/pth/. We have a port under devel/pth, too. It bases its user-land threads on ucontext(3) if available or on setjmp(3)'s jmp_buf, etc. All without any assembler things. For details read my USENIX paper under

Re: makecontext() friends ?

2000-09-09 Thread Mitja Horvat
Hi Dan, I have implemented {make,get,set,swap}context as library routines for FreeBSD. They're gathering dust somewhere and need a bit of polishing. If you give me some time I can dust them off and send them to you. I would really appreciate if I could get my hands on this code. Could you

makecontext() friends ?

2000-09-08 Thread Mitja Horvat
Hi, are there any plans to implement makecontext() friends functions in FreeBSD? Is there any other way to implement user-level threads? (I know it can be done in assembler, but this is not portable) Using pthreads is not an option for me, although pthreads are implemented as userlevel

makecontext friends ?

2000-09-08 Thread Mitja Horvat
Hi, are there any plans to implement makecontext() friends functions in FreeBSD? Is there any other way to implement user-level threads? (I know it can be done in assembler, but this is not portable) Using pthreads is not an option for me, although pthreads are implemented as userlevel

Re: 4.1-RELEASE problem writing to async mounted filesystem

2000-08-09 Thread Mitja Horvat
Hi, There's no reason to use softupdates and async together. SU gets you the same benefits, but much more safely. You are right... I thought async was only for data updates, not metadata too... Thanks for clearing this out... As I understand SU, it's just a method to do metadata