Messages in this thread |  | | Subject | Re: [PATCH] mm: gfp_to_alloc_flags() | | From | Peter Zijlstra <> | | Date | Mon, 23 Feb 2009 21:09:44 +0100 |
| |
On Mon, 2009-02-23 at 18:17 +0000, Mel Gorman wrote:
> > > > - if (((p->flags & PF_MEMALLOC) || unlikely(test_thread_flag(TIF_MEMDIE))) > > - && !in_interrupt()) { > > - if (!(gfp_mask & __GFP_NOMEMALLOC)) { > > > > At what point was this code deleted?
You moved it around a bit, but it ended up here:
> > -static inline int is_allocation_high_priority(struct task_struct *p, > > - gfp_t gfp_mask) > > -{ > > - if (((p->flags & PF_MEMALLOC) || unlikely(test_thread_flag(TIF_MEMDIE))) > > - && !in_interrupt()) > > - if (!(gfp_mask & __GFP_NOMEMALLOC)) > > - return 1; > > - return 0; > > -}
|  |