https://bugs.freedesktop.org/show_bug.cgi?id=93458 Bug ID: 93458 Summary: page allocation failure: order:5, mode:0x240c0c0 Product: xorg Version: 7.7 (2012.06) Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Reporter: zcalusic-7aYyyD3GOf7R7s880joybQ@public.gmane.org QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org Kernel 4.4.0-rc5+, G94. The below failed allocation happens pretty often, with various applications like Xorg, iceweasel, icedove, mplayer, qpdfview. The order 5 is a pretty big contiguous allocation, if memory is fragmented the linux kernel will give up pretty fast (if the order is above 3, IIRC). Maybe somewhere kmalloc should be replaced with vmalloc? Didn't see any of these errors in kernel 4.2.0. soffice.bin: page allocation failure: order:5, mode:0x240c0c0 CPU: 1 PID: 22830 Comm: soffice.bin Tainted: G W 4.4.0-rc5+ #1 Hardware name: System manufacturer System Product Name/P5Q PRO TURBO, BIOS 0701 10/08/2012 0000000000000005 ffff8801357ef840 ffffffff812f4509 000000000240c0c0 ffff8801357ef8c8 ffffffff8114d2c4 0000000081a04c80 ffffffff81a058b0 ffff8801357ef890 0242c0c000000020 0000000000000042 0000000000000000 Call Trace: [] dump_stack+0x4b/0x72 [] warn_alloc_failed+0xd4/0x120 [] __alloc_pages_nodemask+0x103/0x780 [] alloc_kmem_pages+0x12/0x20 [] kmalloc_order+0x13/0x40 [] __kmalloc+0xb7/0xf0 [] nvkm_ramht_new+0x40/0xf0 [] g84_fifo_chan_ctor+0x140/0x170 [] g84_fifo_gpfifo_new+0xc7/0x300 [] ? nvkm_disp_class_get+0x26/0x60 [] nvkm_fifo_class_new+0x12/0x20 [] nvkm_udevice_child_new+0x21/0x30 [] nvkm_ioctl_new+0x10e/0x260 [] ? nvkm_udevice_map+0x40/0x40 [] nvkm_ioctl+0x102/0x250 [] nvkm_client_ioctl+0xd/0x10 [] nvif_object_ioctl+0x3c/0x50 [] nvif_object_init+0xbd/0x130 [] nouveau_channel_new+0xa6/0x630 [] ? nvif_device_init+0x28/0x30 [] nouveau_abi16_ioctl_channel_alloc+0xda/0x2d0 [] ? drm_copy_field+0x3d/0x60 [] drm_ioctl+0x13e/0x510 [] ? nouveau_abi16_ioctl_setparam+0x10/0x10 [] nouveau_drm_ioctl+0x63/0xc0 [] do_vfs_ioctl+0x283/0x460 [] ? __do_page_fault+0x16e/0x350 [] SyS_ioctl+0x3c/0x70 [] entry_SYSCALL_64_fastpath+0x12/0x66 Mem-Info: active_anon:317858 inactive_anon:24125 isolated_anon:0 active_file:651188 inactive_file:665467 isolated_file:0 unevictable:8 dirty:87 writeback:0 unstable:0 slab_reclaimable:334053 slab_unreclaimable:14431 mapped:105321 shmem:34094 pagetables:8218 bounce:0 free:14592 free_pcp:30 free_cma:0 DMA free:15888kB min:20kB low:24kB high:28kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15980kB managed:15896kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes lowmem_reserve[]: 0 3235 7959 7959 DMA32 free:29480kB min:4636kB low:5792kB high:6952kB active_anon:510136kB inactive_anon:40212kB active_file:1038872kB inactive_file:1060372kB unevictable:32kB isolated(anon):0kB isolated(file):0kB present:3390912kB managed:3314444kB mlocked:32kB dirty:68kB writeback:0kB mapped:171940kB shmem:55828kB slab_reclaimable:589856kB slab_unreclaimable:18792kB kernel_stack:3008kB pagetables:12812kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 0 4723 4723 Normal free:13000kB min:6768kB low:8460kB high:10152kB active_anon:761296kB inactive_anon:56288kB active_file:1565880kB inactive_file:1601496kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:4980736kB managed:4836480kB mlocked:0kB dirty:280kB writeback:0kB mapped:249344kB shmem:80548kB slab_reclaimable:746356kB slab_unreclaimable:38924kB kernel_stack:5728kB pagetables:20060kB unstable:0kB bounce:0kB free_pcp:120kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 0 0 0 DMA: 0*4kB 0*8kB 1*16kB (U) 0*32kB 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (U) 3*4096kB (M) = 15888kB DMA32: 1691*4kB (UME) 2651*8kB (UME) 50*16kB (UME) 9*32kB (ME) 7*64kB (E) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 29508kB Normal: 2315*4kB (UME) 167*8kB (UME) 117*16kB (UME) 8*32kB (UE) 3*64kB (E) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 12916kB 1350813 total pagecache pages 2096907 pages RAM 0 pages HighMem/MovableOnly 55202 pages reserved -- You are receiving this mail because: You are the assignee for the bug.