login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
28
Re: request_firmware API exhaust memory
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Tomas Winkler
Subject:
Re: request_firmware API exhaust memory
Date: Wednesday, April 28, 2010 - 6:07 am
On Wed, Apr 28, 2010 at 11:23 AM, Kay Sievers <kay.sievers@vrfy.org> wrote:
quoted text
> On Tue, Apr 27, 2010 at 15:34, Kay Sievers <kay.sievers@vrfy.org> wrote: >> On Tue, Apr 27, 2010 at 14:43, David Woodhouse <dwmw2@infradead.org> wrote: >>> This untested patch attempts to put the page array into the 'struct >>> firmware' so that we can free it from release_firmware(). >> >> Looks good. Seems to work without problems and without leaking memory. >> >> Misses only the member in the struct firmware though. :) > > Thomas, any chance to test David's patch, if that solves the issues you've seen? > > Just add the missing line: > > --- a/include/linux/firmware.h > +++ b/include/linux/firmware.h > @@ -12,6 +12,7 @@ > struct firmware { > size_t size; > const u8 *data; > + struct page **pages; > }; > >
In progress. Will post results later today (timezone:GMT+2) Thanks Tomas --
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:
request_firmware API exhaust memory
, Tomas Winkler
, (Mon Apr 19, 5:20 am)
Re: request_firmware API exhaust memory
, Kay Sievers
, (Mon Apr 19, 5:35 am)
Re: request_firmware API exhaust memory
, Greg KH
, (Mon Apr 19, 7:59 am)
Re: request_firmware API exhaust memory
, Tomas Winkler
, (Wed Apr 21, 3:22 pm)
Re: request_firmware API exhaust memory
, Greg KH
, (Sun Apr 25, 9:37 am)
Re: request_firmware API exhaust memory
, Tomas Winkler
, (Sun Apr 25, 12:22 pm)
Re: request_firmware API exhaust memory
, Greg KH
, (Sun Apr 25, 12:36 pm)
Re: request_firmware API exhaust memory
, Tomas Winkler
, (Sun Apr 25, 1:09 pm)
Re: request_firmware API exhaust memory
, Kay Sievers
, (Mon Apr 26, 3:38 am)
Re: request_firmware API exhaust memory
, Kay Sievers
, (Mon Apr 26, 8:19 am)
Re: request_firmware API exhaust memory
, Tomas Winkler
, (Mon Apr 26, 9:59 am)
Re: request_firmware API exhaust memory
, Sujith Manoharan
, (Mon Apr 26, 9:12 pm)
Re: request_firmware API exhaust memory
, Tomas Winkler
, (Tue Apr 27, 4:18 am)
Re: request_firmware API exhaust memory
, Tomas Winkler
, (Tue Apr 27, 4:53 am)
Re: request_firmware API exhaust memory
, Kay Sievers
, (Tue Apr 27, 5:05 am)
Re: request_firmware API exhaust memory
, David Woodhouse
, (Tue Apr 27, 5:43 am)
Re: request_firmware API exhaust memory
, Kay Sievers
, (Tue Apr 27, 6:34 am)
Re: request_firmware API exhaust memory
, Kay Sievers
, (Wed Apr 28, 1:23 am)
Re: request_firmware API exhaust memory
, Tomas Winkler
, (Wed Apr 28, 6:07 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Greg Kroah-Hartman
[PATCH 09/36] driver core: register_memory/unregister_memory clean ups and bugfix
Pierre Ossman
Re: sdio: enhance IO_RW_EXTENDED support
Greg Kroah-Hartman
[PATCH 05/36] UIO: Remove needless PCI_DEVICE_ID definition from uio_cif.c
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Johannes Schindelin
Re: error: cannot lock ref 'refs/remotes/origin/*'
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Jonathan Nieder
Re: [PATCH v2] git-send-email.perl: fix In-Reply-To for second and subsequent patc...
linux-netdev
:
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
git-commits-head
:
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
KVM: VMX: Clear CR4.VMXE in hardware_disable
Linux Kernel Mailing List
imxfb: Fix margin settings
Linux Kernel Mailing List
USB: set correct configuration in probe of ti_usb_3410_5052
openbsd-misc
:
Stas Miasnikou
Re: Another question: device naming convention
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Community First Financial
Teacher A+ Loan
Jan Stary
Re: audio recording levels
Andrej Elizarov
Re: Web Browsers
Colocation donated by:
Syndicate