[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1LSFhF-0002OC-00.arvidjaar-mail-ru@mx5.mail.ru>
Date: Wed, 28 Jan 2009 22:03:25 +0300
From: Andrey Borzenkov <arvidjaar@...l.ru>
To: Ira Snyder <iws@...o.caltech.edu>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] firmware: speed up request_firmware()
Ira Snyder wrote:
>
> Without this patch, loading a 12MB firmware image (FPGA bitfiles) called
> vmalloc() approximately 3000 times. With the patch, vmalloc() is only
> called 13 times, however, some memory is wasted until firmware_release()
> is called. Usually, this happens very quickly, so it shouldn't be a
> problem.
>
Some drivers cache firmware in memory. Doubing the amount of needed memory
definitely would not be the best idea. Check drivers/net/wireless for
examples.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists