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