All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chris Friesen" <cfriesen@nortel.com>
To: Mel Gorman <mel@csn.ul.ie>
Cc: Christoph Lameter <clameter@sgi.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/8] Allow huge page allocations to use GFP_HIGH_MOVABLE
Date: Fri, 26 Jan 2007 12:35:30 -0600	[thread overview]
Message-ID: <45BA49F2.2000804@nortel.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0701261747290.23091@skynet.skynet.ie>

Mel Gorman wrote:

> Worse, the problem is to have high order contiguous blocks free at the 
> time of allocation without reclaim or migration. If the allocations were 
> not atomic, anti-fragmentation as it is today would be enough.

Has anyone looked at marking the buffers as "needs refilling" then kick 
off a kernel thread or something to do the allocations under GFP_KERNEL? 
  That way we avoid having to allocate the buffers with GFP_ATOMIC.

I seem to recall that the tulip driver used to do this.  Is it just too 
complicated from a race condition standpoint?

We currently see this issue on our systems, as we have older e1000 
hardware with 9KB jumbo frames.  After a while we just fail to allocate 
buffers and the system goes belly-up.

Chris

WARNING: multiple messages have this Message-ID (diff)
From: "Chris Friesen" <cfriesen@nortel.com>
To: Mel Gorman <mel@csn.ul.ie>
Cc: Christoph Lameter <clameter@sgi.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/8] Allow huge page allocations to use GFP_HIGH_MOVABLE
Date: Fri, 26 Jan 2007 12:35:30 -0600	[thread overview]
Message-ID: <45BA49F2.2000804@nortel.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0701261747290.23091@skynet.skynet.ie>

Mel Gorman wrote:

> Worse, the problem is to have high order contiguous blocks free at the 
> time of allocation without reclaim or migration. If the allocations were 
> not atomic, anti-fragmentation as it is today would be enough.

Has anyone looked at marking the buffers as "needs refilling" then kick 
off a kernel thread or something to do the allocations under GFP_KERNEL? 
  That way we avoid having to allocate the buffers with GFP_ATOMIC.

I seem to recall that the tulip driver used to do this.  Is it just too 
complicated from a race condition standpoint?

We currently see this issue on our systems, as we have older e1000 
hardware with 9KB jumbo frames.  After a while we just fail to allocate 
buffers and the system goes belly-up.

