Re: [PATCH] vmacache: change vmacache_find() to always check ->vm_mm

2014-04-29 Thread Oleg Nesterov
t; > > > perhaps the patch below can help a bit? > > > > ----------------------- > > Subject: [PATCH] vmacache: change vmacache_find() to always check ->vm_mm > > > > If ->vmacache was corrupted it would be better to detect

Re: [PATCH] vmacache: change vmacache_find() to always check ->vm_mm

2014-04-29 Thread Srivatsa S. Bhat
s the patch below can help a bit? > > ----------- > Subject: [PATCH] vmacache: change vmacache_find() to always check ->vm_mm > > If ->vmacache was corrupted it would be better to detect and report > the problem asap, check vma->vm_mm before vm_start/vm_end. > > Signe

[PATCH] vmacache: change vmacache_find() to always check ->vm_mm

2014-04-29 Thread Oleg Nesterov
acache: change vmacache_find() to always check ->vm_mm If ->vmacache was corrupted it would be better to detect and report the problem asap, check vma->vm_mm before vm_start/vm_end. Signed-off-by: Oleg Nesterov --- mm/vmacache.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff