Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751076AbdHSKTz (ORCPT ); Sat, 19 Aug 2017 06:19:55 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:48446 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751217AbdHSKTx (ORCPT ); Sat, 19 Aug 2017 06:19:53 -0400 Subject: [linux-next][bisected c64e09ce] sysctl command hung indefinitely From: Abdul Haleem To: Michal Hocko , linuxppc-dev Cc: linux-kernel , linux-next , Stephen Rothwell , sachinp , Andrew Morton , Joonsoo Kim Date: Sat, 19 Aug 2017 15:49:31 +0530 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable x-cbid: 17081910-0040-0000-0000-000003509CDA X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17081910-0041-0000-0000-00000CCE661E Message-Id: <1503137971.28497.19.camel@abdul> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-08-19_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=2 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1708190134 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2080 Lines: 83 Hi Michal, 'sysctl -a' command never completes on my PowerPC machine with latest next kernel (As of next-20170811) Machine Type : Power8 bare-metal Kernel version : 4.13.0-rc4-next-20170817 gcc version : 4.8.5 command output -------------- $ sysctl -a [... vm.hugetlb_shm_group = 0 vm.laptop_mode = 0 vm.legacy_va_layout = 0 vm.lowmem_reserve_ratio = 256 256 32 vm.max_map_count = 65530 vm.min_free_kbytes = 6637 vm.min_slab_ratio = 5 vm.min_unmapped_ratio = 1 vm.mmap_min_addr = 4096 vm.mmap_rnd_bits = 14 vm.mmap_rnd_compat_bits = 7 vm.nr_hugepages = 0 vm.nr_hugepages_mempolicy = 0 vm.nr_overcommit_hugepages = 0 vm.nr_pdflush_threads = 0 vm.numa_zonelist_order = Node vm.numa_zonelist_order = e vm.numa_zonelist_order = ode vm.numa_zonelist_order = vm.numa_zonelist_order = de vm.numa_zonelist_order = Node vm.numa_zonelist_order = e vm.numa_zonelist_order = ode vm.numa_zonelist_order = vm.numa_zonelist_order = de vm.numa_zonelist_order = Node vm.numa_zonelist_order = e vm.numa_zonelist_order = ode vm.numa_zonelist_order = vm.numa_zonelist_order = de vm.numa_zonelist_order = Node vm.numa_zonelist_order = e vm.numa_zonelist_order = ode ....] The last string 'vm.numa_zonelist_order = ' keeps flooding the stdout and command never exit. A bisection resulted commit c64e09ce mm, page_alloc: rip out ZONELIST_ORDER_ZONE Command exits cleanly when the above commit is reverted. from the commit I see some changes to kernel/sysctl.c diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 6648fbb..0d51ec1 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -1574,8 +1574,6 @@ static int sysrq_sysctl_handler(struct ctl_table *table, int write, #ifdef CONFIG_NUMA { .procname = "numa_zonelist_order", - .data = &numa_zonelist_order, - .maxlen = NUMA_ZONELIST_ORDER_LEN, .mode = 0644, .proc_handler = numa_zonelist_order_handler, }, does the above change has caused the noise ? -- Regard's Abdul Haleem IBM Linux Technology Centre