mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oleg Drokin <green@linuxhacker.ru>
To: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [BUG]kmalloc memory in reiserfs code failed on a dual amd64/4G linux 2.6.2 box
Date: Fri, 13 Feb 2004 12:57:22 +0200	[thread overview]
Message-ID: <200402131057.i1DAvMUO159511@car.linuxhacker.ru> (raw)
In-Reply-To: <20040212223139.61c3c349.akpm@osdl.org>

Hello!

Andrew Morton <akpm@osdl.org> wrote:
>>  sort: page allocation failure. order:1, mode:0x20
AM> Nikita, why cannot get_mem_for_virtual_node() use GFP_KERNEL?

Well, I am not Nikita, but this comment appears at the place:
        /* get memory for virtual item */
        buf = reiserfs_kmalloc(size, GFP_ATOMIC, tb->tb_sb);
        if ( ! buf ) {
            /* getting memory with GFP_KERNEL priority may involve
               balancing now (due to indirect_to_direct conversion on
               dcache shrinking). So, release path and collected
               resources here */
            free_buffers_in_tb (tb);
            buf = reiserfs_kmalloc(size, GFP_NOFS, tb->tb_sb);
..

This should answer your question, I guess.

Bye,
    Oleg

      parent reply	other threads:[~2004-02-13 10:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13  3:16 lepton
2004-02-13  6:31 ` Andrew Morton
2004-02-13 10:46   ` Nikita Danilov
2004-02-13 10:57   ` Oleg Drokin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200402131057.i1DAvMUO159511@car.linuxhacker.ru \
    --to=green@linuxhacker.ru \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®