Re: 2.6.26: x86/kernel/pci_dma.c: gfp |= __GFP_NORETRY ?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Thomas Gleixner <tglx@...>
Cc: Andi Kleen <andi@...>, Glauber Costa <gcosta@...>, Miquel van Smoorenburg <miquels@...>, <linux-kernel@...>, <linux-mm@...>, <andi-suse@...>
Date: Thursday, May 22, 2008 - 6:59 pm

On Thu, May 22, 2008 at 09:58:11PM +0200, Thomas Gleixner wrote:

To the bug report? Memory is fuzzy, but I think it was some SUSE bugzilla
report, might have been for SLES.

Anyways the reasoning is still valid. Longer term the mask allocator
would be the right fix, shorter term a new GFP flag as proposed 
sounds reasonable.

The trick is just that you need different __GFP_ flags for the different
allocations. e.g. the first the "higher zone" quick try should
continue to use __GFP_NORETRY. And the 16MB one should too. It would
only make sense for the main request.

In the mask allocator patchkit kernel it should be also ok already.

-Andi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.26: x86/kernel/pci_dma.c: gfp |= __GFP_NORETRY ?, Miquel van Smoorenburg, (Wed May 21, 7:30 am)
Re: 2.6.26: x86/kernel/pci_dma.c: gfp |= __GFP_NORETRY ?, Glauber Costa, (Wed May 21, 8:49 am)
Re: 2.6.26: x86/kernel/pci_dma.c: gfp |= __GFP_NORETRY ?, Thomas Gleixner, (Thu May 22, 3:58 pm)
Re: 2.6.26: x86/kernel/pci_dma.c: gfp |= __GFP_NORETRY ?, Andi Kleen, (Thu May 22, 6:59 pm)
Re: 2.6.26: x86/kernel/pci_dma.c: gfp |= __GFP_NORETRY ?, Miquel van Smoorenburg, (Thu May 22, 3:25 pm)
Re: 2.6.26: x86/kernel/pci_dma.c: gfp |= __GFP_NORETRY ?, Miquel van Smoorenburg, (Sat May 24, 3:38 pm)