From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22B1EC4360F for ; Thu, 21 Feb 2019 15:00:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EBD632081B for ; Thu, 21 Feb 2019 15:00:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728167AbfBUPAI (ORCPT ); Thu, 21 Feb 2019 10:00:08 -0500 Received: from relay.sw.ru ([185.231.240.75]:60372 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725920AbfBUPAH (ORCPT ); Thu, 21 Feb 2019 10:00:07 -0500 Received: from [172.16.25.12] by relay.sw.ru with esmtp (Exim 4.91) (envelope-from ) id 1gwppE-0000jv-V3; Thu, 21 Feb 2019 17:59:49 +0300 Subject: Re: [PATCH 4.19 23/30] x86_64: increase stack size for KASAN_EXTRA To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org, Qian Cai , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Alexander Potapenko , Dmitry Vyukov , Andrew Morton , Linus Torvalds References: <20190221125250.543158526@linuxfoundation.org> <20190221125251.864751477@linuxfoundation.org> From: Andrey Ryabinin Message-ID: <953de00c-82df-3ac2-8dd7-a023c511cbb9@virtuozzo.com> Date: Thu, 21 Feb 2019 18:00:06 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190221125251.864751477@linuxfoundation.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/21/19 5:36 PM, Greg Kroah-Hartman wrote: > 4.19-stable review patch. If anyone has any objections, please let me know. > Drop it please. It increases kernel stack up to 4-order which is above PAGE_ALLOC_COSTLY_ORDER. This changes behavior of the fork() by making it fail with -ENOMEM due of high memory fragmentation. The patch that removes KASAN_EXTRA (not in Linus's tree yet) would be a better fix for the problem.