Summary: | Warning during flashing workqueue | ||
---|---|---|---|
Product: | DRI | Reporter: | wolf |
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | intel-gfx-bugs |
Version: | XOrg git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | GEM/Other |
Description
wolf
2017-10-25 10:41:05 UTC
commit 21cc6431e0c2d7c3a2e2fd4dd002400be73cb270 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Mon Sep 11 09:41:25 2017 +0100 drm/i915: Mark the userptr invalidate workqueue as WQ_MEM_RECLAIM Hello Wolf, could you verify that comment 1 fixes it? Thank you. Hi, I checked journal on my system and there is one more: ``` Nov 17 01:21:43 dennas kernel: workqueue: PF_MEMALLOC task 42(khugepaged) is flushing !WQ_MEM_RECLAIM i915-userptr-release: (null) Nov 17 01:21:43 dennas kernel: ------------[ cut here ]------------ Nov 17 01:21:43 dennas kernel: WARNING: CPU: 3 PID: 42 at kernel/workqueue.c:2412 check_flush_dependency+0xf3/0x100 Nov 17 01:21:43 dennas kernel: Modules linked in: tun veth cfg80211 bridge stp llc xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c crc32c_generic iptable_filter snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support mxm_wmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass snd_hda_intel intel_cstate intel_rapl_perf snd_hda_codec pcspkr hci_uart e1000e i2c_i801 snd_hda_core snd_hwdep snd_pcm evdev tpm_tis joydev snd_timer mousedev btbcm tpm_tis_core snd input_leds btqca igb ptp pps_core mei_me dca led_class soundcore intel_pch_thermal mei mac_hid tpm btintel bluetooth i915 battery ecdh_generic rfkill wmi pinctrl_sunrisepoint intel_lpss_acpi crc16 pinctrl_intel intel_lpss video i2c_hid button intel_gtt acpi_als shpchp Nov 17 01:21:43 dennas kernel: kfifo_buf industrialio acpi_pad sch_fq_codel ip_tables x_tables btrfs xor raid6_pq algif_skcipher af_alg dm_crypt dm_mod dax hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd ahci libahci xhci_pci libata xhci_hcd usbcore scsi_mod usb_common serio amdgpu i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm agpgart Nov 17 01:21:43 dennas kernel: CPU: 3 PID: 42 Comm: khugepaged Tainted: G U 4.13.12-1-ARCH #1 Nov 17 01:21:43 dennas kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z170 Extreme7+, BIOS P7.40 05/04/2017 Nov 17 01:21:43 dennas kernel: task: ffff992c73082e80 task.stack: ffffb70bc1a44000 Nov 17 01:21:43 dennas kernel: RIP: 0010:check_flush_dependency+0xf3/0x100 Nov 17 01:21:43 dennas kernel: RSP: 0018:ffffb70bc1a476a0 EFLAGS: 00010286 Nov 17 01:21:43 dennas kernel: RAX: 000000000000006c RBX: ffff992c397b2600 RCX: ffffffff9ca55328 Nov 17 01:21:43 dennas kernel: RDX: 0000000000000000 RSI: 0000000000000082 RDI: 0000000000000287 Nov 17 01:21:43 dennas kernel: RBP: ffffb70bc1a476c0 R08: 0000000000006040 R09: ffffffff9cca68e0 Nov 17 01:21:43 dennas kernel: R10: ffffb70bc1a47790 R11: 0000000000000000 R12: 0000000000000000 Nov 17 01:21:43 dennas kernel: R13: ffff992c73082e80 R14: 0000000000000000 R15: ffffb70bc1a47700 Nov 17 01:21:43 dennas kernel: FS: 0000000000000000(0000) GS:ffff992c85d80000(0000) knlGS:0000000000000000 Nov 17 01:21:43 dennas kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Nov 17 01:21:43 dennas kernel: CR2: 00007f95842dd000 CR3: 00000001c7a09000 CR4: 00000000003406e0 Nov 17 01:21:43 dennas kernel: Call Trace: Nov 17 01:21:43 dennas kernel: flush_workqueue+0x13b/0x3f0 Nov 17 01:21:43 dennas kernel: i915_gem_userptr_mn_invalidate_range_start+0x148/0x160 [i915] Nov 17 01:21:43 dennas kernel: ? i915_gem_userptr_mn_invalidate_range_start+0x148/0x160 [i915] Nov 17 01:21:43 dennas kernel: __mmu_notifier_invalidate_range_start+0x55/0x80 Nov 17 01:21:43 dennas kernel: try_to_unmap_one+0x6fa/0x790 Nov 17 01:21:43 dennas kernel: rmap_walk_file+0xec/0x230 Nov 17 01:21:43 dennas kernel: rmap_walk+0x41/0x60 Nov 17 01:21:43 dennas kernel: try_to_unmap+0x91/0xf0 Nov 17 01:21:43 dennas kernel: ? page_remove_rmap+0x2a0/0x2a0 Nov 17 01:21:43 dennas kernel: ? page_not_mapped+0x20/0x20 Nov 17 01:21:43 dennas kernel: ? page_get_anon_vma+0xa0/0xa0 Nov 17 01:21:43 dennas kernel: migrate_pages+0x70d/0x9c0 Nov 17 01:21:43 dennas kernel: ? __ClearPageMovable+0x10/0x10 Nov 17 01:21:43 dennas kernel: ? isolate_freepages_block+0x3c0/0x3c0 Nov 17 01:21:43 dennas kernel: compact_zone+0x675/0x950 Nov 17 01:21:43 dennas kernel: compact_zone_order+0xa0/0xd0 Nov 17 01:21:43 dennas kernel: try_to_compact_pages+0xba/0x2b0 Nov 17 01:21:43 dennas kernel: ? try_to_compact_pages+0xba/0x2b0 Nov 17 01:21:43 dennas kernel: __alloc_pages_direct_compact+0x51/0xf0 Nov 17 01:21:43 dennas kernel: __alloc_pages_slowpath+0xae5/0xe10 Nov 17 01:21:43 dennas kernel: ? dequeue_task_fair+0x49f/0x640 Nov 17 01:21:43 dennas kernel: ? finish_task_switch+0x75/0x200 Nov 17 01:21:43 dennas kernel: ? get_page_from_freelist+0x349/0xb00 Nov 17 01:21:43 dennas kernel: ? del_timer_sync+0x39/0x40 Nov 17 01:21:43 dennas kernel: __alloc_pages_nodemask+0x237/0x250 Nov 17 01:21:43 dennas kernel: khugepaged+0x102a/0x1f70 Nov 17 01:21:43 dennas kernel: ? wait_woken+0x80/0x80 Nov 17 01:21:43 dennas kernel: kthread+0x125/0x140 Nov 17 01:21:43 dennas kernel: ? __collapse_huge_page_swapin+0x440/0x440 Nov 17 01:21:43 dennas kernel: ? kthread_create_on_node+0x70/0x70 Nov 17 01:21:43 dennas kernel: ret_from_fork+0x25/0x30 Nov 17 01:21:43 dennas kernel: Code: 00 8b b0 30 05 00 00 48 8d 8b b0 00 00 00 48 8d 90 d8 06 00 00 4d 89 e0 48 c7 c7 a0 70 93 9c c6 05 e5 fe a4 00 01 e8 7e 74 04 00 <0f> ff e9 6b ff ff ff 66 0f 1f 44 00 00 0f 1f 44 00 00 48 8b 37 Nov 17 01:21:43 dennas kernel: ---[ end trace e1a8cbe8e0f397a4 ]--- ``` When I grep it all ``` [root@dennas ~]# journalctl | grep WQ_MEM_RECLAIM Oct 25 03:27:03 dennas kernel: workqueue: PF_MEMALLOC task 42(khugepaged) is flushing !WQ_MEM_RECLAIM i915-userptr-release: (null) Nov 17 01:21:43 dennas kernel: workqueue: PF_MEMALLOC task 42(khugepaged) is flushing !WQ_MEM_RECLAIM i915-userptr-release: (null) ``` first one is the original, second one is new one. Was the fix supposed to be in 4.13.12? (In reply to wolf from comment #3) >... > Was the fix supposed to be in 4.13.12? It was merged on 4.15 oh, will report back if it shows even after update to 4.15 Closing, please re-open if still occurs. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.