Thread (8 messages) 8 messages, 3 authors, 2012-05-24

Re: [PATCH v2] slab+slob: dup name string

From: Christoph Lameter <hidden>
Date: 2012-05-22 17:18:34
Also in: linux-mm, lkml

On Tue, 22 May 2012, Glauber Costa wrote:
On 05/22/2012 05:58 PM, Christoph Lameter wrote:
quoted
On Tue, 22 May 2012, Glauber Costa wrote:
quoted
[ v2: Also dup string for early caches, requested by David Rientjes ]
kstrdups that early could cause additional issues. Its better to leave
things as they were.
For me is really all the same. But note that before those kstrdups, we do a
bunch of kmallocs as well already. (ex:
We check carefully and make sure those caches are present before doing
these kmallocs. See the slab bootup code. A kstrdup may take a variously
sized string and explode because the required kmalloc cache is not
present.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help