Re: [PATCH] sys_remap_file_pages: fix ->vm_file accounting

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Miklos Szeredi <mszeredi@...>
Cc: Andrew Morton <akpm@...>, Peter Zijlstra <a.p.zijlstra@...>, William Lee Irwin III <wli@...>, Nick Piggin <nickpiggin@...>, Ingo Molnar <mingo@...>, <linux-kernel@...>, <stable@...>, Matt Helsley <matthltc@...>
Date: Wednesday, January 30, 2008 - 1:26 pm

On 01/30, Miklos Szeredi wrote:

Ah, indeed, thanks!


Offtopic. I noticed this problem while looking at this patch:

	http://marc.info/?l=linux-mm-commits&m=120141116911711

So this (the old vma could be removed before we create the new mapping)
means that the patch above has another problem: if we are remapping the
whole VM_EXECUTABLE vma, removed_exe_file_vma() can clear ->exe_file
while it shouldn't (Matt Helsley cc'ed).

Oleg.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] sys_remap_file_pages: fix -&gt;vm_file accounting, Oleg Nesterov, (Wed Jan 30, 10:20 am)
Re: [PATCH] sys_remap_file_pages: fix ->vm_file accounting, Oleg Nesterov, (Wed Jan 30, 1:26 pm)