Re: [PATCH -vfs] proc: don't maintain sizeof(struct proc_dir_entry)

2018-05-18 Thread Alexey Dobriyan
On Fri, May 18, 2018 at 09:23:15PM +0100, Al Viro wrote: > On Fri, May 18, 2018 at 11:02:13PM +0300, Alexey Dobriyan wrote: > > Automatically cap sizeof(struct proc_dir_entry) at 192/128 bytes or > > 256/192 bytes if spinlock debugging/lockdep is enabled. > > > --- a/fs/proc/internal.h > > +++

Re: [PATCH -vfs] proc: don't maintain sizeof(struct proc_dir_entry)

2018-05-18 Thread Alexey Dobriyan
On Fri, May 18, 2018 at 09:23:15PM +0100, Al Viro wrote: > On Fri, May 18, 2018 at 11:02:13PM +0300, Alexey Dobriyan wrote: > > Automatically cap sizeof(struct proc_dir_entry) at 192/128 bytes or > > 256/192 bytes if spinlock debugging/lockdep is enabled. > > > --- a/fs/proc/internal.h > > +++

Re: [PATCH -vfs] proc: don't maintain sizeof(struct proc_dir_entry)

2018-05-18 Thread Al Viro
On Fri, May 18, 2018 at 11:02:13PM +0300, Alexey Dobriyan wrote: > Automatically cap sizeof(struct proc_dir_entry) at 192/128 bytes or > 256/192 bytes if spinlock debugging/lockdep is enabled. > --- a/fs/proc/internal.h > +++ b/fs/proc/internal.h > @@ -61,13 +61,15 @@ struct proc_dir_entry { >

Re: [PATCH -vfs] proc: don't maintain sizeof(struct proc_dir_entry)

2018-05-18 Thread Al Viro
On Fri, May 18, 2018 at 11:02:13PM +0300, Alexey Dobriyan wrote: > Automatically cap sizeof(struct proc_dir_entry) at 192/128 bytes or > 256/192 bytes if spinlock debugging/lockdep is enabled. > --- a/fs/proc/internal.h > +++ b/fs/proc/internal.h > @@ -61,13 +61,15 @@ struct proc_dir_entry { >

[PATCH -vfs] proc: don't maintain sizeof(struct proc_dir_entry)

2018-05-18 Thread Alexey Dobriyan
Automatically cap sizeof(struct proc_dir_entry) at 192/128 bytes or 256/192 bytes if spinlock debugging/lockdep is enabled. Signed-off-by: Alexey Dobriyan --- fs/proc/generic.c |2 +- fs/proc/inode.c|5 +++-- fs/proc/internal.h | 10 ++ 3 files

[PATCH -vfs] proc: don't maintain sizeof(struct proc_dir_entry)

2018-05-18 Thread Alexey Dobriyan
Automatically cap sizeof(struct proc_dir_entry) at 192/128 bytes or 256/192 bytes if spinlock debugging/lockdep is enabled. Signed-off-by: Alexey Dobriyan --- fs/proc/generic.c |2 +- fs/proc/inode.c|5 +++-- fs/proc/internal.h | 10 ++ 3 files changed, 10 insertions(+),