On Thu, 29 Jun 2023 at 22:59, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
Linus Torvalds torvalds@linux-foundation.org gup: add warning if some caller would seem to want stack expansion
Did you decide to take that one after all?
It's not exactly wrong, and it might help find any odd cases, but I do suspect you can get syzbot etc to trigger the warning. It's designed to find crazy users, and syzbot is - pretty much by definition and by design - one of the craziest out there.
Linus