Chris

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  parent reply	other threads:[~2007-01-26 18:56 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-25 23:44 [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages Mel Gorman
2007-01-25 23:44 ` Mel Gorman
2007-01-25 23:45 ` [PATCH 1/8] Add __GFP_MOVABLE for callers to flag allocations that may be migrated Mel Gorman
2007-01-25 23:45   ` Mel Gorman
2007-01-26 12:27   ` Nick Piggin
2007-01-26 12:27     ` Nick Piggin
2007-01-26 13:25     ` Mel Gorman
2007-01-26 13:25       ` Mel Gorman
2007-01-25 23:45 ` [PATCH 2/8] Create the ZONE_MOVABLE zone Mel Gorman
2007-01-25 23:45   ` Mel Gorman
2007-01-26 16:28   ` Christoph Lameter
2007-01-26 16:28     ` Christoph Lameter
2007-01-26 16:49     ` Mel Gorman
2007-01-26 16:49       ` Mel Gorman
2007-01-29 17:28     ` Mel Gorman
2007-01-29 17:28       ` Mel Gorman
2007-01-26 17:16   ` Christoph Lameter
2007-01-26 17:16     ` Christoph Lameter
2007-01-26 17:24     ` Mel Gorman
2007-01-26 17:24       ` Mel Gorman
2007-01-26 17:25       ` Christoph Lameter
2007-01-26 17:25         ` Christoph Lameter
2007-01-26 17:38         ` Mel Gorman
2007-01-26 17:38           ` Mel Gorman
2007-01-29 17:31     ` Mel Gorman
2007-01-29 17:31       ` Mel Gorman
2007-01-25 23:45 ` [PATCH 3/8] Allow huge page allocations to use GFP_HIGH_MOVABLE Mel Gorman
2007-01-25 23:45   ` Mel Gorman
2007-01-26 16:33   ` Christoph Lameter
2007-01-26 16:33     ` Christoph Lameter
2007-01-26 16:58     ` Mel Gorman
2007-01-26 16:58       ` Mel Gorman
2007-01-26 17:04       ` Christoph Lameter
2007-01-26 17:04         ` Christoph Lameter
2007-01-26 17:20         ` Mel Gorman
2007-01-26 17:20           ` Mel Gorman
2007-01-26 17:22           ` Christoph Lameter
2007-01-26 17:22             ` Christoph Lameter
2007-01-26 17:37             ` Mel Gorman
2007-01-26 17:37               ` Mel Gorman
2007-01-26 17:45               ` Christoph Lameter
2007-01-26 17:45                 ` Christoph Lameter
2007-01-26 17:53                 ` Mel Gorman
2007-01-26 17:53                   ` Mel Gorman
2007-01-26 18:20                   ` Christoph Lameter
2007-01-26 18:20                     ` Christoph Lameter
2007-01-26 20:37                     ` Mel Gorman
2007-01-26 20:37                       ` Mel Gorman
2007-01-26 18:35                   ` Chris Friesen [this message]
2007-01-26 18:35                     ` Chris Friesen
2007-01-26 20:44                     ` Mel Gorman
2007-01-26 20:44                       ` Mel Gorman
2007-01-26 21:37                       ` Chris Friesen
2007-01-26 21:37                         ` Chris Friesen
2007-01-25 23:46 ` [PATCH 4/8] x86 - Specify amount of kernel memory at boot time Mel Gorman
2007-01-25 23:46   ` Mel Gorman
2007-01-25 23:46 ` [PATCH 5/8] ppc and powerpc " Mel Gorman
2007-01-25 23:46   ` Mel Gorman
2007-01-25 23:46 ` [PATCH 6/8] x86_64 " Mel Gorman
2007-01-25 23:46   ` Mel Gorman
2007-01-25 23:47 ` [PATCH 7/8] ia64 " Mel Gorman
2007-01-25 23:47   ` Mel Gorman
2007-01-25 23:47 ` [PATCH 8/8] Add documentation for additional boot parameter and sysctl Mel Gorman
2007-01-25 23:47   ` Mel Gorman
2007-01-26 11:07 ` [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages Andrew Morton
2007-01-26 11:07   ` Andrew Morton
2007-01-26 14:29   ` Mel Gorman
2007-01-26 14:29     ` Mel Gorman
2007-01-26 16:01     ` Christoph Lameter
2007-01-26 16:01       ` Christoph Lameter
2007-01-26 15:56   ` Christoph Lameter
2007-01-26 15:56     ` Christoph Lameter
2007-01-26 19:46     ` Andrew Morton
2007-01-26 19:46       ` Andrew Morton
2007-01-26 19:58       ` Christoph Lameter
2007-01-26 19:58         ` Christoph Lameter
2007-01-26 20:27         ` Andrew Morton
2007-01-26 20:27           ` Andrew Morton
2007-01-29 21:54           ` Christoph Lameter
2007-01-29 21:54             ` Christoph Lameter
2007-01-29 22:36             ` Andrew Morton
2007-01-29 22:36               ` Andrew Morton
2007-01-29 22:45               ` Christoph Lameter
2007-01-29 22:45                 ` Christoph Lameter
2007-01-29 22:50                 ` Russell King
2007-01-29 22:50                   ` Russell King
2007-01-29 23:37                   ` Christoph Lameter
2007-01-29 23:37                     ` Christoph Lameter
2007-01-30  0:09                     ` Andrew Morton
2007-01-30  0:09                       ` Andrew Morton
2007-01-30  9:53                       ` Peter Zijlstra
2007-01-30  9:53                         ` Peter Zijlstra
2007-02-02  5:27                         ` Christoph Lameter
2007-02-02  5:27                           ` Christoph Lameter
2007-02-02  5:22                       ` Christoph Lameter
2007-02-02  5:22                         ` Christoph Lameter
2007-01-26 16:21 ` Christoph Lameter
2007-01-26 16:21   ` Christoph Lameter
2007-01-26 16:48   ` Mel Gorman
2007-01-26 16:48     ` Mel Gorman
2007-01-26 17:02     ` Christoph Lameter
2007-01-26 17:02       ` Christoph Lameter
2007-01-26 17:20       ` Mel Gorman
2007-01-26 17:20         ` Mel Gorman
  -- strict thread matches above, loose matches on Subject: below --
2007-03-01 10:08 [PATCH 0/8] Create optional ZONE_MOVABLE to partition memory between movable and non-movable pages v2 Mel Gorman
2007-03-01 10:09 ` [PATCH 3/8] Allow huge page allocations to use GFP_HIGH_MOVABLE Mel Gorman
2007-03-01 10:09   ` Mel Gorman

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=45BA49F2.2000804@nortel.com \
    --to=cfriesen@nortel.com \
    --cc=clameter@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mel@csn.ul.ie \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.