Re: [PATCH v3] proc,fcntl: introduce F_SET_DESCRIPTION

From: Pascal Bouchareine
Date: Tue Jul 28 2020 - 02:25:58 EST


On Mon, Jul 27, 2020 at 6:39 PM Pascal Bouchareine <kalou@xxxxxxx> wrote:
> > struct file is nicely aligned to 256 bytes on distro configs.
> > Will this break everything?
> >
> > $ cat /sys/kernel/slab/filp/object_size
>
> Indeed on the config I'm using here this jumped to 264 bytes
>
> Would it be better to move this to the inode struct? I don't know the
> implications of this - any other option?

Well it doesn't actually make much sense to share that at that level

However the above 264 is building from 5.4 without f_sb_err, so I
think master already passed the 256 bytes too ?