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 AA55CC77B70 for ; Fri, 7 Apr 2023 04:33:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229663AbjDGEdl (ORCPT ); Fri, 7 Apr 2023 00:33:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbjDGEdl (ORCPT ); Fri, 7 Apr 2023 00:33:41 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B49158A6D for ; Thu, 6 Apr 2023 21:33:39 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 28E3D67373; Fri, 7 Apr 2023 06:33:36 +0200 (CEST) Date: Fri, 7 Apr 2023 06:33:36 +0200 From: Christoph Hellwig To: Minchan Kim Cc: Christoph Hellwig , Sergey Senozhatsky , Andrew Morton , Jens Axboe , linux-block@vger.kernel.org Subject: Re: [PATCH 15/16] zram: fix synchronous reads Message-ID: <20230407043335.GA5674@lst.de> References: <20230406144102.149231-1-hch@lst.de> <20230406144102.149231-16-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, Apr 06, 2023 at 03:05:22PM -0700, Minchan Kim wrote: > > Signed-off-by: Christoph Hellwig > > Reviewed-by: Sergey Senozhatsky > Acked-by: Minchan Kim > > So this fixes zram_rw_page + CONFIG_ZRAM_WRITEBACK feature on > ppc some arch where PAGE_SIZE is not 4K. Well, zram_rw_page is gone. But either way I think CONFIG_ZRAM_WRITEBACK has been broken on > 4k PAGE_SIZE basically since the code was added. > IIRC, we didn't have any report since the writeback feature was > introduced. Then, we may skip having the fix into stable? If you want a stable fix I'd just disable CONFIG_ZRAM_WRITEBACK for non-4k PAGE_SIZEs there.