From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B95E3C43217 for ; Tue, 12 Apr 2022 09:31:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1391419AbiDLJ3c (ORCPT ); Tue, 12 Apr 2022 05:29:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1385079AbiDLImt (ORCPT ); Tue, 12 Apr 2022 04:42:49 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9547CDFF4 for ; Tue, 12 Apr 2022 01:11:05 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 29A1B1F858; Tue, 12 Apr 2022 08:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1649751064; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=u5TSVe5fo2KyE0q0UPG1XaNNuBM0ty79T1z9XJe9mPI=; b=V8PLSIE6sjW3VuE333624Ivhoj5zSU2DaUHQZ6+N/wgV6XA0U+L0ICiCUJLYsn6wEGn7f1 eAK7Q8nunsKhh2nUEiVXXmH7AprMgMi+NPf4QN61vXUrK3yDEHHNKboHWrPmNBm0TJPyWA 4pZ7HUOlMz3tSKQqjfzQqXJzQjyvlzc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1649751064; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=u5TSVe5fo2KyE0q0UPG1XaNNuBM0ty79T1z9XJe9mPI=; b=hhvsjsFUwG/Nv2DqtfWJoTwADXfEBkpjIcKhriB/7HI0iub80oU0smYDIjsjd0GkSQeytD b1vTwnzd8G+DWMCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 83BB313780; Tue, 12 Apr 2022 08:11:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id skEfHxc0VWIHDQAAMHmgww (envelope-from ); Tue, 12 Apr 2022 08:11:03 +0000 Message-ID: Date: Tue, 12 Apr 2022 10:11:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v3 05/16] mm/rmap: convert RMAP flags to a proper distinct rmap_t type Content-Language: en-US To: David Hildenbrand , linux-kernel@vger.kernel.org Cc: Andrew Morton , Hugh Dickins , Linus Torvalds , David Rientjes , Shakeel Butt , John Hubbard , Jason Gunthorpe , Mike Kravetz , Mike Rapoport , Yang Shi , "Kirill A . Shutemov" , Matthew Wilcox , Jann Horn , Michal Hocko , Nadav Amit , Rik van Riel , Roman Gushchin , Andrea Arcangeli , Peter Xu , Donald Dutile , Christoph Hellwig , Oleg Nesterov , Jan Kara , Liang Zhang , Pedro Gomes , Oded Gabbay , linux-mm@kvack.org References: <20220329160440.193848-1-david@redhat.com> <20220329160440.193848-6-david@redhat.com> From: Vlastimil Babka In-Reply-To: <20220329160440.193848-6-david@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/29/22 18:04, David Hildenbrand wrote: > We want to pass the flags to more than one anon rmap function, getting > rid of special "do_page_add_anon_rmap()". So let's pass around a distinct > __bitwise type and refine documentation. > > Signed-off-by: David Hildenbrand Acked-by: Vlastimil Babka