| Date | Tue, 29 Apr 2014 14:40:53 +0200 | From | Oleg Nesterov <> | Subject | Re: [BUG] kernel BUG at mm/vmacache.c:85! |
| |
On 04/28, Davidlohr Bueso wrote: > > @@ -29,6 +30,7 @@ void use_mm(struct mm_struct *mm) > tsk->active_mm = mm; > } > tsk->mm = mm; > + vmacache_flush(tsk);
But this can't help, we need to do this in unuse_mm(). And we can race with vmacache_flush_all() which relies on mmap_sem.
But perhaps WARN_ON(tsk->mm) at the start makes sense...
Oleg.
|