Messages in this thread | | | Date | Tue, 13 Sep 2005 01:40:08 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] error path in setup_arg_pages() misses vm_unacct_memory() |
| |
Kirill Korotaev <dev@sw.ru> wrote: > > maybe it is worth moving vm_acct_memory() out of > security_vm_enough_memory()?
I think that would be saner, yes. That means that the callers would call vm_acct_memory() after security_enough_memory(), if that succeeded.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |