Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Lameter <clameter@...>
Cc: <dhowells@...>, Pekka Enberg <penberg@...>, Paul Mundt <lethal@...>, LKML <linux-kernel@...>, <cooloney@...>, <akpm@...>, <mpm@...>
Date: Thursday, May 29, 2008 - 9:08 am

Christoph Lameter <clameter@sgi.com> wrote:


ELF-FDPIC is currently using kobjsize() so that it can expand the heap/stack
segment to fill up the entirety of its allocation.  It's probably worth
dropping that, though.

NOMMU mmap() is using kobjsize()/ksize() to keep track of the number of bytes
allocated and the amount of dead space.  We can probably ditch that too.

However, fs/proc/task_nommu.c uses kobjsize() quite a bit to determine how
much metadata space a process is carrying around.  We could just use sizeof(),
I suppose, and not bother calculating the slack.

David
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka Enberg, (Wed May 28, 4:03 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Christoph Lameter, (Wed May 28, 4:25 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka Enberg, (Wed May 28, 4:25 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Christoph Lameter, (Wed May 28, 4:29 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, David Howells, (Thu May 29, 9:08 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Christoph Lameter, (Thu May 29, 11:00 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka J Enberg, (Thu May 29, 9:21 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Thu May 29, 5:12 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka Enberg, (Sun Jun 1, 3:58 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Sun Jun 1, 4:22 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka J Enberg, (Sun Jun 1, 4:22 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Sun Jun 1, 4:24 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka J Enberg, (Sun Jun 1, 5:13 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Sun Jun 1, 6:24 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka Enberg, (Sun Jun 1, 6:29 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Sun Jun 1, 7:21 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka J Enberg, (Sun Jun 1, 7:30 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Mon Jun 2, 1:59 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka Enberg, (Mon Jun 2, 2:32 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Mon Jun 2, 2:50 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka Enberg, (Mon Jun 2, 2:58 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Mon Jun 2, 3:01 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka J Enberg, (Sun Jun 1, 4:36 am)