Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xbXHf1dbwzDq5b for ; Mon, 21 Aug 2017 21:57:34 +1000 (AEST) 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 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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