Bug 156658 - [vm] [sysctl] sysctl vm.idlezero_enable=1 causes hangup.
Summary: [vm] [sysctl] sysctl vm.idlezero_enable=1 causes hangup.
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-26 09:30 UTC by KOIE Hidetaka
Modified: 2018-05-21 06:44 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description KOIE Hidetaka 2011-04-26 09:30:05 UTC
After sysctl vm.idlezero_enable=1,
many processes wait for [*vm page queue free mutex] and don't respond.

It seems that the vm_pagezero() thread loops in vm_phys_zero_pages_idle()
forever with mtx_lock(&vm_page_queue_free_mtx).

How-To-Repeat: sysctl vm.idlezero_enable=1
find / -type f -print | xargs grep -l hogehogehoge
Comment 1 stadtkind2 2015-06-17 15:18:21 UTC
Also happens on 10.1.

Just reproduced on a FreeBSD/amd64 VM with 256MB RAM. All commands hang as soon as you do a 'sysctl vm.idlezero_enable=1'
Comment 2 iron.udjin 2015-06-18 22:43:55 UTC
The same on 10.1-STABLE r284558M.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2018-05-20 23:52:56 UTC
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017

Do
- Set Status to "Open"
Comment 4 Andriy Gapon freebsd_committer freebsd_triage 2018-05-21 06:44:51 UTC
idlezero is no more.