Sebastian Ott
19f7767e29
misc/genwqe: get rid of atomic allocations
we received reports of failed allocations in genwqe code:
[ 733.550955] genwqe_gzip: page allocation failure: order:1, mode:0x20
[ 733.550964] CPU: 2 PID: 1846 Comm: genwqe_gzip Not tainted 4.3.0-rc3-00042-g3225031 #78
[ 733.550968] 000000002782b830 000000002782b8c0 0000000000000002 0000000000000000
000000002782b960 000000002782b8d8 000000002782b8d8 00000000001134a0
0000000000000000 0000000000892b2a 0000000000871d0a 000000000000000b
000000002782b920 000000002782b8c0 0000000000000000 0000000000000000
0000000000000000 00000000001134a0 000000002782b8c0 000000002782b920
[ 733.551003] Call Trace:
[ 733.551013] ([<0000000000113388>] show_trace+0xf8/0x158)
[ 733.551018] [<0000000000113452>] show_stack+0x6a/0xe8
[ 733.551024] [<00000000004611d4>] dump_stack+0x7c/0xd8
[ 733.551031] [<000000000024dc22>] warn_alloc_failed+0xda/0x150
[ 733.551036] [<000000000025268e>] __alloc_pages_nodemask+0x94e/0xbc0
[ 733.551041] [<000000000012bcd8>] s390_dma_alloc+0x70/0x1a0
[ 733.551054] [<000003ff804d8e8c>] __genwqe_alloc_consistent+0x84/0xd0 [genwqe_card]
[ 733.551063] [<000003ff804d90c2>] genwqe_alloc_sync_sgl+0x13a/0x328 [genwqe_card]
[ 733.551066] [<000003ff804d41a0>] do_execute_ddcb+0x1f8/0x388 [genwqe_card]
[ 733.551069] [<000003ff804d48c8>] genwqe_ioctl+0x598/0xd50 [genwqe_card]
[ 733.551072] [<00000000002cc90c>] do_vfs_ioctl+0x3f4/0x590
[ 733.551074] [<00000000002ccb46>] SyS_ioctl+0x9e/0xb0
[ 733.551078] [<00000000006c8166>] system_call+0xd6/0x258
[ 733.551080] [<000003fffd25819a>] 0x3fffd25819a
[ 733.551082] no locks held by genwqe_gzip/1846.
This specific allocation and some others in genwqe are unnecessary flagged
as atomic.
All of genwqe's atomic allocations happen in a context where it's allowed
to sleep. Change these to use GFP_KERNEL.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-04 12:42:33 +01:00
..
2015-06-25 17:00:38 -07:00
2015-09-23 20:57:13 +10:00
2014-02-28 14:08:42 -08:00
2015-09-08 16:16:26 -07:00
2015-10-04 12:42:33 +01:00
2015-08-10 08:37:35 +02:00
2015-09-27 12:44:02 -07:00
2015-07-22 21:25:36 -07:00
2015-09-20 19:33:29 -07:00
2015-09-08 15:35:28 -07:00
2015-09-20 22:52:13 -07:00
2015-09-20 19:27:58 -07:00
2015-09-20 19:33:29 -07:00
2015-01-12 05:04:12 -08:00
2015-01-12 05:04:12 -08:00
2015-08-10 08:37:35 +02:00
2014-02-07 15:10:19 -08:00
2014-10-20 16:20:54 +02:00
2014-09-08 10:54:03 +02:00
2014-12-14 16:43:47 -08:00
2015-08-10 08:37:35 +02:00
2015-03-16 21:10:28 +01:00
2015-08-10 08:37:35 +02:00
2013-12-04 20:23:51 -08:00
2014-02-07 15:10:19 -08:00
2013-12-04 20:23:51 -08:00
2014-10-20 16:20:54 +02:00
2015-08-05 13:53:39 -07:00
2014-07-09 14:19:34 -07:00
2015-03-31 08:53:36 +03:00
2014-01-07 15:06:07 +01:00
2014-02-07 15:10:19 -08:00
2015-10-04 12:42:33 +01:00
2015-01-12 05:04:11 -08:00
2015-08-10 08:37:35 +02:00
2014-02-07 15:10:19 -08:00
2015-07-29 13:37:18 -07:00
2015-09-20 19:32:35 -07:00
2014-09-23 23:04:17 -07:00
2014-07-09 14:19:34 -07:00
2015-07-29 13:37:18 -07:00
2014-11-07 10:28:36 -08:00
2015-07-29 13:37:18 -07:00
2015-06-25 17:00:38 -07:00
2015-09-04 16:54:41 -07:00
2014-02-07 15:10:19 -08:00
2015-03-25 11:36:38 +01:00
2015-08-10 08:37:35 +02:00
2014-11-28 16:08:16 +01:00
2015-08-05 13:17:53 -07:00