Files
tegra-linux-noble/include/linux
David Woodhouse dd336c554d firmware_class: fix memory leak - free allocated pages
fix memory leak introduced by the patch 6e03a201bb:
firmware: speed up request_firmware()

1. vfree won't release pages there were allocated explicitly and mapped
using vmap. The memory has to be vunmap-ed and the pages needs
to be freed explicitly

2. page array is moved into the 'struct
firmware' so that we can free it from release_firmware()
and not only in fw_dev_release()

The fix doesn't break the firmware load speed.

Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Ming Lei <tom.leiming@gmail.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Singed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-21 09:37:28 -07:00
..
2010-05-17 22:39:48 -07:00
2010-05-03 08:33:00 -04:00
2010-04-23 14:43:45 -04:00
2010-03-12 15:53:10 -08:00
2010-05-14 17:08:01 -04:00
2010-05-19 13:38:54 -04:00
2010-04-25 08:54:42 +02:00
2010-03-12 15:52:32 -08:00
2010-05-10 16:08:01 -07:00
2010-03-16 08:55:32 +01:00
2010-03-07 22:17:09 +01:00
2010-03-02 12:23:42 +01:00
2010-04-01 01:31:13 -07:00
2010-05-03 11:50:57 +02:00
2010-03-12 15:52:36 -08:00
2010-03-12 15:52:40 -08:00
2010-05-11 14:40:55 +02:00
2010-05-03 11:50:57 +02:00
2010-04-23 02:08:44 +02:00
2010-03-12 15:53:10 -08:00
2010-05-14 15:09:32 -04:00
2010-04-03 14:56:05 -07:00
2010-03-12 15:53:10 -08:00
2010-02-19 03:35:12 -05:00
2010-03-12 15:52:38 -08:00
2010-03-12 15:52:28 -08:00
2010-04-08 13:37:18 +02:00
2010-05-11 14:40:55 +02:00
2010-04-13 14:49:34 -07:00
2010-04-02 14:30:39 -07:00
2010-05-10 23:08:19 +02:00
2010-03-12 15:53:11 -08:00
2010-03-05 00:20:31 +01:00
2010-05-03 15:53:54 -07:00
2010-03-12 15:52:44 -08:00
2010-03-02 14:28:49 -05:00
2010-05-11 10:09:47 +02:00
2010-03-12 15:53:10 -08:00
2010-05-06 10:56:07 +10:00
2010-03-12 15:52:43 -08:00
2010-03-12 15:52:44 -08:00
2010-05-17 17:18:50 -07:00
2010-04-03 15:09:04 -07:00
2010-05-10 11:08:35 -07:00
2010-03-12 15:52:36 -08:00
2010-05-15 23:28:39 -07:00
2010-02-18 15:43:09 -08:00
2010-04-13 12:43:42 +02:00
2010-03-23 17:19:38 +01:00
2010-05-12 23:02:23 -07:00
2010-03-12 10:03:42 +01:00