Re: ipc,sem: sysv semaphore scalability

From: Dave Jones
Date: Tue Apr 02 2013 - 16:01:50 EST


On Tue, Apr 02, 2013 at 03:53:01PM -0400, Sasha Levin wrote:
> On 04/02/2013 01:52 PM, Linus Torvalds wrote:
> > On Tue, Apr 2, 2013 at 9:08 AM, Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:
> >>
> >> By just playing with the 'msgsz' parameter with MSG_COPY set.
> >
> > Hmm. Looking closer, I suspect you're testing without commit
> > 88b9e456b164 ("ipc: don't allocate a copy larger than max"). That
> > should limit the size passed in to prepare_copy -> load_copy to
> > msg_ctlmax.
>
> That commit has a revert in the -next trees, do we need a revert
> of the revert?

Yeah, I told Andrew to drop that, but I think he's travelling.

Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/