login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
16
Re: [PATCH] sched domain sysctl: free kstrdup allocations
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Ingo Molnar <mingo@...>
To: Milton Miller <miltonm@...>
Cc: <linux-kernel@...>
Subject:
Re: [PATCH] sched domain sysctl: free kstrdup allocations
Date: Tuesday, October 16, 2007 - 4:44 am
* Milton Miller <miltonm@bga.com> wrote:
quoted text
> The procnames for the cpu and domain were allocated via kstrdup and so > should also be freed. The names for the files are static, but we can > differentiate them by the presence of the proc_handler. If a kstrdup > (of < 32 characters) fails the sysctl code will not see the procname > or remaining table entries, but any child tables and names will be > reclaimed upon free.
thanks, applied. Ingo -
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:
[PATCH] sched domain debug sysctl fixes
, Milton Miller
, (Fri Oct 12, 5:34 am)
Re: [PATCH] sched domain debug sysctl fixes
, Ingo Molnar
, (Mon Oct 15, 3:47 am)
[PATCH] sched domain sysctl: free kstrdup allocations
, Milton Miller
, (Mon Oct 15, 7:40 pm)
Re: [PATCH] sched domain sysctl: free kstrdup allocations
, Ingo Molnar
, (Tue Oct 16, 4:44 am)
[PATCH] sched domain debug sysctl fixes
, Milton Miller
, (Fri Oct 12, 5:54 am)
[PATCH] sched domain sysctl: register online cpus
, Milton Miller
, (Fri Oct 12, 5:35 am)
[PATCH] sched domain sysctl: sysctl tables can have no holes
, Milton Miller
, (Fri Oct 12, 5:35 am)
[PATCH] sched domain sysctl: don't bug on alloc failure
, Milton Miller
, (Fri Oct 12, 5:35 am)
[PATCH] sched.c: use kcalloc
, Milton Miller
, (Fri Oct 12, 5:35 am)
[PATCH] sched domain sysctl: free and rebuild when changing ...
, Milton Miller
, (Fri Oct 12, 5:35 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
-mm merge plans for 2.6.23
Chuck Ebbert
Why do so many machines need "noapic"?
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Greg Kroah-Hartman
[PATCH 023/196] MCP_UCB1200: Convert from class_device to device
git
:
linux-netdev
:
David Miller
Re: [BUG] New Kernel Bugs
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 31/37] dccp: Remove manual influence on NDP Count feature
Gregory Haskins
[RFC PATCH 00/17] virtual-bus
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
880 guests
online.
Online users
Nelson
K-Z
zeekec
fatlossqueen67
Syndicate