Messages in this thread | | | Date | Thu, 26 Apr 2012 20:08:45 -0700 | From | Andrew Morton <> | Subject | Re: [RFC] propagate gfp_t to page table alloc functions |
| |
On Fri, 27 Apr 2012 11:24:32 +0900 Minchan Kim <minchan@kernel.org> wrote:
> I was about to add warning in __vmalloc internal if caller uses GFP_NOIO, GFP_NOFS, GFP_ATOMIC > with Nick's comment and let them make to fix it. But it seems Andrew doesn't agree.
I do, actually.
> Andrew, please tell me your opinion for fixing this problem.
Only call vmalloc() from GFP_KERNEL contexts. Go ahead, add the WARN_ONCE() and let's see what happens.
| |