Subject: Re: CVS commit: src/sys
To: None <yamt@mwd.biglobe.ne.jp>
From: Mindaugas R. <rmind@NetBSD.org>
List: source-changes
Date: 11/10/2007 17:41:10
yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
> > Module Name: src
> > Committed By: rmind
> > Date: Sun Nov 4 11:20:35 UTC 2007
> >
> > Modified Files:
> > src/sys/kern: sysv_msg.c sysv_sem.c
> > src/sys/sys: sem.h
> >
> > Log Message:
> > Support for dynamic changing of SysV message queues and semaphores limits.
> > Also fixes the alignment problem, which was here forever. Thanks for
> > <uwe> for discussion and <martin> for testing.
> >
> > Reviewed by: <tech-kern>, <gdt>
>
> why make syscalls return EINTR when resizing?
>
> YAMAMOTO Takashi
Sorry for late reply.
Why else you want to do? They might loop a long time, so we EINTR (this error
code is appropriate) all waiters when resizing. Note that we wont have stale
pointers. It is a rare operation and such behaviour should not hurt, thought.
--
Best regards,
Mindaugas
www.NetBSD.org