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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Howells
Date: Thursday, May 29, 2008 - 6: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, 1:03 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka Enberg, (Wed May 28, 1:25 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Christoph Lameter, (Wed May 28, 1:25 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Christoph Lameter, (Wed May 28, 1:29 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, David Howells, (Thu May 29, 6:08 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka J Enberg, (Thu May 29, 6:21 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Christoph Lameter, (Thu May 29, 8:00 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Thu May 29, 2:12 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka Enberg, (Sun Jun 1, 12:58 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka J Enberg, (Sun Jun 1, 1:22 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Sun Jun 1, 1:22 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Sun Jun 1, 1:24 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka J Enberg, (Sun Jun 1, 1:36 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka J Enberg, (Sun Jun 1, 2:13 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Sun Jun 1, 3:24 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka Enberg, (Sun Jun 1, 3:29 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Sun Jun 1, 4:21 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka J Enberg, (Sun Jun 1, 4:30 am)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Sun Jun 1, 10:59 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka Enberg, (Sun Jun 1, 11:32 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Sun Jun 1, 11:50 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Pekka Enberg, (Sun Jun 1, 11:58 pm)
Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB, Paul Mundt, (Mon Jun 2, 12:01 am)