From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754213AbcGEBa2 (ORCPT ); Mon, 4 Jul 2016 21:30:28 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:34544 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752669AbcGEBa0 (ORCPT ); Mon, 4 Jul 2016 21:30:26 -0400 Date: Tue, 5 Jul 2016 10:30:30 +0900 From: Sergey Senozhatsky To: Ganesh Mahendran Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, minchan@kernel.org, ngupta@vflare.org, sergey.senozhatsky.work@gmail.com, rostedt@goodmis.org, mingo@redhat.com Subject: Re: [PATCH v2 4/8] mm/zsmalloc: use class->objs_per_zspage to get num of max objects Message-ID: <20160705013030.GE459@swordfish> References: <1467614999-4326-1-git-send-email-opensource.ganesh@gmail.com> <1467614999-4326-4-git-send-email-opensource.ganesh@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1467614999-4326-4-git-send-email-opensource.ganesh@gmail.com> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (07/04/16 14:49), Ganesh Mahendran wrote: > num of max objects in zspage is stored in each size_class now. > So there is no need to re-calculate it. > > Signed-off-by: Ganesh Mahendran > Acked-by: Minchan Kim Reviewed-by: Sergey Senozhatsky -ss