From: Jim Baxter Subject: Re: skbuff truesize incorrect. Date: Fri, 23 May 2014 10:21:19 +0100 Message-ID: <537F130F.6080901@mentor.com> References: <537E4AFD.20304@mentor.com> <20140522.152146.2116142050088142989.davem@davemloft.net> <537E5C63.7080607@mentor.com> <20140522.165833.414855217799383878.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: , , , , , , , To: David Miller Return-path: In-Reply-To: <20140522.165833.414855217799383878.davem@davemloft.net> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 22/05/14 21:58, David Miller wrote: > From: Jim Baxter > Date: Thu, 22 May 2014 21:21:55 +0100 > >> If there are multiple clones for an skb all pointing at the same data, >> will that distort the memory used when they all have the same truesize? > > What is distorted about it? > > Each clone references exactly that much backing memory. > Thank you for you help, I think distorted was the wrong word. I think I am confused what truesize is used for it looks like it is used to deallocate memory, is this correct?