From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Subject: Re: [PATCH 2/4] mm: Add arch hooks for saving/restoring tags Date: Wed, 22 Apr 2020 11:08:10 -0700 Message-ID: References: <20200422142530.32619-1-steven.price@arm.com> <20200422142530.32619-3-steven.price@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mga02.intel.com ([134.134.136.20]:31197 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726232AbgDVSIM (ORCPT ); Wed, 22 Apr 2020 14:08:12 -0400 In-Reply-To: <20200422142530.32619-3-steven.price@arm.com> Content-Language: en-US Sender: linux-arch-owner@vger.kernel.org List-ID: To: Steven Price , linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org Cc: linux-arch@vger.kernel.org, Andrew Morton , Arnd Bergmann , Catalin Marinas , Hugh Dickins , Vincenzo Frascino , Will Deacon On 4/22/20 7:25 AM, Steven Price wrote: > Three new hooks are added to the swap code: > * arch_prepare_to_swap() and > * arch_swap_invalidate_page() / arch_swap_invalidate_area(). > One new hook is added to shmem: > * arch_swap_restore_tags() How do the tags get restored outside of the shmem path? I was expecting to see more arch_swap_restore_tags() sites.