[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 8 Aug 2012 09:49:44 +0200
From: richard -rw- weinberger <richard.weinberger@...il.com>
To: Richard Zhao <richard.zhao@...escale.com>
Cc: viro@...iv.linux.org.uk, dirk.behme@...bosch.com,
shawn.guo@...aro.org, linux-kernel@...r.kernel.org
Subject: Re: how to vm_munmap memory range for other processes?
On Wed, Aug 8, 2012 at 9:46 AM, Richard Zhao <richard.zhao@...escale.com> wrote:
> Hi Al,
>
> I saw two commits from you in git tree:
> 17d1587 unexport do_munmap()
> bfce281 kill mm argument of vm_munmap()
>
> They remove the mm arguments, so it look like impossible to unmap
> memory of other processes except current.
>
> I have a kernel module that needs to unmap memory for certain pid. Do
> you have any idea how to do it?
AFAIK Al removed this because it's racy in many ways...
---
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists