[PATCH] Fix mm->owner point to a task that does not exists.

2018-12-11 Thread gchen . guomin
From: guomin chen Under normal circumstances,When do_exit exits, mm->owner will be updated on exit_mm(). but when the kernel process calls unuse_mm() and then exits,mm->owner cannot be updated. And it will point to a task that has been released. Below is my issue on vhost_net: A, B are

答复: [PATCH] Fix mm->owner point to a task that does not exists(Internet mail)

2018-12-09 Thread 陈国民
>> From: guominchen >> >> Under normal circumstances,When do_exit exits, mm->owner will >> be updated, but when the kernel process calls unuse_mm and exits, >> mm->owner cannot be updated. And will point to a task that has >> been released. >> >> Below is my issue on vhost_net: >>

Re: [PATCH] Fix mm->owner point to a task that does not exists

2018-12-09 Thread Michael S. Tsirkin
On Sun, Dec 09, 2018 at 03:21:17PM +0800, gchen.guo...@gmail.com wrote: > From: guominchen > > Under normal circumstances,When do_exit exits, mm->owner will > be updated, but when the kernel process calls unuse_mm and exits, > mm->owner cannot be updated. And will point to a task that has

[PATCH] Fix mm->owner point to a task that does not exists

2018-12-08 Thread gchen . guomin
From: guominchen Under normal circumstances,When do_exit exits, mm->owner will be updated, but when the kernel process calls unuse_mm and exits, mm->owner cannot be updated. And will point to a task that has been released. Below is my issue on vhost_net: A, B are two kernel