This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC v2 PATCH] futex: extend set_robust_list to allow 2 locking ABIs at the same time.
- From: Thomas Gleixner <tglx at linutronix dot de>
- To: Shawn Landden <shawn at git dot icu>
- Cc: libc-alpha at sourceware dot org, linux-api at vger dot kernel dot org, LKML <linux-kernel at vger dot kernel dot org>, Arnd Bergmann <arnd at arndb dot de>, Deepa Dinamani <deepa dot kernel at gmail dot com>, Oleg Nesterov <oleg at redhat dot com>, Andrew Morton <akpm at linux-foundation dot org>, Catalin Marinas <catalin dot marinas at arm dot com>, Keith Packard <keithp at keithp dot com>, Ingo Molnar <mingo at kernel dot org>, Peter Zijlstra <peterz at infradead dot org>, Darren Hart <dvhart at infradead dot org>
- Date: Tue, 5 Nov 2019 01:10:44 +0100 (CET)
- Subject: Re: [RFC v2 PATCH] futex: extend set_robust_list to allow 2 locking ABIs at the same time.
- References: <20191104002909.25783-1-shawn@git.icu> <alpine.DEB.2.21.1911041423510.5102@nanos.tec.linutronix.de>
On Mon, 4 Nov 2019, Thomas Gleixner wrote:
> Please provide a proper design and explain how this should work together
> with existing robust list using code first.
Just for clarification:
Any change to that interface needs to be discussed with the *libc people
first. Your way of overriding the robust list interfacce with some ad hoc
solution will break existing users which is not acceptable.
So either the problem is solved with the *libc people in a way which allows
them to build upon or if your intention is solely to solve the problem
Keith described then none of this is required at all as user space can
handle the different layouts for that magic fence implementation perfectly
fine.
Thanks,
tglx