Re: __vm_enough_memory(), OVERCOMMIT_NEVER, current->mm, kernel thread

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Cox
Date: Wednesday, October 22, 2008 - 1:27 am

> In your first option, write() to the exported tmpfs will produce the

No - the shmem routine would use vm_enough_memory_fs which wouldn't care
if current->mm is NULL, but the others would check.


Doing this means we lose the ability to trap incorrect calls to
vm_enough_memory.

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

Messages in current thread:
Re: __vm_enough_memory(), OVERCOMMIT_NEVER, current->mm, k ..., Alan Cox, (Wed Oct 22, 1:27 am)