Re: replace "memset(...,0,PAGE_SIZE)" calls with "clear_page()"?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Robert P. J. Day <rpjday@...>
Cc: Folkert van Heusden <folkert@...>, Paul Mundt <lethal@...>, Denis Vlasenko <vda.linux@...>, Linux kernel mailing list <linux-kernel@...>
Date: Monday, January 1, 2007 - 6:14 am

>   Given the above, some basic suggestions for page-based memory management:

both look good... I'd be in favor of this.
Maybe also add a part about using GFP_KERNEL whenever possible, GFP_NOFS
from filesystem writeout code and GFP_NOIO from block writeout code
(and never doing   in_interrupt()?GFP_ATOMIC:GFP_KERNEL !)



this.. does not really. GFP_DMA is an ancient artifact from the ISA
days. Better to describe the dma mapping interface (well give a pointer
to the doc that already exists about that), that one is REALLY for
allocating dma pages in this century.

-- 
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

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

Messages in current thread:
Re: replace "memset(...,0,PAGE_SIZE)" calls with "clear_page..., Arjan van de Ven, (Mon Jan 1, 6:14 am)