Re: [PATCH v3 2/2] vfs: avoid duplicating creds in faccessat if possible

From: Sedat Dilek
Date: Sun Mar 05 2023 - 04:26:55 EST


On Sun, Mar 5, 2023 at 1:44 AM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Sat, Mar 4, 2023 at 1:10 PM Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > Whether the end result _works_ or not, I still haven't checked.
>
> Well, this particular patch at least boots for me for my normal
> config. Not that I've run any extensive tests, but I'm writing this
> email while running this patch, so ..
>

Hi Linus,

can you share your "normal config", please?

This what latest Debian kernel from unstable has (discussed Kconfigs):

# egrep 'NR_CPUS|CPUMASK_OFFSTACK|MAXSMP' /boot/config-6.1.0-5-amd64
397:CONFIG_MAXSMP=y
398:CONFIG_NR_CPUS_RANGE_BEGIN=8192
399:CONFIG_NR_CPUS_RANGE_END=8192
400:CONFIG_NR_CPUS_DEFAULT=8192
401:CONFIG_NR_CPUS=8192
10214:CONFIG_CPUMASK_OFFSTACK=y
10215:# CONFIG_FORCE_NR_CPUS is not set

What are "sane" settings in your eyes?

Full Debian kernel-config for AMD64 is attached.

Thanks.

Best regards,
-Sedat-

Attachment: config-6.1.0-5-amd64
Description: Binary data