lkml.org 
[lkml]   [2009]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 7/7] xfs: Don't use PF_MEMALLOC
    Date

    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@infradead.org>
    Cc: linux-fsdevel@vger.kernel.org
    Cc: xfs-masters@oss.sgi.com
    Cc: xfs@oss.sgi.com
    Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
    ---
    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




    \
     
     \ /
      Last update: 2009-11-17 08:27    [W:0.024 / U:29.792 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site