From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753054AbYLAOxU (ORCPT ); Mon, 1 Dec 2008 09:53:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751322AbYLAOxM (ORCPT ); Mon, 1 Dec 2008 09:53:12 -0500 Received: from mx2.redhat.com ([66.187.237.31]:36370 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750898AbYLAOxM (ORCPT ); Mon, 1 Dec 2008 09:53:12 -0500 Message-ID: <4933FA32.3040004@redhat.com> Date: Mon, 01 Dec 2008 09:52:34 -0500 From: Rik van Riel Organization: Red Hat, Inc User-Agent: Thunderbird 2.0.0.17 (X11/20080915) MIME-Version: 1.0 To: KOSAKI Motohiro CC: LKML , linux-mm , Andrew Morton , Balbir Singh , KAMEZAWA Hiroyuki Subject: Re: [PATCH 05/11] memcg: add null check to page_cgroup_zoneinfo() References: <20081201205810.1CCA.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20081201211424.1CD9.KOSAKI.MOTOHIRO@jp.fujitsu.com> In-Reply-To: <20081201211424.1CD9.KOSAKI.MOTOHIRO@jp.fujitsu.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org KOSAKI Motohiro wrote: > if CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y, page_cgroup::mem_cgroup can be NULL. > Therefore null checking is better. > > latter patch use this function. > > > Signed-off-by: KOSAKI Motohiro Acked-by: Rik van Riel -- All rights reversed.