login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
10
Re: on static kobjects and double frees...
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Arthur Jones
Subject:
Re: on static kobjects and double frees...
Date: Tuesday, June 10, 2008 - 9:58 am
Hi Greg, ... On Tue, Jun 10, 2008 at 09:42:41AM -0700, Greg KH wrote:
quoted text
> > [...] > > OK, I wondered about this, but I didn't see anything > > in Documentation/kobject.txt that said that kobjects > > can not be static. But now that I've fixed the double > > free bug, I'm seeing the warning you mentioned above... > > Hm, there is the following text in that file: > Because kobjects are dynamic, they must not be declared > statically or on the stack, but instead, always allocated > dynamically. Future versions of the kernel will contain a > run-time check for kobjects that are created statically and will > warn the developer of this improper usage.
Indeed, I see that now. Sorry for the noise, I should have read more carefully...
quoted text
> > I don't know how the current code came to be, so I > > can't speak to your issues below. But, with these > > pointers, I think I can get things cleaned up properly. > > Great, if you want me to review it, I'd be glad to do so.
Thanks! Arthur --
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:
on static kobjects and double frees...
, Arthur Jones
, (Tue Jun 10, 8:58 am)
Re: on static kobjects and double frees...
, Greg KH
, (Tue Jun 10, 9:23 am)
Re: on static kobjects and double frees...
, Arthur Jones
, (Tue Jun 10, 9:38 am)
Re: on static kobjects and double frees...
, Greg KH
, (Tue Jun 10, 9:42 am)
Re: on static kobjects and double frees...
, Arthur Jones
, (Tue Jun 10, 9:58 am)
Re: on static kobjects and double frees...
, Doug Thompson
, (Tue Jun 10, 2:14 pm)
Re: on static kobjects and double frees...
, Arthur Jones
, (Tue Jun 10, 2:39 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
Linus Torvalds
Linux 2.6.34-rc4
Mingming Cao
Re: [RFC 1/4] Large Blocksize support for Ext2/3/4
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Len Brown
Re: fatal: unable to create '.git/index': File exists
Adeodato
Bazaar's patience diff as GIT_EXTERNAL_DIFF
Denis Bueno
Git clone error
Johannes Schindelin
Re: [PATCH 2/4] Add functions get_relative_cwd() and is_inside_dir()
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
V4L/DVB: gspca - sonixj: Adjust minor values of sensor ov7630. - set the color ga...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Sam Fourman Jr.
Re: Help with Altell PC6700
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
linux-netdev
:
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Colocation donated by:
Syndicate