From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Xin Zhao" Subject: How to dump the page addresses of a kmem_cache object? Date: Mon, 5 Jun 2006 14:54:54 -0400 Message-ID: <4ae3c140606051154w4ec42f9fj19bb2cca0e55ff58@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from wr-out-0506.google.com ([64.233.184.225]:17085 "EHLO wr-out-0506.google.com") by vger.kernel.org with ESMTP id S1751289AbWFESyz (ORCPT ); Mon, 5 Jun 2006 14:54:55 -0400 Received: by wr-out-0506.google.com with SMTP id 69so1520555wri for ; Mon, 05 Jun 2006 11:54:54 -0700 (PDT) To: linux-kernel Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi, I allocated a kmem_cache object with function kmem_cache_create(). After I do kmem_cache_alloc(), several pages should be assigned to this kmem_cache object. My question is: how can I dump the addresses of the pages allocated to this cache? Can someone give me a rough idea or direct me to somewhere to find the solution? Thanks in advance for your help! Xin