Re: [PATCH] erofs: fix PSI memstall accounting

From: Max Kellermann
Date: Tue Dec 03 2024 - 08:30:46 EST


On Tue, Dec 3, 2024 at 9:15 AM Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx> wrote:
> But I guess you could record more frame addresses to get the caller
> of readahead_expand()? e.g. __builtin_return_address(1)?

This turned out to be a big disaster. __builtin_return_address(1)
instantly crashes the kernel, causing the whole (production) cluster
to go down.