From mboxrd@z Thu Jan 1 00:00:00 1970 From: b32955@freescale.com (Huang Shijie) Date: Mon, 13 Aug 2012 10:21:15 +0800 Subject: [PATCH v4] mtd: gpmi: add NAND write verify support In-Reply-To: <201208122114.46901.marex@denx.de> References: <1344737275-18342-1-git-send-email-shijie8@gmail.com> <201208111610.45107.marex@denx.de> <201208122114.46901.marex@denx.de> Message-ID: <5028649B.10109@freescale.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org ? 2012?08?13? 03:14, Marek Vasut ??: > Don't forget the malloc header and padding around malloc()'d space. So you're > behind the 2 * PAGESIZE anyway. If we use the kzalloc(). There is no malloc header and padding. We get the memory by the __get_free_pages(). So we do _NOT_ behind the 2*PAGE. We use exactly the 2*PAGE. thanks Huang Shijie