login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
21
Re: [RFC/PATCH 3/3] SLOB: make ksize() more strict for page allocator pass-through
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Christoph Lameter <clameter@...>
To: Pekka Enberg <penberg@...>
Cc: Matt Mackall <mpm@...>, <linux-kernel@...>, <lethal@...>, <dhowells@...>
Subject:
Re: [RFC/PATCH 3/3] SLOB: make ksize() more strict for page allocator pass-through
Date: Wednesday, May 21, 2008 - 5:12 pm
On Wed, 21 May 2008, Pekka Enberg wrote:
quoted text
> Matt Mackall wrote: > > We already know users (ie nommu memory usage reporting) are abusing this > > interface. Making them blow up is unnecessary. Just give them wrong > > answers. Issuing a warning might be a good idea for debugging. > > But kobjsize() never calls ksize() with SLOB as it doesn't set PageSlab. Or > are you talking about something else here? > > Matt Mackall wrote: > > Second, I'd prefer to keep this sort of debugging code out of SLOB. > > SLUB is much better suited to debugging allocator abuse. > > Fair enough. I'll drop the patch.
I also would prefer to keep this out of SLUB. Set/Clear PageSlab dirties the cacheline and it forces the unlining of kmalloc_large. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC/PATCH 3/3] SLOB: make ksize() more strict for page allo...
, Pekka J Enberg
, (Wed May 21, 2:26 pm)
Re: [RFC/PATCH 3/3] SLOB: make ksize() more strict for page ...
, Matt Mackall
, (Wed May 21, 3:07 pm)
Re: [RFC/PATCH 3/3] SLOB: make ksize() more strict for page ...
, Pekka Enberg
, (Wed May 21, 3:11 pm)
Re: [RFC/PATCH 3/3] SLOB: make ksize() more strict for page ...
, Christoph Lameter
, (Wed May 21, 5:12 pm)
Re: [RFC/PATCH 3/3] SLOB: make ksize() more strict for page ...
, Pekka Enberg
, (Wed May 21, 5:13 pm)
Re: [RFC/PATCH 3/3] SLOB: make ksize() more strict for page ...
, Christoph Lameter
, (Wed May 21, 5:16 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Miller
Re: Slow DOWN, please!!!
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jan Engelhardt
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
972 guests
online.
Online users
bambooflo
Syndicate