Re: [PATCH] mm: page_owner: fetch backtrace only for tracked pages

2021-04-07 Thread Sergei Trofimovich
On Wed, Apr 07, 2021 at 05:49:14PM +0200, Vlastimil Babka wrote: > On 4/1/21 11:24 PM, Sergei Trofimovich wrote: > > Very minor optimization. > > I'm not entirely sure about accuracy of "only for tracked pages". Missing > page_ext is something I'm not even sure how possible it is in practice, >

Re: [PATCH] mm: page_owner: fetch backtrace only for tracked pages

2021-04-07 Thread Vlastimil Babka
On 4/1/21 11:24 PM, Sergei Trofimovich wrote: > Very minor optimization. I'm not entirely sure about accuracy of "only for tracked pages". Missing page_ext is something I'm not even sure how possible it is in practice, probably just an error condition (failed to be allocated?). Or did you observe

[PATCH] mm: page_owner: fetch backtrace only for tracked pages

2021-04-01 Thread Sergei Trofimovich
Very minor optimization. CC: Andrew Morton CC: linux...@kvack.org Signed-off-by: Sergei Trofimovich --- mm/page_owner.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/page_owner.c b/mm/page_owner.c index 63e4ecaba97b..7147fd34a948 100644 --- a/mm/page_owner.c +++