Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 1998 11:40:01 +0100 (CET)
From:      Reinier Bezuidenhout <Reinier.Bezuidenhout@KryptoKom.DE>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   kernel and ioctl call to kernel function
Message-ID:  <199812081040.LAA08899@borg.kryptokom.de>

next in thread | raw e-mail | index | archive | help
Hi ...


We have implemented a funtion in the kernel that does some
operations on data given to the function.  This function
can be called from within the kernel AND from user level
via a ioctl call.

What will happen if the kernel calls this function after
the user level process also called this function via
the ioctl or vice versa.  Does the one wait for the
other before the function is entered ??? 

I see some strange behaviour where the user level process
never seems to hang (no characters are echo'd to the screen
anymore, I can still swap vertual screens, but to character
input and the num-lock still worlks :) ).  The kernel
call to this function, however, seems to continue
working without any problem.

How is this "simultanious" call to the same function handled ??

Thanx
Reinier

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812081040.LAA08899>