From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vlastimil Babka Subject: Re: [PATCH v2 0/4] enhance shmem process and swap accounting Date: Thu, 14 May 2015 13:16:06 +0200 Message-ID: <555483F6.3080607@suse.cz> References: <1427474441-17708-1-git-send-email-vbabka@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1427474441-17708-1-git-send-email-vbabka-AlSwsSmVLrQ@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Jerome Marchand Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Andrew Morton , linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Hugh Dickins , Michal Hocko , "Kirill A. Shutemov" , Cyrill Gorcunov , Randy Dunlap , linux-s390-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Martin Schwidefsky , Heiko Carstens , Peter Zijlstra , Paul Mackerras , Arnaldo Carvalho de Melo , Oleg Nesterov , Linux API , Konstantin Khlebnikov List-Id: linux-api@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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by kanga.kvack.org (Postfix) with ESMTP id 47DF36B0038 for ; Thu, 14 May 2015 07:16:11 -0400 (EDT) Received: by wguv19 with SMTP id v19so9589248wgu.1 for ; Thu, 14 May 2015 04:16:10 -0700 (PDT) Received: from mx2.suse.de (cantor2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id co6si4618044wib.43.2015.05.14.04.16.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 May 2015 04:16:09 -0700 (PDT) Message-ID: <555483F6.3080607@suse.cz> Date: Thu, 14 May 2015 13:16:06 +0200 From: Vlastimil Babka MIME-Version: 1.0 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: owner-linux-mm@kvack.org List-ID: 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 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org 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