> On Oct 9, 2019, at 12:23 PM, Michal Hocko <mho...@kernel.org> wrote: > > If this was only about the memory offline code then I would agree. But > we are talking about any printk from the zone->lock context and that is > a bigger deal. Besides that it is quite natural that the printk code > should be more universal and allow to be also called from the MM > contexts as much as possible. If there is any really strong reason this > is not possible then it should be documented at least. Where is the best place to document this? I am thinking about under the “struct zone” definition’s lock field in mmzone.h. Does workaround this potential deadlock and fix a few lockdep false positives for free count as a really strong reason?
- Re: [PATCH v2] mm/page_isolation: fix a deadlock with p... Sergey Senozhatsky
- Re: [PATCH v2] mm/page_isolation: fix a deadlock w... Michal Hocko
- Re: [PATCH v2] mm/page_isolation: fix a deadlo... Sergey Senozhatsky
- Re: [PATCH v2] mm/page_isolation: fix a de... Michal Hocko
- Re: [PATCH v2] mm/page_isolation: fix a deadlock w... Petr Mladek
- Re: [PATCH v2] mm/page_isolation: fix a deadlo... Sergey Senozhatsky
- Re: [PATCH v2] mm/page_isolation: fix a de... Petr Mladek
- Re: [PATCH v2] mm/page_isolation: fix a deadlock w... Petr Mladek
- Re: [PATCH v2] mm/page_isolation: fix a deadlock w... Qian Cai
- Re: [PATCH v2] mm/page_isolation: fix a deadlo... Michal Hocko
- Re: [PATCH v2] mm/page_isolation: fix a de... Qian Cai
- Re: [PATCH v2] mm/page_isolation: fix ... Michal Hocko
- Re: [PATCH v2] mm/page_isolation:... Qian Cai
- Re: [PATCH v2] mm/page_isolat... Michal Hocko
- Re: [PATCH v2] mm/page_is... Qian Cai
- Re: [PATCH v2] mm/page_is... Michal Hocko
- Re: [PATCH v2] mm/page_is... David Hildenbrand