Giridhar Pemmasani
52fd24ca1d
[PATCH] __vmalloc with GFP_ATOMIC causes 'sleeping from invalid context'
...
If __vmalloc is called to allocate memory with GFP_ATOMIC in atomic
context, the chain of calls results in __get_vm_area_node allocating memory
for vm_struct with GFP_KERNEL, causing the 'sleeping from invalid context'
warning. This patch fixes it by passing the gfp flags along so
__get_vm_area_node allocates memory for vm_struct with the same flags.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-28 11:30:52 -07:00
..
2006-09-26 08:48:51 -07:00
2006-10-20 10:26:35 -07:00
2006-09-26 08:48:49 -07:00
2006-09-30 20:32:11 +02:00
2006-08-06 08:57:47 -07:00
2006-06-28 14:59:04 -07:00
2006-10-28 11:30:50 -07:00
2006-10-04 03:38:54 -04:00
2006-10-01 00:39:33 -07:00
2006-09-30 20:32:11 +02:00
2006-10-11 11:14:15 -07:00
2006-09-26 08:48:44 -07:00
2006-10-03 22:53:09 +02:00
2006-04-17 18:22:18 -07:00
2006-10-20 10:26:35 -07:00
2006-10-01 00:39:18 -07:00
2006-10-20 10:26:43 -07:00
2006-10-11 11:14:19 -07:00
2006-09-01 11:39:09 -07:00
2006-09-30 20:52:31 +02:00
2005-04-19 13:29:20 -07:00
2006-01-11 18:42:13 -08:00
2006-10-15 14:09:55 -07:00
2006-07-10 13:24:17 -07:00
2006-10-01 00:39:33 -07:00
2006-10-01 00:39:33 -07:00
2006-09-26 08:48:45 -07:00
2006-10-03 23:21:02 +02:00
2006-10-20 10:26:38 -07:00
2006-10-28 11:30:50 -07:00
2006-09-26 08:48:58 -07:00
2006-10-20 10:26:35 -07:00
2006-06-25 10:01:06 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 10:25:08 -04:00
2006-10-20 10:26:44 -07:00
2006-10-11 11:14:23 -07:00
2006-10-20 10:26:35 -07:00
2006-10-21 13:35:06 -07:00
2006-09-27 08:26:11 -07:00
2006-10-28 11:30:52 -07:00
2006-07-03 15:27:02 -07:00
2006-09-26 08:48:45 -07:00
2006-09-29 09:18:23 -07:00
2005-11-28 14:42:25 -08:00
2006-06-26 12:25:08 -07:00
2006-10-17 08:18:43 -07:00
2006-10-04 07:55:13 -07:00
2006-10-28 11:30:52 -07:00
2006-10-28 11:30:51 -07:00
2006-10-28 11:30:50 -07:00