| To: | LKML <linux-kernel@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH 7/7] xfs: Don't use PF_MEMALLOC |
| From: | KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> |
| Date: | Tue, 17 Nov 2009 16:23:43 +0900 (JST) |
| Cc: | kosaki.motohiro@xxxxxxxxxxxxxx, linux-mm <linux-mm@xxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, xfs-masters@xxxxxxxxxxx, xfs@xxxxxxxxxxx |
| In-reply-to: | <20091117161551.3DD4.A69D9226@xxxxxxxxxxxxxx> |
| References: | <20091117161551.3DD4.A69D9226@xxxxxxxxxxxxxx> |
Non MM subsystem must not use PF_MEMALLOC. Memory reclaim need few
memory, anyone must not prevent it. Otherwise the system cause
mysterious hang-up and/or OOM Killer invokation.
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Cc: linux-fsdevel@xxxxxxxxxxxxxxx
Cc: xfs-masters@xxxxxxxxxxx
Cc: xfs@xxxxxxxxxxx
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
---
fs/xfs/linux-2.6/xfs_buf.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
index 965df12..b9a06fc 100644
--- a/fs/xfs/linux-2.6/xfs_buf.c
+++ b/fs/xfs/linux-2.6/xfs_buf.c
@@ -1724,8 +1724,6 @@ xfsbufd(
int count;
xfs_buf_t *bp;
- current->flags |= PF_MEMALLOC;
-
set_freezable();
do {
--
1.6.2.5
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Bug 857] access times disappear, bugzilla-daemon |
|---|---|
| Next by Date: | Re-Account Update, Pacific Management Team |
| Previous by Thread: | [Bug 857] New: access times dissapear, bugzilla-daemon |
| Next by Thread: | Re: [PATCH 7/7] xfs: Don't use PF_MEMALLOC, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |