Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752565AbdFURxh (ORCPT ); Wed, 21 Jun 2017 13:53:37 -0400 Received: from mail-he1eur01on0093.outbound.protection.outlook.com ([104.47.0.93]:58832 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752450AbdFURxd (ORCPT ); Wed, 21 Jun 2017 13:53:33 -0400 Authentication-Results: virtuozzo.com; dkim=none (message not signed) header.d=none;virtuozzo.com; dmarc=none action=none header.from=virtuozzo.com; Subject: Re: [criu] 1M guard page ruined restore To: Oleg Nesterov Cc: Cyrill Gorcunov , Hugh Dickins , Andrey Vagin , LKML , Pavel Emelyanov , Andrew Morton , Adrian Reber , Michael Kerrisk References: <20170620075206.GB1909@uranus.lan> <20170621152256.GC31050@uranus> <20170621155730.GA32554@redhat.com> <20170621160410.GF31050@uranus> <20170621170129.GA32752@redhat.com> <2551ee70-a4b6-4f38-7d3a-4eb2cddc96a5@virtuozzo.com> <20170621173115.GA28723@redhat.com> From: Dmitry Safonov Message-ID: <8ff61433-f154-6c9e-91b2-1857b5eff90c@virtuozzo.com> Date: Wed, 21 Jun 2017 20:52:59 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <20170621173115.GA28723@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: HK2PR0401CA0017.apcprd04.prod.outlook.com (2603:1096:202:2::27) To HE1PR0801MB1739.eurprd08.prod.outlook.com (2603:10a6:3:87::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e4dfff1b-e7ec-4a7b-f1b9-08d4b8ce6a65 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:HE1PR0801MB1739; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB1739;3:QIZhxsFXH9wL8kt5O8nBfaD0GK7BTXrqcRMXpNTfaIqj0FbrnbSJcd2Za+bs2HrJHfSUCURTMdKpgdD9FPau968K0fNMMCpCECncREdbJ1Q6wIrwNyZ8Qve+DIjDjGNxuar+kz4Qnf3n9hHDlE8xFGtaIih4syftmLmmnX9ufxuq4UYqGYMaIx5kO6ERXGyzPQ8TK0j3qfY008StJU83KuZNMQmL2OKn/fXglg4VLKaqzBzWEgUD67NstI7obsw+bjtnqzqrXXXCOOyKzkB2hJge5VY1dAztXISM8AKJdOIDIY+u6mqsDL+6AO5CPPdrUmkPtzZrDOw2pi5V/AFLNQ==;25:eujwfN7Mm3IPCxXtfdoj8A+Yg1P4qnaBwFSVybdRtSkIlGhARImhU4lJOCn/l8KFZTMgcC6Hh5VzPM6i9CggIjrKAH/W4RqzuXw9F9k4I425YKzYER7gdXPniJhvWiiEpbDi/F218iCqH9N3Kh8y3Mc+xUF8wZs+ryG+ujPzLhjIiEFeVP6kWavhnWjYxfgXKJwCFKpIOVaxZPaV6QiRbQIEEhVIjsxHavzNFI75upCn6jtcxItL8Rl9PNvRAz36a1dR7rVjAM8gJl39IBsEFtC/tvaQk4yXgz/ROkIm9t2ntViq/t1cxoNCypCUul7gktypbQqYnhQW7t64rcAxlu9UqFvh8LLPWfICrKbwpk3rYqCpBXTk6RklFr6DmrMgUWTa6GLMSnLaxunlBDWyk0nLD8qmoqO63ODUY3UZ6g8TMaOeEnPqveFxyUKJ1coFt42lMWdW4jwWEdUyy69dK+CL356ggr0FLJHNJTfBYnA= X-MS-TrafficTypeDiagnostic: HE1PR0801MB1739: X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB1739;31:agVoLo05tip4yniJdiGkI077zJD97MKF4HeFTfXFf3gPJz33h0v7lpcjK5dYv49882j7Tl6lqD69+pOmJD9D6KYDZbi05+F4JBzuHRzrgVGzJn5f7Gs/vg4rfEaZScJaq+21Ttyo+sfVlM4WoxRjTa2YgDBVL84p03oCu3nSAvkUUAb19D+lLm7/tU67Nbn1FG7LIeBOVrDLXOmwh6U0hmEKyVQhNoKkqNhnZ4pstqI=;20:CoLex5fcI3TpmQv45+5gWF6nteIW6qGo6t6REDAJak0g5eAKlSjmYjQ2rQ9PwS8EUDJsFFW8oGX8kZUzpu0mcI+6RDe4+RJ8YWTsl5FpriSkOIcD0pGqZPiTwIfVxfXLufbLzYUvSVOSp3IMEaSHQ8ldWCJS2Y9LjPVjXE3CD/G1D+F9OOi8iNl24f9z4bPwCSZaZZtJzmPRhUYIjWbgHL4r/lzRVsCcpjJncv0XaU36hylbbOFvPsu9qMJRv36TpQ+ETH2WmmWt+rA2GD9DBm5Bvmu60UacNGcQTYwTZEGhwSmaJOxPFCyyFo79koQ3FAJvfdzm/zZoXjrUkEii2E3B/VFJePVXMNn7ZlWWszYYslrpTD0GHWAFWrTDTEaVDWyWtqs+BTEDuC9BIO6JJKX/ZGTi+3mwnbZ5v0JAQX4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6041248)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:HE1PR0801MB1739;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:HE1PR0801MB1739; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtIRTFQUjA4MDFNQjE3Mzk7NDowM0YzWkdJYms4YzM2eVplYzltUEFiMEdU?= =?utf-8?B?UVk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NEV6VFl3UjB4Z2RYSFVNOHZNMGdBV2hyVVZjOXpOUE1iYnV1YjN6TEs0eFR5?= =?utf-8?B?aWhHNmxiSWowRmhHQ0lGempDbUdBWG1sejdYNHYvb2FnNHJ3Z2xtUk9uNHJ4?= =?utf-8?B?VE1nc3NVWHI4Q0pUTTFjZ0ZrM21LRlZQM0N1UUg4OXkvYWl6R2ZFZ21JV2dU?= =?utf-8?B?VVFSQ0tER3Myckl3S1Q4RTExZ3FKVWU2ZHZSNUtUNkZCYkR6aEovdk90QzdW?= =?utf-8?B?TWcwSlNxUEU5Sk0vWVdGc3Z1UHBhenBiSkpUMnF4M2dJNlBzK011UTNqbktX?= =?utf-8?B?QTllc3FBdE84QmlTeUNKeUcvOEhKeUFPL01Sd2p3Q2toaklvUi9pV2NaRm5o?= =?utf-8?B?TXplZ2NaZkxzVUJCckNhSzM1ZkVKcFNja0F1UjdzV1o5a0pOamdOL1lRZ1ly?= =?utf-8?B?eWZSUXZiU1l2K0tnbmQ3VTBxYTFHcll2bUlMNVF3c3NkeU9hOHRSOUdXMFNJ?= =?utf-8?B?bDQydnFjNnN3V2o0b1RNZEhOZjhrZ1hta083dlRaWVJYTjk4WEQ3eDQrVDk3?= =?utf-8?Q?GFVmw9983k9gAvA6YMCkm6mtLmbmD7k+zAj0LcQBOFNtqzu?= X-Forefront-PRVS: 0345CFD558 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(6049001)(39400400002)(39410400002)(39840400002)(39450400003)(377454003)(24454002)(4001350100001)(6116002)(110136004)(38730400002)(66066001)(50466002)(47776003)(3846002)(6246003)(2906002)(65806001)(53546010)(50986999)(4326008)(189998001)(33646002)(77096006)(6486002)(76176999)(54356999)(25786009)(31686004)(23676002)(83506001)(305945005)(5660300001)(86362001)(230700001)(31696002)(81166006)(7736002)(478600001)(42186005)(8676002)(229853002)(36756003)(53936002)(54906002)(93886004)(6916009)(2950100002)(6666003);DIR:OUT;SFP:1102;SCL:1;SR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+IX/2Pr3XCV0B/OU0neCWMer+q5RTRs= X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB1739;20:5biMYM5m46b9HlB52H/NouUMRmevx5FYtVKVr75Rkqho8lpkE2zxBU+FzTGDpcYt8cnSsT4z6/UY548HdRmE0PeeLsUzFMoINRqaCvYgEh7UaHwtg5U0r0q/ffvawTNqQjBYxhRO8ZgWrV5tEMco+V/JC10jmaveJKIDeLEV+Hk= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2017 17:53:18.6890 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1739 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1251 Lines: 32 On 06/21/2017 08:31 PM, Oleg Nesterov wrote: > On 06/21, Dmitry Safonov wrote: >> >> The only question I have - how is it connected to guard page? > > Because with stack guard page do_page_fault() almost never needs to > call expand_stack(), thus this check was almost never tested, I guess. > Probably it should go away now. > > I'll write the changelog and patch tomorrow, unless someone does this > before. Ugh, maybe it's also worth now to update man 2 mmap. At this moment, mmap() will no more return address one page lower and "guard" is no more a page: > MAP_GROWSDOWN > This flag is used for stacks. It indicates to the kernel virtual > memory system that the mapping should extend downward in > memory. The return address is one page lower than the memory > area that is actually created in the process's virtual address > space. Touching an address in the "guard" page below the mapping > will cause the mapping to grow by a page. This growth can be > repeated until the mapping grows to within a page of the high end > of the next lower mapping, at which point touching the "guard" > page will result in a SIGSEGV signal. CC'ing Michael -- Dmitry