From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751406AbdFAGuB (ORCPT ); Thu, 1 Jun 2017 02:50:01 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:36395 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751053AbdFAGuA (ORCPT ); Thu, 1 Jun 2017 02:50:00 -0400 Date: Thu, 1 Jun 2017 08:49:54 +0200 From: Heiko Carstens To: Michal Hocko Cc: Gerald Schaefer , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [-next] memory hotplug regression References: <20170524082022.GC5427@osiris> <20170524083956.GC14733@dhcp22.suse.cz> <20170526122509.GB14849@osiris> <20170530121806.GD7969@dhcp22.suse.cz> <20170530123724.GC4874@osiris> <20170530143246.GJ7969@dhcp22.suse.cz> <20170530145501.GD4874@osiris> <20170531062439.GA3853@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170531062439.GA3853@dhcp22.suse.cz> User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 17060106-0040-0000-0000-000003BE950B X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17060106-0041-0000-0000-00002052DD93 Message-Id: <20170601064954.GB7593@osiris> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-06-01_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706010126 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 31, 2017 at 08:24:40AM +0200, Michal Hocko wrote: > > # cat /sys/devices/system/memory/memory16/valid_zones > > Normal Movable > > # echo online_movable > /sys/devices/system/memory/memory16/state > > # cat /sys/devices/system/memory/memory16/valid_zones > > Movable > > # cat /sys/devices/system/memory/memory18/valid_zones > > Movable > > # echo online > /sys/devices/system/memory/memory18/state > > # cat /sys/devices/system/memory/memory18/valid_zones > > Normal <--- should be Movable > > # cat /sys/devices/system/memory/memory17/valid_zones > > <--- no output > > OK, so this is an independent problem and an unrelated one to the > patch I've posted. We need two patches actually. Damn, I hate > MMOP_ONLINE_KEEP. I will send 2 patches as a reply to this email. Tested with your patches on top of linux-next as of yesterday, however starting at commit fa812e869a6fe7495a17150bb2639075081ef709 ("mm/zswap.c: delete an error message for a failed memory allocation in zswap_dstmem_prepare()"), since the "mm: per-lruvec slab stats" patch series breaks everything ;) Tested-by: Heiko Carstens