Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753450AbdHUL5h (ORCPT ); Mon, 21 Aug 2017 07:57:37 -0400 Received: from ozlabs.org ([103.22.144.67]:58469 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751814AbdHUL5f (ORCPT ); Mon, 21 Aug 2017 07:57:35 -0400 Date: Mon, 21 Aug 2017 21:57:31 +1000 From: Stephen Rothwell To: Michal Hocko Cc: Abdul Haleem , Andrew Morton , linuxppc-dev , linux-kernel , linux-next , sachinp , Joonsoo Kim Subject: Re: [linux-next][bisected c64e09ce] sysctl command hung indefinitely Message-ID: <20170821215731.3b32d942@canb.auug.org.au> In-Reply-To: <20170821075001.GA24530@dhcp22.suse.cz> References: <1503137971.28497.19.camel@abdul> <20170821075001.GA24530@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 25 Hi Michal, On Mon, 21 Aug 2017 09:50:01 +0200 Michal Hocko wrote: > > commit 69885605ee3ba681deb54021e3df645f46589ba1 > Author: Michal Hocko > Date: Mon Aug 21 09:46:04 2017 +0200 > > mmotm: mm-page_alloc-rip-out-zonelist_order_zone-fix > > Abdul has noticed that reading sysctl vm.numa_zonelist_order > read will never terminate. This is because of > http://lkml.kernel.org/r/20170714080006.7250-2-mhocko@kernel.org > where the reading side doesn't update ppos and so the reader will > never get 0. Return back to proc_dostring which does all the necessary > stuff. > > Reported-by: Abdul Haleem > Signed-off-by: Michal Hocko I have added that to linux-next for tomorrow. -- Cheers, Stephen Rothwell