From: Joseph Qi <joseph.qi@linux.alibaba.com>
To: Christian Brauner <brauner@kernel.org>,
Mark Fasheh <mark@fasheh.com>, Joel Becker <jlbec@evilplan.org>,
Arnd Bergmann <arnd@kernel.org>, akpm <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>,
ocfs2-devel <ocfs2-devel@oss.oracle.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ocfs2: reduce ioctl stack usage
Date: Tue, 18 Apr 2023 17:37:06 +0800 [thread overview]
Message-ID: <7555eaf9-b195-5189-3928-c7292e4a0ba5@linux.alibaba.com> (raw)
In-Reply-To: <20230418-fortgehen-inkubationszeit-5d3db3f0c2b1@brauner>
Andrew picked ocfs2 patches into -mm tree before.
Thanks,
Joseph
On 4/18/23 5:17 PM, Christian Brauner wrote:
>
> On Mon, 17 Apr 2023 22:56:24 +0200, Arnd Bergmann wrote:
>> On 32-bit architectures with KASAN_STACK enabled, the total stack usage
>> of the ocfs2_ioctl function grows beyond the warning limit:
>>
>> fs/ocfs2/ioctl.c: In function 'ocfs2_ioctl':
>> fs/ocfs2/ioctl.c:934:1: error: the frame size of 1448 bytes is larger than 1400 bytes [-Werror=frame-larger-than=]
>>
>> Move each of the variables into a basic block, and mark ocfs2_info_handle()
>> as noinline_for_stack, in order to have the variable share stack slots.
>>
>> [...]
>
> Going by git log, ocfs2 patches don't go through a separate tree.
> So unless there are objections I'm taking this through fs.misc,
>
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git
> branch: fs.misc
> [1/1] ocfs2: reduce ioctl stack usage
> commit: 85ef56bc2d65215f43ceb7377ca14a779468928d
>
> Christian
next prev parent reply other threads:[~2023-04-18 9:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-17 20:56 Arnd Bergmann
2023-04-18 1:44 ` Joseph Qi
2023-04-18 2:29 ` Mark Fasheh
[not found] ` <20230418-fortgehen-inkubationszeit-5d3db3f0c2b1@brauner>
2023-04-18 9:37 ` Joseph Qi [this message]
2023-04-18 12:56 ` Christian Brauner
2023-04-18 18:02 ` Theodore Ts'o
2023-04-19 2:00 ` Joseph Qi
2023-04-19 21:21 ` Andrew Morton
2023-04-20 9:34 ` Christian Brauner
2023-04-20 17:01 ` Mark Fasheh
2023-04-24 8:24 ` Christian Brauner
2023-04-20 20:48 ` Al Viro
2023-04-24 8:10 ` Christian Brauner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7555eaf9-b195-5189-3928-c7292e4a0ba5@linux.alibaba.com \
--to=joseph.qi@linux.alibaba.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=brauner@kernel.org \
--cc=jlbec@evilplan.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark@fasheh.com \
--cc=ocfs2-devel@oss.oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®