From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7089D27462 for ; Tue, 12 Aug 2025 08:14:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754986447; cv=none; b=AG2FxQUSlf8ws/xwI6vqcmd9+awjY+9CyiIo/ESO4Wbq+8jiT0ppL6BUlCoBucO/Ie0P4cFrBqG1gOLnVKLx/9rLCK5eTsWphIJCjebaJovR0BJD2B/yULYdceIQYMlZGNMBPIRqBr/vLpJsBP5e2PbrDhdtO4xy3NgFUnkzGBo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754986447; c=relaxed/simple; bh=9w5snlT7EHa/4e9Y0WWd/uyCPzVX8HqOUM0kPbfmXjw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PYiPjRfgO9Z5jZWS/KqjiBrVn+VPebDO24hKJZ/R7yh1C5zWr7a92OO622DkdCgMZyNCwo8DNGpSyUQIQUgbGR74+XLlNYX1bWYv/pMCzR8FjKuYfN/p/GAN0jYA8gM9hnIVWRljkH+q91MPrQvWa88HbJY9q2EJTmUiT8rvYO4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 8E7CE1F461; Tue, 12 Aug 2025 08:14:03 +0000 (UTC) Authentication-Results: smtp-out2.suse.de; none Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 534191351A; Tue, 12 Aug 2025 08:14:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id QtPcE8v3mmj4YQAAD6G6ig (envelope-from ); Tue, 12 Aug 2025 08:14:03 +0000 Date: Tue, 12 Aug 2025 10:13:58 +0200 From: David Sterba To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, virtualization@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, linux-btrfs@vger.kernel.org, jfs-discussion@lists.sourceforge.net, Andrew Morton , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Jerrin Shaji George , Arnd Bergmann , Greg Kroah-Hartman , "Michael S. Tsirkin" , Jason Wang , Xuan Zhuo , Eugenio =?iso-8859-1?Q?P=E9rez?= , Alexander Viro , Christian Brauner , Jan Kara , Benjamin LaHaise , Chris Mason , Josef Bacik , David Sterba , Muchun Song , Oscar Salvador , Dave Kleikamp , Zi Yan , Matthew Brost , Joshua Hahn , Rakie Kim , Byungchul Park , Gregory Price , Ying Huang , Alistair Popple , Minchan Kim , Sergey Senozhatsky Subject: Re: [PATCH v1 2/2] treewide: remove MIGRATEPAGE_SUCCESS Message-ID: <20250812081358.GA5507@suse.cz> Reply-To: dsterba@suse.cz References: <20250811143949.1117439-1-david@redhat.com> <20250811143949.1117439-3-david@redhat.com> Precedence: bulk X-Mailing-List: linux-btrfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250811143949.1117439-3-david@redhat.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spam-Level: X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spamd-Result: default: False [-4.00 / 50.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[] X-Rspamd-Queue-Id: 8E7CE1F461 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Action: no action X-Spam-Flag: NO X-Spam-Score: -4.00 On Mon, Aug 11, 2025 at 04:39:48PM +0200, David Hildenbrand wrote: > At this point MIGRATEPAGE_SUCCESS is misnamed for all folio users, > and now that we remove MIGRATEPAGE_UNMAP, it's really the only "success" > return value that the code uses and expects. > > Let's just get rid of MIGRATEPAGE_SUCCESS completely and just use "0" > for success. > > Signed-off-by: David Hildenbrand > --- > arch/powerpc/platforms/pseries/cmm.c | 2 +- > drivers/misc/vmw_balloon.c | 4 +-- > drivers/virtio/virtio_balloon.c | 2 +- > fs/aio.c | 2 +- For > fs/btrfs/inode.c | 4 +-- Acked-by: David Sterba