Messages in this thread | | | Date | Fri, 20 Aug 2004 12:14:17 -0400 (EDT) | From | Rik van Riel <> | Subject | Re: PF_MEMALLOC in 2.6 |
| |
On Fri, 20 Aug 2004, Alan Cox wrote: > On Fri, Aug 20, 2004 at 06:06:05PM +0200, Arjan van de Ven wrote:
> > > No, but this thread does make me consider PF_NOIO ;) > > given that the task of this thread is to DO io ... ;) > > But not to cause I/O.. what are the semantics of PF_NOIO ?
Any gfp_mask of this process gets GFP_NOIO set and other appropriate bits cleared, so it will never cause IO but only reclaim clean pages.
It should also not loop (too often) in alloc_pages and try_to_free_pages...
-- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan
- 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/
| |