Re: [PATCH 1/1] mm/page_owner: fix recursion bug after changing skip entries

2018-03-21 Thread Vlastimil Babka
On 03/21/2018 05:37 AM, Maninder Singh wrote: > This patch fixes "5f48f0bd4e368425db4424b9afd1bd251d32367a". > (mm, page_owner: skip unnecessary stack_trace entries) > > Because if we skip first two entries then logic of checking count > value as 2 for recursion is broken and code will go in one d

[PATCH 1/1] mm/page_owner: fix recursion bug after changing skip entries

2018-03-20 Thread Maninder Singh
This patch fixes "5f48f0bd4e368425db4424b9afd1bd251d32367a". (mm, page_owner: skip unnecessary stack_trace entries) Because if we skip first two entries then logic of checking count value as 2 for recursion is broken and code will go in one depth recursion. so we need to check only one call of _R