Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Wednesday, October 8, 2008 - 4:02 am

On Wed, Oct 08, 2008 at 11:20:37AM +0100, Alan Cox wrote:

malloc() can call mmap, so that would require putting a mutex around
each malloc(). Good luck finding them all.


Outsourcing kernel locking to user space is not the way to go.

-Andi

-- 
ak@linux.intel.com
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED, Kirill A. Shutemov, (Tue Oct 7, 9:15 am)
Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED, KOSAKI Motohiro, (Tue Oct 7, 9:31 am)
Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED, KOSAKI Motohiro, (Tue Oct 7, 2:38 pm)
Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED, Michael Kerrisk, (Wed Oct 8, 1:57 am)
Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED, Kirill A. Shutemov, (Wed Oct 8, 2:35 am)
Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED, Andi Kleen, (Wed Oct 8, 4:02 am)