From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: ext4 deep stack with mark_page_dirty reclaim Date: Mon, 14 Mar 2011 18:46:45 -0400 Message-ID: <20110314224645.GA20348@infradead.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Theodore Ts'o , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org To: Hugh Dickins Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:54524 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751715Ab1CNWqr (ORCPT ); Mon, 14 Mar 2011 18:46:47 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org List-ID: Direct reclaim (in the cgroup variant) at it's work. We had a couple of flamewars on this before, but this trivial example with reclaim from the most simple case (swap space) shows that we really should never reclaim from memory allocation callers for stack usage reasons. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with ESMTP id A66398D003A for ; Mon, 14 Mar 2011 18:46:49 -0400 (EDT) Date: Mon, 14 Mar 2011 18:46:45 -0400 From: Christoph Hellwig Subject: Re: ext4 deep stack with mark_page_dirty reclaim Message-ID: <20110314224645.GA20348@infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Hugh Dickins Cc: Theodore Ts'o , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Direct reclaim (in the cgroup variant) at it's work. We had a couple of flamewars on this before, but this trivial example with reclaim from the most simple case (swap space) shows that we really should never reclaim from memory allocation callers for stack usage reasons. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org