Messages in this thread Patch in this message | | | Date | Fri, 28 Feb 2003 06:46:31 +0000 | From | Matthew Wilcox <> | Subject | Proposal: Eliminate GFP_DMA |
| |
I'm thinking about doing something along these lines:
--- linux-2.5.63/include/linux/gfp.h 2003-02-24 13:05:13.000000000 -0600 +++ linux-2.5.63-gfpdma/include/linux/gfp.h 2003-02-27 17:24:39.000000000 -0600 @@ -26,11 +26,8 @@ -/* Flag - indicates that the buffer will be suitable for DMA. Ignored on some - platforms, used as appropriate on others */ - -#define GFP_DMA __GFP_DMA - +#define GFP_ATOMIC_DMA (GFP_ATOMIC | __GFP_DMA) +#define GFP_KERNEL_DMA (GFP_KERNEL | __GFP_DMA)
combined with changing some users to use __GFP_DMA if they really do mean the bitmask. Comments?
-- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |