Date: Fri, 11 Dec 98 09:35:15 -0600 From: "Richard Seaman, Jr." <lists@tar.com> To: "Marc Slemko" <marcs@znep.com> Cc: "hackers@freebsd.org" <hackers@FreeBSD.ORG> Subject: Re: pread/pwrite Message-ID: <199812111535.JAA59487@ns.tar.com>
next in thread | raw e-mail | index | archive | help
On Fri, 11 Dec 98 09:19:06 -0600, Richard Seaman, Jr. wrote: >In the uniprocessor case, it is my understanding that the kernel >is nonpreemtive. Thus, if pread/pwrite are syscalls, no locking >is needed any more than it is needed for read/write. A follow-up clarification. The implementation of read/write and pread/pwrite in sys_generic.c all call an underlying device specific read/write. There is synchronization needed in most cases to handle interrupts, but this is done within the device specific read/write. 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?199812111535.JAA59487>