Thread (16 messages) 16 messages, 5 authors, 2021-04-15

Re: consolidate the flock uapi definitions

From: Arnd Bergmann <arnd@arndb.de>
Date: 2021-04-12 11:08:12
Also in: linux-arch, linux-mips, linux-s390, linuxppc-dev, lkml, sparclinux

On Mon, Apr 12, 2021 at 12:22 PM David Laight [off-list ref] wrote:
From: Arnd Bergmann
quoted
Sent: 12 April 2021 11:04

On Mon, Apr 12, 2021 at 10:55 AM Christoph Hellwig [off-list ref] wrote:
quoted
Hi all,

currently we deal with the slight differents in the various architecture
variants of the flock and flock64 stuctures in a very cruft way.  This
series switches to just use small arch hooks and define the rest in
asm-generic and linux/compat.h instead.
Nice cleanup. I can merge it through the asm-generic tree if you like,
though it's a little late just ahead of the merge window.

I would not want to change the compat_loff_t definition to compat_s64
to avoid the padding at this time, though that might be a useful cleanup
for a future cycle.
Is x86 the only architecture that has 32bit and 64bit variants where
the 32bit variant aligns 64bit items on 32bit boundaries?
Yes.
ISTM that fixing compat_loff_t shouldn't have any fallout.
That is my assumption as well, but I still wouldn't take the
risk one week before the merge window.

       Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help