From patchwork Mon Nov 2 11:03:42 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dasgupta, Romit" X-Patchwork-Id: 56996 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nA2B4nj1001234 for ; Mon, 2 Nov 2009 11:04:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754262AbZKBLEI (ORCPT ); Mon, 2 Nov 2009 06:04:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754368AbZKBLEI (ORCPT ); Mon, 2 Nov 2009 06:04:08 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:55616 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754213AbZKBLEH convert rfc822-to-8bit (ORCPT ); Mon, 2 Nov 2009 06:04:07 -0500 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id nA2B3iUP011432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Nov 2009 05:03:46 -0600 Received: from dbde71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id nA2B3hrM029746; Mon, 2 Nov 2009 16:33:43 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde71.ent.ti.com ([172.24.170.149]) with mapi; Mon, 2 Nov 2009 16:33:43 +0530 From: "Dasgupta, Romit" To: "viro@zeniv.linux.org.uk" , "rjw@sisk.pl" CC: "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pm@lists.linux-foundation.org" , "linux-omap@vger.kernel.org" Date: Mon, 2 Nov 2009 16:33:42 +0530 Subject: [PATCH 1/1] PM: Making bdi threads non-freezable Thread-Topic: [PATCH 1/1] PM: Making bdi threads non-freezable Thread-Index: AcpbrCOsHp5kpaNZSRe8xI+8AVsI3Q== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 9d5360c..661229d 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -956,7 +956,6 @@ int bdi_writeback_task(struct bdi_writeback *wb) wait_jiffies = msecs_to_jiffies(dirty_writeback_interval * 10); schedule_timeout_interruptible(wait_jiffies); - try_to_freeze(); } return 0; diff --git a/mm/backing-dev.c b/mm/backing-dev.c index 5a37e20..9383271 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c @@ -273,7 +273,6 @@ static void bdi_task_init(struct backing_dev_info *bdi, spin_unlock(&bdi->wb_lock); tsk->flags |= PF_FLUSHER | PF_SWAPWRITE; - set_freezable(); /* * Our parent may run at a different priority, just set us to normal @@ -419,7 +418,6 @@ static int bdi_forker_task(void *ptr) spin_unlock_bh(&bdi_lock); wait = msecs_to_jiffies(dirty_writeback_interval * 10); schedule_timeout(wait); - try_to_freeze(); continue; }