Subject: Re: CVS commit: src/sys
To: None <rmind@NetBSD.org>
From: YAMAMOTO Takashi <email@example.com>
Date: 11/12/2007 18:04:07
[ moved to tech-kern ]
> firstname.lastname@example.org (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,
sorry, i don't understand what you mean.
can't sys_semop retry by itself after resizing, rather than
returning an error to userland?