From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1164836AbdD1HoX (ORCPT ); Fri, 28 Apr 2017 03:44:23 -0400 Received: from lhrrgout.huawei.com ([194.213.3.17]:25396 "EHLO lhrrgout.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162076AbdD1HoJ (ORCPT ); Fri, 28 Apr 2017 03:44:09 -0400 Subject: Re: [PATCH 1/1] Remove hardcoding of ___GFP_xxx bitmasks To: Michal Hocko References: <20170426133549.22603-1-igor.stoppa@huawei.com> <20170426133549.22603-2-igor.stoppa@huawei.com> <20170426144750.GH12504@dhcp22.suse.cz> <20170427134158.GI4706@dhcp22.suse.cz> <20170428074028.GF8143@dhcp22.suse.cz> CC: , , From: Igor Stoppa Message-ID: <4b077316-b381-08d7-7797-1eaf65d01a02@huawei.com> Date: Fri, 28 Apr 2017 10:43:09 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170428074028.GF8143@dhcp22.suse.cz> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.122.225.51] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.5902F2C4.00CA,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 83ee8bf6e889adb052aeaa7585bbeedb Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/04/17 10:40, Michal Hocko wrote: > Do not add a new zone, really. What you seem to be looking for is an > allocator on top of the page/memblock allocator which does write > protection on top. I understand that you would like to avoid object > management duplication but I am not really sure how much you can re-use > what slab allocators do already, anyway. I will respond to the original > thread to not mix things together. I'm writing an alternative different proposal, let's call it last attempt. Should be ready in a few minutes. thanks, igor