On Mon, May 25, 2020 at 6:25 PM Zefan Li <lizefan@xxxxxxxxxx> wrote: > > While trying to use remote memcg charging in an out-of-tree kernel module > I found it's not working, because the current thread is a workqueue thread. > > As we will probably encounter this issue in the future as the users of > memalloc_use_memcg() grow, and it's nothing wrong for this usage, it's > better we fix it now. > > Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx> > Signed-off-by: Zefan Li <lizefan@xxxxxxxxxx> Reviewed-by: Shakeel Butt <shakeelb@xxxxxxxxxx>