Re: [PATCH] erofs: fix PSI memstall accounting

From: Max Kellermann
Date: Tue Dec 03 2024 - 03:59:42 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)?

ok, I'll try to figure that out.

> Also btw, is _RET_IP_ stable among all cases as readahead_expand()?

Yes, always the same address.