lkml.org 
[lkml]   [2014]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.



\
 
 \ /
  Last update: 2014-04-29 15:21    [W:4.791 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site