Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753924AbYJVL0g (ORCPT ); Wed, 22 Oct 2008 07:26:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751878AbYJVL02 (ORCPT ); Wed, 22 Oct 2008 07:26:28 -0400 Received: from vsmtp04.dti.ne.jp ([202.216.231.139]:59770 "EHLO vsmtp04.dti.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751846AbYJVL02 (ORCPT ); Wed, 22 Oct 2008 07:26:28 -0400 From: hooanon05@yahoo.co.jp Subject: Re: __vm_enough_memory(), OVERCOMMIT_NEVER, current->mm, kernel thread To: Alan Cox Cc: linux-kernel@vger.kernel.org In-Reply-To: <20081022092736.2a0795d1@lxorguk.ukuu.org.uk> References: <7123.1224602071@jrobl> <20081021164619.341f01d9@lxorguk.ukuu.org.uk> <6775.1224630654@jrobl> <20081022092736.2a0795d1@lxorguk.ukuu.org.uk> Date: Wed, 22 Oct 2008 20:26:19 +0900 Message-ID: <6689.1224674779@jrobl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 522 Lines: 15 Alan Cox: > No - the shmem routine would use vm_enough_memory_fs which wouldn't care > if current->mm is NULL, but the others would check. Unfortunately I cannot imagine what new vm_enough_memory_fs() will be. Would you show me its draft or pseudo code? Junjiro R. Okajima -- 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/