From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753051AbbENLQO (ORCPT ); Thu, 14 May 2015 07:16:14 -0400 Received: from cantor2.suse.de ([195.135.220.15]:42724 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751536AbbENLQK (ORCPT ); Thu, 14 May 2015 07:16:10 -0400 Message-ID: <555483F6.3080607@suse.cz> Date: Thu, 14 May 2015 13:16:06 +0200 From: Vlastimil Babka User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: linux-mm@kvack.org, Jerome Marchand CC: linux-kernel@vger.kernel.org, Andrew Morton , linux-doc@vger.kernel.org, Hugh Dickins , Michal Hocko , "Kirill A. Shutemov" , Cyrill Gorcunov , Randy Dunlap , linux-s390@vger.kernel.org, Martin Schwidefsky , Heiko Carstens , Peter Zijlstra , Paul Mackerras , Arnaldo Carvalho de Melo , Oleg Nesterov , Linux API , Konstantin Khlebnikov Subject: Re: [PATCH v2 0/4] enhance shmem process and swap accounting References: <1427474441-17708-1-git-send-email-vbabka@suse.cz> In-Reply-To: <1427474441-17708-1-git-send-email-vbabka@suse.cz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/27/2015 05:40 PM, Vlastimil Babka wrote: > Changes since v1: > o In Patch 2, rely on SHMEM_I(inode)->swapped if possible, and fallback to > radix tree iterator on partially mapped shmem objects, i.e. decouple shmem > swap usage determination from the page walk, for performance reasons. > Thanks to Jerome and Konstantin for the tips. > The downside is that mm/shmem.c had to be touched. > Ping? I've got only a minor suggestion from Konstantin and no more feedback. Hugh? Thanks, Vlastimil